Opened 14 years ago
Closed 14 years ago
#26268 closed enhancement (fixed)
boost-1.44.0 Should use ccache/distcc
Reported by: | grddev@… | Owned by: | adfernandes (Andrew Fernandes) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | boost |
Description
portconfigure.tcl
sets CXX
to ${filter}${configure.cxx}
, where ${filter}
specifies a command prefix for ccache/distcc. In the boost port, which doesn't use the standard configure, only ${configure.cxx}
is used as the compiler (${filter}
doesn't seem to be accessible outside portconfigure.tcl
), and thus ccache/distcc is not used.
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to adfernandes@… |
---|
comment:2 follow-up: 3 Changed 14 years ago by adfernandes (Andrew Fernandes)
Changed 14 years ago by grddev@…
Attachment: | Portfile-boost.diff added |
---|
comment:3 Changed 14 years ago by grddev@…
Replying to adfernandes@…:
Are you willing/able to contribute a tested patch?
The attached patch introduces distcc/ccache into the mix. The boost package successfully compiled and installed, and I have not noticed any resulting breakage. But I can't say that I have done any rigorous testing.
comment:4 Changed 14 years ago by adfernandes (Andrew Fernandes)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Great work - thanks very much!
Committed in r72284.
(I didn't revbump because if you already have boost, this won't gain you anything.)
I couldn't agree with you more!
However, dealing with
boost
's jamfiles is a horrible experience. I've spent hours debugging them and making things build correctly on the Mac, and don't want to try to addccache
ordistcc
to the mix; testing takes too long for my limited resources!Are you willing/able to contribute a tested patch?