From d6082c9f5e88f712e2207ae4c370bd06f44625a3 Mon Sep 17 00:00:00 2001 From: loikki <loic.hausammann@protonmail.ch> Date: Mon, 5 Aug 2019 13:29:42 +0200 Subject: [PATCH] Fix hdf5 lib --- .gitlab-ci.yml | 3 --- setup.py | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2dc696..504fc59 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,9 +28,6 @@ before_script: - cd .. # compile pyswiftsim - - echo $LD_LIBRARY_PATH - - cat swiftsim/config.h - - locate hdf5 - python3 setup.py install --with-swift $LHOME/swiftsim --user # compile the docs diff --git a/setup.py b/setup.py index 62a38d6..756f77e 100644 --- a/setup.py +++ b/setup.py @@ -101,6 +101,8 @@ lib_dir = [] if swift_path: lib_dir.append(swift_path + "/src/.libs") lib_dir.append(hdf5_root + "/lib") + # fix for default install of hdf5 + lib_dir.append(hdf5_root + "/lib/x86_64-linux-gnu/hdf5") # src files c_src = [] -- GitLab