File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,18 @@ 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
pushd dist
30
- ${PYTHON} -m wheel unpack -d dpctl_wheel
30
+ ${PYTHON} -m wheel unpack -d dpctl_wheel dpctl * .whl
31
31
export lib_name=libDPCTLSyclInterface
32
- export so_name =$( find dpctl -regextype posix-extended -regex ' ^.*${lib_name}\.so' -exec basename \{\} \; )
33
- export sox_name =$( find dpctl -regextype posix-extended -regex ' ^.*${lib_name}\.so\.[0-9]*$' -exec basename \{\} \; )
34
- export soxxx_name =$( find dpctl -regextype posix-extended -regex ' ^.*${lib_name}\.so\.[0-9]*\.[0-9]*$' -exec basename \{\} \; )
32
+ export so_full_path =$( find dpctl_wheel -regextype posix-extended -regex ' ^.*${lib_name}\.so' )
33
+ export sox_full_path =$( find dpctl_wheel -regextype posix-extended -regex ' ^.*${lib_name}\.so\.[0-9]*$' )
34
+ export soxxx_full_path =$( find dpctl_wheel -regextype posix-extended -regex ' ^.*${lib_name}\.so\.[0-9]*\.[0-9]*$' )
35
35
rm -rf ${so_name} ${soxxx_name}
36
+ export so_name=$( basename ${so_full_path} )
37
+ export sox_name=$( basename ${sox_full_path} )
38
+ export soxxx_name=$( basename ${soxxx_full_path} )
39
+ export wheel_path=$( dirname $( dirname ${so_full_path} ) )
36
40
# deal with hard copies
37
- ${PYTHON} -m wheel pack dpctl_wheel
41
+ ${PYTHON} -m wheel pack ${wheel_path}
38
42
rm -rf dpctl_wheel
39
43
popd ..
40
44
${PYTHON} -m wheel tags --remove --build " $GIT_DESCRIBE_NUMBER " \
You can’t perform that action at this time.
0 commit comments