From b2d39e19fc9b3a4218b69b75b30658d857b5cd65 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Thu, 4 Jul 2024 03:43:49 -0500 Subject: [PATCH] Add c_stdlib to jigsaw build deps --- conda/bootstrap.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conda/bootstrap.py b/conda/bootstrap.py index dfee5f371b..486a767783 100755 --- a/conda/bootstrap.py +++ b/conda/bootstrap.py @@ -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=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}'