Skip to content

Commit

Permalink
Try to explicitly depend on llvm-openmp, to match what is done with o…
Browse files Browse the repository at this point in the history
…penblas.
  • Loading branch information
tskisner committed Feb 13, 2024
1 parent 5865d0f commit c4b9e9d
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 29 deletions.
1 change: 1 addition & 0 deletions config/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ packaging
#
# Require the OpenBLAS + OpenMP flavor of linear algebra packages
#
_openmp_mutex=*=*_llvm
openblas=*=openmp_*
libopenblas=*=openmp_*
libblas=*=*openblas
Expand Down
7 changes: 3 additions & 4 deletions pkgs/libactpol/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ build:
requirements:
build:
- {{ compiler('c') }}
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
host:
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand All @@ -44,6 +42,7 @@ requirements:
# https://github.com/conda-forge/perl-feedstock/issues/56
- libxcrypt1 # [linux]
run:
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand Down
7 changes: 3 additions & 4 deletions pkgs/libactpol_deps/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ requirements:
build:
- {{ compiler('c') }}
- {{ compiler('fortran') }}
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
host:
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand All @@ -37,6 +35,7 @@ requirements:
- make
- zziplib
run:
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand Down
7 changes: 3 additions & 4 deletions pkgs/moby2/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ build:
requirements:
build:
- {{ compiler('c') }}
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
host:
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand All @@ -40,6 +38,7 @@ requirements:
# building with a numba-compatible numpy version
- numba
run:
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand Down
7 changes: 3 additions & 4 deletions pkgs/pixell/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ requirements:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
host:
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand All @@ -48,6 +46,7 @@ requirements:
# https://github.com/conda-forge/perl-feedstock/issues/56
- libxcrypt1 # [linux]
run:
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand Down
6 changes: 2 additions & 4 deletions pkgs/qpoint/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ build:
requirements:
build:
- {{ compiler('c') }}
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
host:
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
- python
- setuptools
- numpy=1.26.*
Expand Down
7 changes: 3 additions & 4 deletions pkgs/so3g/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ requirements:
- {{ compiler('cxx') }}
- cmake
- make # [unix]
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
host:
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand All @@ -48,6 +46,7 @@ requirements:
# building with a numba-compatible numpy version
- numba
run:
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand Down
7 changes: 3 additions & 4 deletions pkgs/toast/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@ requirements:
- {{ compiler('cxx') }}
- cmake
- make # [unix]
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
host:
- llvm-openmp # [osx]
- libgomp # [linux]
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand All @@ -42,6 +40,7 @@ requirements:
- libaatm
- libflac
run:
- llvm-openmp # [osx or linux]
- openblas * openmp_*
- libopenblas * openmp_*
- libblas * *openblas
Expand Down
2 changes: 1 addition & 1 deletion tools/bootstrap_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bash "${inst}" -b -f -p "${base}"
source "${base}/etc/profile.d/conda.sh"
conda activate base
conda update -n base --yes conda
conda install -n base --yes conda-libmamba-solver conda-build
conda install -n base --yes conda-libmamba-solver conda-build conda-verify
conda deactivate

# Create base config file
Expand Down

0 comments on commit c4b9e9d

Please sign in to comment.