Skip to content

Commit 19b1a52

Browse files
Move cmake/ninja to build section, add git
Adding git to build section makes sure that git (used by GetLevelZeroHeaders) is consistent with conda envrionment.
1 parent 9272874 commit 19b1a52

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

conda-recipe/build.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@ export CMAKE_GENERATOR="Ninja"
1212
SKBUILD_ARGS="-- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx"
1313
echo "${PYTHON} setup.py install ${SKBUILD_ARGS}"
1414

15-
GIT_TRACE=true \
16-
GIT_CURL_VERBOSE=true \
17-
GIT_SSH_COMMAND="ssh -vvv" \
18-
git clone https://github.com/oneapi-src/level-zero.git || echo $?
19-
tree .
20-
rm -rf level-zero
21-
2215
# Workaround for:
2316
# DPC++ launched by cmake does not see components of `dpcpp_cpp_rt`,
2417
# because conda build isolates LD_LIBRARY_PATH to only $PREFIX subfolders.

conda-recipe/meta.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,13 @@ requirements:
1414
build:
1515
- {{ compiler('cxx') }}
1616
- {{ compiler('dpcpp') }} >=2022.1 # [not osx]
17+
- cmake >=3.21
18+
- ninja
19+
- git
1720
host:
1821
- setuptools
1922
- cython
20-
- cmake >=3.21
2123
- python
22-
- ninja
2324
- scikit-build
2425
- numpy
2526
- wheel

0 commit comments

Comments
 (0)