From 6095a21c332caa3435e5ce9a88f544f2b9c3be5b Mon Sep 17 00:00:00 2001 From: Christian Heitman Date: Thu, 26 Oct 2023 15:26:48 -0300 Subject: [PATCH] Update wheel build script for linux --- src/scripts/docker/build-wheel-linux.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/docker/build-wheel-linux.sh b/src/scripts/docker/build-wheel-linux.sh index 9855c2a01..4dd49e673 100755 --- a/src/scripts/docker/build-wheel-linux.sh +++ b/src/scripts/docker/build-wheel-linux.sh @@ -33,7 +33,7 @@ export CMAKE_PREFIX_PATH=$($DEPENDENCIES_DIR/clang+llvm-12.0.1-x86_64-linux-gnu- # Build Triton Python wheel package for Python 3.8. echo "[+] Build Triton wheel package for Python 3.8" cd $SOURCE_DIR -export PYTHON_BINARY=/opt/_internal/cpython-3.8.18/bin/python +export PYTHON_BINARY=/opt/_internal/cpython-3.8.*/bin/python export PYTHON_INCLUDE_DIRS=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])") export PYTHON_LIBRARY=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])") @@ -42,7 +42,7 @@ $PYTHON_BINARY -m build --wheel --outdir $WHEEL_DIR/linux_x86_64 # Build Triton Python wheel package for Python 3.9. echo "[+] Build Triton wheel package for Python 3.9" cd $SOURCE_DIR -export PYTHON_BINARY=/opt/_internal/cpython-3.9.18/bin/python +export PYTHON_BINARY=/opt/_internal/cpython-3.9.*/bin/python export PYTHON_INCLUDE_DIRS=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])") export PYTHON_LIBRARY=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])") @@ -51,7 +51,7 @@ $PYTHON_BINARY -m build --wheel --outdir $WHEEL_DIR/linux_x86_64 # Build Triton Python wheel package for Python 3.10. echo "[+] Build Triton wheel package for Python 3.10" cd $SOURCE_DIR -export PYTHON_BINARY=/opt/_internal/cpython-3.10.13/bin/python +export PYTHON_BINARY=/opt/_internal/cpython-3.10.*/bin/python export PYTHON_INCLUDE_DIRS=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])") export PYTHON_LIBRARY=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])") @@ -60,7 +60,7 @@ $PYTHON_BINARY -m build --wheel --outdir $WHEEL_DIR/linux_x86_64 # Build Triton Python wheel package for Python 3.11. echo "[+] Build Triton wheel package for Python 3.11" cd $SOURCE_DIR -export PYTHON_BINARY=/opt/_internal/cpython-3.11.5/bin/python +export PYTHON_BINARY=/opt/_internal/cpython-3.11.*/bin/python export PYTHON_INCLUDE_DIRS=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])") export PYTHON_LIBRARY=$($PYTHON_BINARY -c "from sysconfig import get_paths; print(get_paths()['include'])")