diff --git a/conda.recipe/conda_build_config.yaml b/conda.recipe/conda_build_config.yaml index 77f0eec0a..415bd7b83 100644 --- a/conda.recipe/conda_build_config.yaml +++ b/conda.recipe/conda_build_config.yaml @@ -2,3 +2,9 @@ python: - 3.9 - 3.10 - 3.11 +c_compiler: + - gcc # [linux] + - clang # [osx] + - vs2019 # [win] +cross_compiler_target_platform: # [osx] + - osx-arm64 # [osx] diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml index 229760264..6bd2561a6 100644 --- a/conda.recipe/meta.yaml +++ b/conda.recipe/meta.yaml @@ -13,6 +13,8 @@ build: requirements: build: + # This is so that we can build cross-platform for osx-arm64 + - {{ compiler('c') }} # Numba is only here to ensure the numpy version is compatible - numba - numpy >=1.20