GridTools / serialbox

Data serialization library and tools for C/C++ and Fortran
BSD 2-Clause "Simplified" License
29 stars 29 forks source link

Fix python build #264

Closed halungge closed 1 year ago

halungge commented 1 year ago

Added ${ORIGIN} to the build rpath for python build

when running the python build with pip

cd src/serialbox-python
pip install .

the cmake build target is run, after that the shared libraries are copied from the build folder to site_packages folder of the python environment. Adding ${ORIGIN} to the rpath allows cdll.LoadLibrary to find dependent libraries in the current folder.

jenkins-apn commented 1 year ago

Hi there, this is jenkins continuous integration... Do you want me to verify this patch?

havogt commented 1 year ago

ok to test

havogt commented 1 year ago

launch jenkins