Repository navigation
Backport: Dynamic Path: ROOT_LIBRARY_PATH - #7794
Conversation
ROOT's "dynamic path" has some environment variables to control it. Those environment variables have some issues: * They are dependant on the OS (DYLD* on macOS, LD_LIBRARY_PATH on Linux, etc) * LD_LIBRARY_PATH/etc modify the system's search path for dynamic libraries, which can result in all sorts of bad things. We would like to have a dedicated environment variable, that is * OS independant. * does only affect ROOT. Let's name it ROOT_LIBRARY_PATH (suggestion on mattermost.web.cern.ch). It was suggested to put this into `system.rootrc` and/or `.rootrc`. This has some issues: * `.rootrc` is good for a per user solution. We would like to have a package level solution. * `system.rootrc` is usually a place for the local sysadmin to modify. It could be used by a distribution package to put "defaults". But that's not really nice. * Finally, `.rootrc` entries replace `system.rootrc` entries. So any package level configuration would be gone the moment, that the user sets `Unix.*.Root.DynamicPath`. So getting the above mentioned environment variable to work at a package level, means to put it into TUnixSystem.cpp / TWinNTSystem.cxx. Co-Authored-By: Bertrand Bellenot @bellenot
Add a short description of the new feature to the 6.24 releases notes.
|
Can one of the admins verify this patch? |
|
@phsft-bot build |
|
Starting build on |
|
Build failed on windows10/cxx14. Errors:
|
|
@bellenot can you help with the windows build error? |
|
The windows error is unrelated. It seems that a build area used for the older Cling version (using llvm v5) is being reused. |
|
Build failed on mac1014/python3. Failing tests: |
|
The macos failure is an infrasture issue: |
This is a backport of #7031 to the 6-24-00-patches branch.
I cherry-picked two of the three commits.
I left the test suite out, as it finally should go to roottest.git, as far as I understood it.
This is basically to get the thing started.
cc: @pcanal, @dennisklein