Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ Until May 2022 (inclusive) no changelog was kept. We might try to reconstruct it

## Unreleased

### Changed

* yaml-cpp: Upgrade to 0.9.0 to fix issue with modern gcc https://github.com/jbeder/yaml-cpp/issues/1307
* xrootd: Add dist-packages as a possible location for python bindings

## [26.04](https://github.com/ShipSoft/shipdist/tree/26.04)

### Added
Expand Down
12 changes: 9 additions & 3 deletions xrootd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,15 @@ if [[ "$XROOTD_PYTHON" == "True" ]]; then

# Print found XRootD python bindings
# just run the the command as this is under "bash -e"
echo -ne ">>>>>> Found XRootD python bindings: "
LD_LIBRARY_PATH="$INSTALLROOT/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" PYTHONPATH="$INSTALLROOT/lib/python/site-packages${PYTHONPATH:+:}$PYTHONPATH" ${PYTHON_EXECUTABLE} -c 'from XRootD import client as xrd_client;print(f"{xrd_client.__version__}\n{xrd_client.__file__}");'
echo
if [ -d "$INSTALLROOT/lib/python/dist-packages" ]; then
echo -ne ">>>>>> Found XRootD python bindings: "
LD_LIBRARY_PATH="$INSTALLROOT/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" PYTHONPATH="$INSTALLROOT/lib/python/dist-packages${PYTHONPATH:+:}$PYTHONPATH" ${PYTHON_EXECUTABLE} -c 'from XRootD import client as xrd_client;print(f"{xrd_client.__version__}\n{xrd_client.__file__}");'
echo
else
echo -ne ">>>>>> Found XRootD python bindings: "
LD_LIBRARY_PATH="$INSTALLROOT/lib${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" PYTHONPATH="$INSTALLROOT/lib/python/site-packages${PYTHONPATH:+:}$PYTHONPATH" ${PYTHON_EXECUTABLE} -c 'from XRootD import client as xrd_client;print(f"{xrd_client.__version__}\n{xrd_client.__file__}");'
echo
fi

fi # end of PYTHON part

Expand Down
2 changes: 1 addition & 1 deletion yaml-cpp.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package: yaml-cpp
version: "%(tag_basename)s"
tag: 0.8.0
tag: yaml-cpp-0.9.0
source: https://github.com/jbeder/yaml-cpp
build_requires:
- CMake
Expand Down
Loading