Skip to content

Commit df814e2

Browse files
committed
use llvm-openmp also on windows
1 parent ec23440 commit df814e2

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

recipe/meta.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,8 @@ requirements:
106106
- {{ compiler('c') }}
107107
- {{ compiler('cxx') }}
108108
- {{ compiler('cuda') }} # [cuda_compiler_version != "None"]
109-
- llvm-openmp # [unix]
110-
- intel-openmp {{ mkl }} # [win]
111109
- libuv # [win]
110+
- llvm-openmp
112111
- cmake
113112
- ninja
114113
# Keep libprotobuf here so that a compatibile version
@@ -158,10 +157,9 @@ requirements:
158157
- libblas # [blas_impl != "mkl"]
159158
- libcblas # [blas_impl != "mkl"]
160159
- liblapack # [blas_impl != "mkl"]
161-
- llvm-openmp # [unix]
162-
- intel-openmp {{ mkl }} # [win]
163160
- libabseil
164161
- libprotobuf
162+
- llvm-openmp
165163
- sleef
166164
- libuv
167165
- pkg-config # [unix]
@@ -171,7 +169,6 @@ requirements:
171169
- eigen
172170
- zlib
173171
run:
174-
- intel-openmp {{ mkl }} # [win]
175172
- libblas * *{{ blas_impl }} # [blas_impl == "mkl"]
176173
run_constrained:
177174
# These constraints ensure conflict between pytorch and
@@ -260,8 +257,6 @@ outputs:
260257
- {{ compiler('c') }}
261258
- {{ compiler('cxx') }}
262259
- {{ compiler('cuda') }} # [cuda_compiler_version != "None"]
263-
- llvm-openmp # [unix]
264-
- intel-openmp {{ mkl }} # [win]
265260
- cmake
266261
- ninja
267262
# Keep libprotobuf here so that a compatibile version
@@ -307,10 +302,9 @@ outputs:
307302
- libcblas * *_mkl # [blas_impl == "mkl"]
308303
- libcblas # [blas_impl != "mkl"]
309304
- liblapack # [blas_impl != "mkl"]
310-
- llvm-openmp # [unix]
311-
- intel-openmp {{ mkl }} # [win]
312305
- libabseil
313306
- libprotobuf
307+
- llvm-openmp
314308
- pybind11
315309
- pybind11-abi
316310
- eigen
@@ -323,8 +317,7 @@ outputs:
323317
- {{ pin_subpackage('libtorch', exact=True) }} # [megabuild]
324318
# for non-megabuild, allow libtorch from any python version
325319
- libtorch {{ version }}.* *_{{ build }} # [not megabuild]
326-
- llvm-openmp # [unix]
327-
- intel-openmp {{ mkl }} # [win]
320+
- llvm-openmp
328321
- libblas * *{{ blas_impl }} # [blas_impl == "mkl"]
329322
- nomkl # [blas_impl != "mkl"]
330323
- triton =={{ triton }} # [cuda_compiler_version != "None" and not win]

0 commit comments

Comments
 (0)