Commit 50e568b
committed
[cppyy] Move libcppyy.so to <LIBDIR>/cppyy/libcppyy.so
When compiling ROOT in Gentoo, the following warning was issued:
* Verifying compiled files for python3.13
*
* QA Notice: The following unexpected files/directories were found
* top-level in the site-packages directory:
*
* /usr/lib/python3.13/site-packages/libcppyy.so.6.37.01
*
* This is most likely a bug in the build system. More information
* can be found in the Python Guide:
* https://projects.gentoo.org/python/guide/qawarn.html#stray-top-level-files-in-site-packages
Similarly to #14917, this can be solved by moving it to <LIBDIR>/cppyy.
Therefore:
- Move the libray
- Update the library's RUNPATHs for it to find ROOT libraries.
- Use relative import paths to simplify finding libcppyy
Fix #20015.1 parent a537145 commit 50e568b
File tree
3 files changed
+10
-7
lines changed- bindings/pyroot/cppyy
- CPyCppyy
- cppyy/python/cppyy
3 files changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
| |||
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments