Skip to content

Commit

Permalink
Actually, let's try a different solution first
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Oct 8, 2024
1 parent e648f2e commit 5e6f468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions recipes/hictk/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
CMAKE_PLATFORM_FLAGS+=(-DCMAKE_OSX_SYSROOT="${CONDA_BUILD_SYSROOT}")
conan_profile='apple-clang'
else
Expand Down
2 changes: 0 additions & 2 deletions recipes/hictk/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit 5e6f468

Please sign in to comment.