File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ CMAKE_ARGS="${CMAKE_ARGS} -DDPCTL_LEVEL_ZERO_INCLUDE_DIR=${PREFIX}/include/level
27
27
# -wnx flags mean: --wheel --no-isolation --skip-dependency-check
28
28
${PYTHON} -m build -w -n -x
29
29
30
+ mkdir foo
31
+ pushd foo
32
+ cp ../dist/dpctl* .whl .
33
+ ${PYTHON} -m wheel unpack dpctl* .whl
34
+ readelf -d dpctl* /dpctl/_sycl_device.cpython*
35
+ popd
36
+ rm -rf foo
37
+
30
38
${PYTHON} -m wheel tags --remove --build " $GIT_DESCRIBE_NUMBER " \
31
39
--platform-tag " manylinux_${GLIBC_MAJOR} _${GLIBC_MINOR} _x86_64" \
32
40
dist/dpctl* .whl
Original file line number Diff line number Diff line change @@ -147,12 +147,15 @@ function(build_dpctl_ext _trgt _src _dest)
147
147
# TODO: do not set directory if we did not generate header
148
148
target_include_directories (${_trgt} INTERFACE ${_generated_src_dir_dir} )
149
149
set (_rpath_value "$ORIGIN" )
150
+ message (STATUS "+-+-+- '${BUILD_DPCTL_EXT_RELATIVE_PATH} '" )
150
151
if (BUILD_DPCTL_EXT_RELATIVE_PATH )
151
152
set (_rpath_value "${_rpath_value} /${BUILD_DPCTL_EXT_RELATIVE_PATH} " )
152
153
endif ()
154
+ message (STATUS "+-+-+- RPATH_VALUE: '${_rpath_value} ', p1" )
153
155
if (DPCTL_WITH_REDIST )
154
156
set (_rpath_value "${_rpath_value} :${_rpath_value} /../../.." )
155
157
endif ()
158
+ message (STATUS "+-+-+- RPATH_VALUE: '${_rpath_value} ', p2" )
156
159
set_target_properties (${_trgt} PROPERTIES INSTALL_RPATH ${_rpath_value} )
157
160
158
161
install (TARGETS ${_trgt}
You can’t perform that action at this time.
0 commit comments