Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backends/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function (check_for_dpcpp)
endif()

if(WIN32)
set (dpcpp_cmd "${DPCPP_ROOT}/bin/dpcpp-cl")
set (dpcpp_cmd "${DPCPP_ROOT}/bin/dpcpp")
set (dpcpp_arg "--version")
elseif(UNIX)
set (dpcpp_cmd "dpcpp")
Expand Down Expand Up @@ -62,7 +62,7 @@ check_for_dpcpp()
check_for_numpy_inc()

if(WIN32)
set(CMAKE_CXX_COMPILER:PATH "${DPCPP_ROOT}/bin/dpcpp-cl")
set(CMAKE_CXX_COMPILER:PATH "${DPCPP_ROOT}/bin/dpcpp")
set(CMAKE_C_COMPILER:PATH "${DPCPP_ROOT}/bin/clang-cl")
set(CMAKE_LINKER:PATH "${DPCPP_ROOT}/bin/lld-link")
message(STATUS "Resetting CXX compiler to: " ${CMAKE_CXX_COMPILER})
Expand Down
4 changes: 2 additions & 2 deletions conda-recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ IF ERRORLEVEL 1 exit 1
REM conda uses %ERRORLEVEL% but FPGA scripts can set it. So it should be reseted.
set ERRORLEVEL=

set "CC=dpcpp-cl.exe"
set "CXX=dpcpp-cl.exe"
set "CC=dpcpp.exe"
set "CXX=dpcpp.exe"

rmdir /S /Q build_cmake
mkdir build_cmake
Expand Down