Skip to content

Commit d21fc6d

Browse files
authored
Use OpenMP on Windows too (#406)
It seems like currently pytorch links to both libiomp5md and vcomp.
1 parent c5ded36 commit d21fc6d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

recipe/bld.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ set "USE_LITE_PROTO=ON"
7474
SET "USE_ITT=0"
7575
SET "USE_NUMA=0"
7676

77-
@REM TODO(baszalmstra): There are linker errors because of mixing Intel OpenMP (iomp) and Microsoft OpenMP (vcomp)
78-
set "USE_OPENMP=OFF"
77+
set "USE_OPENMP=ON"
7978

8079
@REM Use our Pybind11, Eigen, sleef
8180
set USE_SYSTEM_EIGEN_INSTALL=1

recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# if you wish to build release candidate number X, append the version string with ".rcX"
22
{% set version = "2.7.1" %}
3-
{% set build = 3 %}
3+
{% set build = 4 %}
44

55
# Use a higher build number for the CUDA variant, to ensure that it's
66
# preferred by conda's solver, and it's preferentially

0 commit comments

Comments
 (0)