File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ echo "--gcc-toolchain=${BUILD_PREFIX} --sysroot=${BUILD_PREFIX}/${HOST}/sysroot
8
8
export ICPXCFG=" $( pwd) /icpx_for_conda.cfg"
9
9
export ICXCFG=" $( pwd) /icpx_for_conda.cfg"
10
10
11
+ read -r GLIBC_MAJOR GLIBC_MINOR <<< " $(conda list '^sysroot_linux-64$' \
12
+ | tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')"
13
+
11
14
if [ -e " _skbuild" ]; then
12
15
${PYTHON} setup.py clean --all
13
16
fi
@@ -24,7 +27,8 @@ CMAKE_ARGS="${CMAKE_ARGS} -DDPCTL_LEVEL_ZERO_INCLUDE_DIR=${PREFIX}/include/level
24
27
# -wnx flags mean: --wheel --no-isolation --skip-dependency-check
25
28
${PYTHON} -m build -w -n -x
26
29
${PYTHON} -m wheel tags --remove --build " $GIT_DESCRIBE_NUMBER " \
27
- --platform-tag manylinux2014_x86_64 dist/dpctl* .whl
30
+ --platform-tag " manylinux_${GLIBC_MAJOR} _${GLIBC_MINOR} _x86_64" \
31
+ dist/dpctl* .whl
28
32
${PYTHON} -m pip install dist/dpctl* .whl \
29
33
--no-build-isolation \
30
34
--no-deps \
You can’t perform that action at this time.
0 commit comments