Skip to content

Commit fa60313

Browse files
authored
Use dpcpp.exe on Windows instead of dpcpp-cl.exe deleted in oneAPI beta08 (#66)
* Use dpcpp.exe on Windows instead of dpcpp-cl.exe deleted in oneAPI beta08 * Use dpcpp.exe instead of dpcpp-cl.exe in CMakeLists.txt
1 parent 86828c9 commit fa60313

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

backends/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function (check_for_dpcpp)
1010
endif()
1111

1212
if(WIN32)
13-
set (dpcpp_cmd "${DPCPP_ROOT}/bin/dpcpp-cl")
13+
set (dpcpp_cmd "${DPCPP_ROOT}/bin/dpcpp")
1414
set (dpcpp_arg "--version")
1515
elseif(UNIX)
1616
set (dpcpp_cmd "dpcpp")
@@ -62,7 +62,7 @@ check_for_dpcpp()
6262
check_for_numpy_inc()
6363

6464
if(WIN32)
65-
set(CMAKE_CXX_COMPILER:PATH "${DPCPP_ROOT}/bin/dpcpp-cl")
65+
set(CMAKE_CXX_COMPILER:PATH "${DPCPP_ROOT}/bin/dpcpp")
6666
set(CMAKE_C_COMPILER:PATH "${DPCPP_ROOT}/bin/clang-cl")
6767
set(CMAKE_LINKER:PATH "${DPCPP_ROOT}/bin/lld-link")
6868
message(STATUS "Resetting CXX compiler to: " ${CMAKE_CXX_COMPILER})

conda-recipe/bld.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ IF ERRORLEVEL 1 exit 1
33
REM conda uses %ERRORLEVEL% but FPGA scripts can set it. So it should be reseted.
44
set ERRORLEVEL=
55

6-
set "CC=dpcpp-cl.exe"
7-
set "CXX=dpcpp-cl.exe"
6+
set "CC=dpcpp.exe"
7+
set "CXX=dpcpp.exe"
88

99
rmdir /S /Q build_cmake
1010
mkdir build_cmake

0 commit comments

Comments
 (0)