Skip to content

Commit fc144ab

Browse files
Debugging messages/steps added, to be reverted
1 parent e4f3964 commit fc144ab

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

conda-recipe/build.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ CMAKE_ARGS="${CMAKE_ARGS} -DDPCTL_LEVEL_ZERO_INCLUDE_DIR=${PREFIX}/include/level
2727
# -wnx flags mean: --wheel --no-isolation --skip-dependency-check
2828
${PYTHON} -m build -w -n -x
2929

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+
3038
${PYTHON} -m wheel tags --remove --build "$GIT_DESCRIBE_NUMBER" \
3139
--platform-tag "manylinux_${GLIBC_MAJOR}_${GLIBC_MINOR}_x86_64" \
3240
dist/dpctl*.whl

dpctl/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,15 @@ function(build_dpctl_ext _trgt _src _dest)
147147
# TODO: do not set directory if we did not generate header
148148
target_include_directories(${_trgt} INTERFACE ${_generated_src_dir_dir})
149149
set(_rpath_value "$ORIGIN")
150+
message(STATUS "+-+-+- '${BUILD_DPCTL_EXT_RELATIVE_PATH}'")
150151
if (BUILD_DPCTL_EXT_RELATIVE_PATH)
151152
set(_rpath_value "${_rpath_value}/${BUILD_DPCTL_EXT_RELATIVE_PATH}")
152153
endif()
154+
message(STATUS "+-+-+- RPATH_VALUE: '${_rpath_value}', p1")
153155
if (DPCTL_WITH_REDIST)
154156
set(_rpath_value "${_rpath_value}:${_rpath_value}/../../..")
155157
endif()
158+
message(STATUS "+-+-+- RPATH_VALUE: '${_rpath_value}', p2")
156159
set_target_properties(${_trgt} PROPERTIES INSTALL_RPATH ${_rpath_value})
157160

158161
install(TARGETS ${_trgt}

0 commit comments

Comments
 (0)