File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
libsyclinterface/cmake/modules Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 5
5
# activation scripts.
6
6
export LDFLAGS=" $LDFLAGS -Wl,-rpath,$PREFIX /lib"
7
7
8
- ${PYTHON} setup.py clean --all
8
+ if [ -e " _skbuild" ]; then
9
+ ${PYTHON} setup.py clean --all
10
+ fi
9
11
export CMAKE_GENERATOR=" Ninja"
10
12
SKBUILD_ARGS=" -- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx"
11
13
echo " ${PYTHON} setup.py install ${SKBUILD_ARGS} "
Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ requirements:
16
16
- {{ compiler('dpcpp') }} >=2022.1 # [not osx]
17
17
host :
18
18
- setuptools
19
- - cython
20
19
- cmake >=3.21
21
- - python
22
20
- ninja
21
+ - git
22
+ - cython
23
+ - python
23
24
- scikit-build
24
25
- numpy
25
26
- wheel
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ function(get_level_zero_headers)
39
39
40
40
if (NOT result EQUAL 0 )
41
41
message (FATAL_ERROR
42
- "Could not update Level Zero sources."
42
+ "Could not update Level Zero sources. Return code: ${result} "
43
43
)
44
44
endif ()
45
45
else ()
@@ -54,7 +54,7 @@ function(get_level_zero_headers)
54
54
55
55
if (NOT result EQUAL 0 )
56
56
message (FATAL_ERROR
57
- "Could not clone Level Zero sources from github.com/oneapi-src/level-zero."
57
+ "Could not clone Level Zero sources from github.com/oneapi-src/level-zero. Return code: ${result} "
58
58
)
59
59
endif ()
60
60
endif ()
@@ -72,7 +72,7 @@ function(get_level_zero_headers)
72
72
73
73
if (NOT result EQUAL 0 )
74
74
message (FATAL_ERROR
75
- "Could not get the name for the latest release."
75
+ "Could not get the name for the latest release. Return code: ${result} "
76
76
)
77
77
endif ()
78
78
@@ -88,7 +88,7 @@ function(get_level_zero_headers)
88
88
89
89
if (NOT result EQUAL 0 )
90
90
message (FATAL_ERROR
91
- "Could not checkout the latest release."
91
+ "Could not checkout the latest release. Return code: ${result} "
92
92
)
93
93
endif ()
94
94
You can’t perform that action at this time.
0 commit comments