Skip to content

Commit

Permalink
Merge pull request #840 from xylar/fix-jigsaw-build
Browse files Browse the repository at this point in the history
Add c_stdlib to jigsaw build deps
  • Loading branch information
xylar authored Jul 4, 2024
2 parents d75450b + 715f91d commit 3113eae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conda/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,11 @@ def build_jigsaw(activate_env, source_path, env_path, logger):
print('Building JIGSAW\n')
# add build tools to deployment env, not compass env
jigsaw_build_deps = 'cxx-compiler cmake'
if platform.system() == 'Linux':
jigsaw_build_deps = f'{jigsaw_build_deps} sysroot_linux-64=2.17'
elif platform.system() == 'Darwin':
jigsaw_build_deps = \
f'{jigsaw_build_deps} macosx_deployment_target=10.13'
netcdf_lib = f'{env_path}/lib/libnetcdf.so'
cmake_args = f'-DCMAKE_BUILD_TYPE=Release -DNETCDF_LIBRARY={netcdf_lib}'

Expand Down

0 comments on commit 3113eae

Please sign in to comment.