Skip to content

Commit 3a18c02

Browse files
chore: delete unused cmake patch logic
1 parent 55546cf commit 3a18c02

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

conda-recipe/bld.bat

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,6 @@ FOR %%V IN (17.0.0 17 18.0.0 18 19.0.0 19 20.0.0 20 21.0.0 21) DO @(
1616
)
1717
)
1818

19-
set "PATCHED_CMAKE_VERSION=3.26"
20-
set "PLATFORM_DIR=%PREFIX%\Library\share\cmake-%PATCHED_CMAKE_VERSION%\Modules\Platform"
21-
set "FN=Windows-IntelLLVM.cmake"
22-
23-
rem Save the original file, and copy patched file to
24-
rem fix the issue with IntelLLVM integration with cmake on Windows
25-
if EXIST "%PLATFORM_DIR%" (
26-
dir "%PLATFORM_DIR%\%FN%"
27-
copy /Y "%PLATFORM_DIR%\%FN%" .
28-
if %ERRORLEVEL% neq 0 exit 1
29-
copy /Y ".github\workflows\Windows-IntelLLVM_%PATCHED_CMAKE_VERSION%.cmake" "%PLATFORM_DIR%\%FN%"
30-
if %ERRORLEVEL% neq 0 exit 1
31-
)
32-
3319
set "CC=icx"
3420
set "CXX=icx"
3521

0 commit comments

Comments
 (0)