Skip to content

[pull] master from root-project:master#282

Merged
pull[bot] merged 1 commit intoMu-L:masterfrom
root-project:master
Jun 9, 2025
Merged

[pull] master from root-project:master#282
pull[bot] merged 1 commit intoMu-L:masterfrom
root-project:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jun 9, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

Absolute install paths can't be used for CMake targets on Windows of
macOS. Commit 9bb2f50 changed the install paths of the pythonization
library to be absolute paths, so that it's simple to calculate the
relative paths. But this broke the installation step on Windows and
macOS, and therefore has to be reverted. For the `rpath` step, the full
path is obtained with `CMAKE_INSTALL_PREFIX`, and it was checked that
the rpaths are still correctly computed, similar to
#18969 (comment)

```txt
[nix-shell:~/code/root]$ readelf -d root_build/lib/ROOT/libROOTPythonizations.so | grep RUNPATH
 0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN/../:/home/rembserj/code/root/root_build/lib::/nix/store/0896fyzn4l1gczab8qmlsliipq0js31x-nix-shell/lib:/nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib:/nix/store/x613hzkhr7mhv65p4l7fbmjkmc2mnhhp-gcc-15.1.0-lib/lib]

[nix-shell:~/code/root]$ readelf -d root_install/lib/root/ROOT/libROOTPythonizations.so | grep RUNPATH
 0x000000000000001d (RUNPATH)            Library runpath: [$ORIGIN/../:/nix/store/0896fyzn4l1gczab8qmlsliipq0js31x-nix-shell/lib:/nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib:/nix/store/x613hzkhr7mhv65p4l7fbmjkmc2mnhhp-gcc-15.1.0-lib/lib]
```

Thanks @bellenot for figuring out the problem!
@pull pull bot added the ⤵️ pull label Jun 9, 2025
@pull pull bot merged commit dd34150 into Mu-L:master Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant