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
11 changes: 10 additions & 1 deletion conda-recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,16 @@ FOR %%V IN (14.0.0 14 15.0.0 15 16.0.0 16) DO @(
)
)

set "PLATFORM_DIR=%PREFIX%\Library\share\cmake-3.22\Modules\Platform"
for /f "tokens=*" %%p in ('where cmake') do set CMAKE_PATH=%%p & goto :continue
:continue
for /f "tokens=3" %%a in ('%CMAKE_PATH% --version') do set CMAKE_VERSION=%%a & goto :continue
:continue
for /f "tokens=1-2 delims=." %%a in ("%CMAKE_VERSION%") do (
set CMAKE_VERSION_MAJOR=%%a
set CMAKE_VERSION_MINOR=%%b
)

set "PLATFORM_DIR=%PREFIX%\Library\share\cmake-%CMAKE_VERSION_MAJOR%.%CMAKE_VERSION_MINOR%\Modules\Platform"
set "FN=Windows-IntelLLVM.cmake"

rem Save the original file, and copy patched file to
Expand Down
3 changes: 2 additions & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ requirements:
- scikit-build
build:
- {{ compiler('cxx') }}
- {{ compiler('dpcpp') }} >=2023.0 # [not osx]
- {{ compiler('dpcpp') }} =2023.1.0 # [not osx]
- sysroot_linux-64 >=2.17 # [linux]
run:
- python
- dpctl >=0.14.2
Expand Down