Skip to content

Commit 5fdc9a3

Browse files
Update linux build tah for wheels (#244)
1 parent e6765c9 commit 5fdc9a3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

conda-recipe/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ ${PYTHON} setup.py clean --all
1313
${PYTHON} setup.py install
1414

1515
# Build wheel package
16+
if [ "$CONDA_PY" == "36" ]; then
17+
WHEELS_BUILD_ARGS="-p manylinux1_x86_64"
18+
else
19+
WHEELS_BUILD_ARGS="-p manylinux2014_x86_64"
20+
fi
1621
if [ -n "${WHEELS_OUTPUT_FOLDER}" ]; then
17-
$PYTHON setup.py bdist_wheel -p manylinux1_x86_64
22+
$PYTHON setup.py bdist_wheel ${WHEELS_BUILD_ARGS}
1823
cp dist/dpctl*.whl ${WHEELS_OUTPUT_FOLDER}
1924
fi

0 commit comments

Comments
 (0)