File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,7 @@ SKBUILD_ARGS="-- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
10
10
11
11
if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
12
12
# Install packages and assemble wheel package from built bits
13
- if [ " $CONDA_PY " == " 36" ]; then
14
- WHEELS_BUILD_ARGS=" -p manylinux1_x86_64"
15
- else
16
- WHEELS_BUILD_ARGS=" -p manylinux2014_x86_64"
17
- fi
13
+ WHEELS_BUILD_ARGS=" -p manylinux_${GLIBC_MAJOR} _${GLIBC_MINOR} _x86_64"
18
14
${PYTHON} setup.py install bdist_wheel ${WHEELS_BUILD_ARGS} ${SKBUILD_ARGS}
19
15
cp dist/mkl_umath* .whl ${WHEELS_OUTPUT_FOLDER}
20
16
else
Original file line number Diff line number Diff line change @@ -10,11 +10,7 @@ SKBUILD_ARGS="-- -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
10
10
11
11
if [ -n " ${WHEELS_OUTPUT_FOLDER} " ]; then
12
12
# Install packages and assemble wheel package from built bits
13
- if [ " $CONDA_PY " == " 36" ]; then
14
- WHEELS_BUILD_ARGS=" -p manylinux1_x86_64"
15
- else
16
- WHEELS_BUILD_ARGS=" -p manylinux2014_x86_64"
17
- fi
13
+ WHEELS_BUILD_ARGS=" -p manylinux_${GLIBC_MAJOR} _${GLIBC_MINOR} _x86_64"
18
14
${PYTHON} setup.py install bdist_wheel ${WHEELS_BUILD_ARGS} ${SKBUILD_ARGS}
19
15
cp dist/mkl_umath* .whl ${WHEELS_OUTPUT_FOLDER}
20
16
else
You can’t perform that action at this time.
0 commit comments