Skip to content

Commit

Permalink
More osx fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ftuser committed Aug 1, 2024
1 parent db08455 commit 17f88f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deploy/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,14 @@ def build_jigsaw(activate_env, conda_base, source_path, env_path, logger):

print('Building JIGSAW\n')
# add build tools to deployment env, not polaris env
jigsaw_build_deps = 'cxx-compiler cmake'
jigsaw_build_deps = 'cxx-compiler cmake make'
if platform.system() == 'Linux':
jigsaw_build_deps = f'{jigsaw_build_deps} sysroot_linux-64=2.17'
netcdf_lib = f'{env_path}/lib/libnetcdf.so'
elif platform.system() == 'Darwin':
jigsaw_build_deps = \
f'{jigsaw_build_deps} macosx_deployment_target_osx-64=10.13'
netcdf_lib = f'{env_path}/lib/libnetcdf.so'
netcdf_lib = f'{env_path}/lib/libnetcdf.dylib'
cmake_args = f'-DCMAKE_BUILD_TYPE=Release -DNETCDF_LIBRARY={netcdf_lib}'

commands = \
Expand Down

0 comments on commit 17f88f4

Please sign in to comment.