Skip to content

Commit 614c829

Browse files
authored
[Build] setuptools 63.4.1 breaks build for Windows (#1185)
* [SAT-5366] setuptools 63.4.1 breaks build for Windows * Add TODO note as suggested in review comment
1 parent 3be4b2e commit 614c829

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

conda-recipe/bld.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ REM A workaround for activate-dpcpp.bat issue to be addressed in 2021.4
22
set "LIB=%BUILD_PREFIX%\Library\lib;%BUILD_PREFIX%\compiler\lib;%LIB%"
33
SET "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%"
44

5+
REM Since the 60.0.0 release, setuptools includes a local, vendored copy
6+
REM of distutils (from late copies of CPython) that is enabled by default.
7+
REM It breaks build for Windows, so use distutils from "stdlib" as before.
8+
REM @TODO: remove the setting, once transition to build backend on Windows
9+
REM to cmake is complete.
10+
SET "SETUPTOOLS_USE_DISTUTILS=stdlib"
11+
512
IF DEFINED DPLROOT (
613
ECHO "Sourcing DPLROOT"
714
SET "INCLUDE=%DPLROOT%\include;%INCLUDE%"

0 commit comments

Comments
 (0)