Skip to content

Commit

Permalink
force looking for and use of accelerate for apple
Browse files Browse the repository at this point in the history
  • Loading branch information
repagh committed May 3, 2020
1 parent 8e141ca commit ee46807
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion conda-recipe-apple/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ fi

$PYTHON setup.py build_ext install -- \
-DNumPy_INCLUDE_DIR=${SP_DIR}/numpy/core/include \
-DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT}
-DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT} \
-DBLA_VENDOR=Apple
4 changes: 1 addition & 3 deletions conda-recipe-apple/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source:

build:
number: {{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
string: py{{ environ.get('PY_VER').replace('.', '') }}{{ environ.get('GIT_DESCRIBE_HASH', '') }}_obl_{{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}
string: py{{ environ.get('PY_VER').replace('.', '') }}{{ environ.get('GIT_DESCRIBE_HASH', '') }}_apple_{{ environ.get('GIT_DESCRIBE_NUMBER', 0) }}

requirements:
build:
Expand All @@ -19,7 +19,6 @@ requirements:
host:
- numpy
- python
- openblas
- python
# conda-forge::scikit-build>=0.10.0 includes MACOSX_DEPLOYMENT_TARGET
# patches from https://github.com/scikit-build/scikit-build/pull/441
Expand All @@ -28,7 +27,6 @@ requirements:
run:
- python
- {{ pin_compatible('numpy') }}
- libopenblas

test:
requires:
Expand Down

0 comments on commit ee46807

Please sign in to comment.