See PR 224471. I've been using this since at least a week before I filed that PR with great success.
Details
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 14719 Build 14840: arc lint + arc unit
Event Timeline
This revision is accepted and ready to land since months. Can a committer commit it please?
Thanks!
Looks OK in generaly but see inline comments. I've never used ccache with ports and unlikely to do so in future.
Mk/bsd.gecko.mk | ||
---|---|---|
166 |
| |
168 | Isn't BUILD_DEPENDS already handled by Mk/bsd.ccache.mk? |
Mk/bsd.gecko.mk | ||
---|---|---|
168 | Unfortunately not in this (edge) case. Especially in poudriere, if using the host's statically-linked ccache, the binary gets copied to the reference jail's /ccache/bin/ccache, which is not in $PATH. The mozilla build system only looks for ccache in $PATH, so without this line, the build fails when using host-based ccache. |
Is this still accepted as it was in 2019?
If not – if a change is inarguably required: please, can someone suggest a change to the code?
Many thanks
After about 4 years since my tests, I have no idea if this patch still works or not. It should be tested again, but unfortunately I do not have the time to do it. I hope someone else will be able to do it.