Skip to content

Commit 59fab30

Browse files
Use INSTALL_PATH in cmake call
This ensures that backend libraries are copied into dpctl and included in the conda tar ball. Also fixed copy statement to account for .lib files being in %INSTALL_PREFIX%\lib and .dll files being in %INSTALL_PREFIX%\bin on Windows.
1 parent aaa51d3 commit 59fab30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conda-recipe/bld.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rmdir /S /Q "%INSTALL_PREFIX%"
1717

1818
cmake -G Ninja ^
1919
-DCMAKE_BUILD_TYPE=Release ^
20-
"-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX%" ^
20+
"-DCMAKE_INSTALL_PREFIX=%INSTALL_PREFIX%" ^
2121
"-DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX%" ^
2222
"-DDPCPP_ROOT=%DPCPP_ROOT%" ^
2323
"%SRC_DIR%/backends"
@@ -29,7 +29,7 @@ IF %ERRORLEVEL% NEQ 0 exit 1
2929

3030
cd ..
3131
xcopy install\lib\*.lib dpctl /E /Y
32-
xcopy install\lib\*.dll dpctl /E /Y
32+
xcopy install\bin\*.dll dpctl /E /Y
3333

3434
mkdir dpctl\include
3535
xcopy backends\include dpctl\include /E /Y

0 commit comments

Comments
 (0)