[build2] Disabling rpath linking for all update operations

Matthew Krupcale mkrupcale at matthewkrupcale.com
Sat Apr 6 14:02:17 UTC 2019

On Thu, Apr 4, 2019 at 8:34 AM Boris Kolpackov <boris at codesynthesis.com> wrote:
> Boris Kolpackov <boris at codesynthesis.com> writes:
> I finally got around to this:
> https://git.build2.org/cgit/build2/commit/?id=39a17ba7ef506192218f24047f129cb635efb02b
> Let me know if there are any issues.

Thanks for implementing that. I've tested[1] using
config.bin.rpath{,_link}.auto=false to ensure that the update,
install, and test operations use the same link arguments and thus only
build the artifacts once during the build block (i.e. no rebuild or
link during install or check blocks). This required less modification
to my build procedure than would have been required if I had tried to
build the unit/integration tests separately from the rest of the
projects since I could just include the library paths in
LD_LIBRARY_PATH. I do see your point, however, that this may not be
the best or most correct approach in general.


[1] https://copr-be.cloud.fedoraproject.org/results/mkrupcale/build2/fedora-30-x86_64/00878820-build2/build.log.gz

More information about the users mailing list