Files
CMake/Source
Seth R Johnson 8f7e98ef09 cmInstallTargetGenerator: optimize rpath adjustments
With builds that have many internal library directories or many
external libraries, rpaths can be quite large. The cost of calling
install_name_tool thousands of times can add up to minutes on a build,
especially if virus scanning software is there to help you out. With
this change, instead of deleting and then re-adding an rpath, we ignore
it.  Likewise we batch all the rpath adjustment calls into a single command.

Before, installing SCALE (some libraries have 70+ build-time RPATHs that
get deleted, plus up to a dozen external RPATHs from upstream
dependencies that should remain in the binary) would take almost 9
minutes on my laptop, and after this change the installation takes only
30 second.
2021-09-30 15:36:35 -04:00
..
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-30 00:01:14 -04:00
2021-09-09 14:02:52 -04:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-19 19:11:07 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00
2021-09-21 17:14:04 +02:00