From 7b49337d42021050b231bb36c5068e0247c05d30 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Wed, 9 Oct 2024 01:09:04 +0200 Subject: [PATCH] Actually, let's try a different solution first --- recipes/hictk/build.sh | 2 ++ recipes/hictk/conda_build_config.yaml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/hictk/build.sh b/recipes/hictk/build.sh index e9bd70cfd17b2..d68ff9c30a5d3 100755 --- a/recipes/hictk/build.sh +++ b/recipes/hictk/build.sh @@ -19,6 +19,8 @@ trap "rm -rf '$scratch'" EXIT declare -a CMAKE_PLATFORM_FLAGS if [[ ${HOST} =~ .*darwin.* ]]; then + # https://conda-forge.org/docs/maintainer/knowledge_base/#newer-c-features-with-old-sdk + export CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY" CMAKE_PLATFORM_FLAGS+=(-DCMAKE_OSX_SYSROOT="${CONDA_BUILD_SYSROOT}") conan_profile='apple-clang' else diff --git a/recipes/hictk/conda_build_config.yaml b/recipes/hictk/conda_build_config.yaml index 5b4c6e8acb8d0..3397464cf13fd 100644 --- a/recipes/hictk/conda_build_config.yaml +++ b/recipes/hictk/conda_build_config.yaml @@ -6,5 +6,3 @@ cxx_compiler: # [linux] - clangxx # [linux] cxx_compiler_version: # [linux] - 18 # [linux] -MACOSX_SDK_VERSION: # [osx and x86_64] - - "10.15" # [osx and x86_64]