Skip to content

Commit

Permalink
dissallow llvm-openmp 12.* for M1
Browse files Browse the repository at this point in the history
The `llvm-openmp` package has a Numba relevant bug that only manifests
when using that package on M1 silicon (new Apple chips) in version 12.
This will allow building Numba (the headers are needed) but dissallow
running it with `llvm-openmp` in version 12.* on Apple M1 silicon.

The `llvm-openmp` bug is here:

llvm/llvm-project#49923

This will also be future proof and allow `llvm-openmp` to be installed
in version 13 as soon as that becomes available from `main/defaults of
if people want to use `conda-forge`, since that already has version 13.
  • Loading branch information
esc committed Feb 18, 2022
1 parent 775b988 commit 3342fef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion buildscripts/condarecipe.local/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ requirements:
- scipy >=1.0
# CUDA Python 11.6 or later
- cuda-python >=11.6
- llvm-openmp != 12.* # [osx and arm64]

test:
requires:
Expand All @@ -70,7 +71,7 @@ test:
- ipython # [not (armv6l or armv7l or aarch64)]
- setuptools
- tbb >=2021 # [not (armv6l or armv7l or aarch64 or linux32 or ppc64le)]
- llvm-openmp # [osx]
- llvm-openmp # [osx and x86_64]
# This is for driving gdb tests
- pexpect # [linux64]
# For testing ipython
Expand Down

0 comments on commit 3342fef

Please sign in to comment.