Skip to content
Snippets Groups Projects
Commit 972fc8e9 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

deal with custom path

parent 2c83736c
No related branches found
No related tags found
1 merge request!10Update SWIFT calls
...@@ -28,7 +28,6 @@ before_script: ...@@ -28,7 +28,6 @@ before_script:
- cd .. - cd ..
# compile pyswiftsim # compile pyswiftsim
- cat swiftsim/Makefile
- python3 setup.py install --with-swift $LHOME/swiftsim --user - python3 setup.py install --with-swift $LHOME/swiftsim --user
# compile the docs # compile the docs
......
...@@ -82,7 +82,9 @@ if swift_path: ...@@ -82,7 +82,9 @@ if swift_path:
# hdf5 # hdf5
if "bin" in hdf5_root: if "bin" in hdf5_root:
hdf5_root = hdf5_root.split("bin")[0] hdf5_root = hdf5_root.split("bin")[0]
include.append(hdf5_root + "/include")
if "/usr/lib" in hdf5_root:
include.append("/usr/include/hdf5/serial")
# grackle # grackle
if parseCmdLine("--with-grackle", store=True): if parseCmdLine("--with-grackle", store=True):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment