Skip to content

Commit 50f5a16

Browse files
test
1 parent 49b4c74 commit 50f5a16

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@ build-backend = "setuptools.build_meta"
99
[tool.cibuildwheel]
1010
environment-pass = ["CUDA_PATH"]
1111
environment.PATH = "${PATH}:${CUDA_PATH}/bin"
12-
environment.LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$CUDA_PATH/lib:$CUDA_PATH/lib64"
12+
environment.LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${CUDA_PATH}/lib:${CUDA_PATH}/lib64"
1313
environment.cuda = "12.9"
1414
environment.temp = "/tmp/cuda-temp"
1515
xbuild-tools = ["cmake", "ninja"]
1616

1717
[tool.cibuildwheel.linux]
18-
before-all = "{package}/scripts/build-env/manylinux.sh"
18+
before-all = [
19+
"chmod +x {package}/scripts/build-env/manylinux.sh",
20+
"{package}/scripts/build-env/manylinux.sh"
21+
]
1922
xbuild-tools = ["cmake", "ninja", "nvcc"]

scripts/build-env/manylinux.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,17 @@ fi
1313
cd ../..
1414

1515
# Install dependencies for building Tensor-Array on manylinux
16+
echo "Installing dependencies for building Tensor-Array on manylinux..."
1617
chmod +x tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh
18+
echo "Installing required packages..."
1719
$USE_SUDO dnf -y install redhat-lsb-core wget
20+
echo "Running CUDA installation script..."
1821
tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh
1922

2023
# Check if nvcc is available
24+
echo "Checking for nvcc..."
2125
if ! command -v nvcc &> /dev/null; then
2226
echo "nvcc could not be found. Please ensure CUDA is installed correctly."
2327
exit 1
2428
fi
29+
echo "nvcc is available. Proceeding with the build environment setup."

0 commit comments

Comments
 (0)