#1474: compile ExternalLibraries with other thorns rather than when CST runs --------------------------+------------------------------------------------- Reporter: rhaas | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: development version Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
I have implemented this for zlib, one of the simpler external libraries. The implementation looks as follows:
- the build instructions are taken out of configure.sh and moved to a new file build.sh - a new make variable BUILD_ZLIB remembers whether zlib is found on the system or needs to be built - make.code.deps states that the thorn depends onto the zlib library, if BUILD_ZLIB is set - make.code.deps defines how to build zlib, and calls build.sh
This is too disruptive for the release. I will test this more, and propose a patch after the release.