Skip to content

Commit 8594878

Browse files
test
1 parent 6881c8b commit 8594878

File tree

3 files changed

+224
-216
lines changed

3 files changed

+224
-216
lines changed

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ manylinux-pypy_x86_64-image = "manylinux2014"
1313
manylinux-aarch64-image = "manylinux2014"
1414
manylinux-ppc64le-image = "manylinux2014"
1515
manylinux-s390x-image = "manylinux2014"
16+
musllinux_x86_64-image = "musllinux_1_1"
17+
musllinux_i686-image = "musllinux_1_1"
18+
musllinux_aarch64-image = "musllinux_1_1"
19+
musllinux-ppc64le-image = "musllinux_1_1"
20+
musllinux-s390x-image = "musllinux_1_1"
21+
musllinux-armv7l-image = "musllinux_1_1"
1622
xbuild-tools = ["cmake", "ninja"]
1723

1824
[tool.cibuildwheel.linux]

scripts/build-env/manylinux.sh

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
#!/bin/bash
2-
3-
# Decide if we can proceed or not (root or sudo is required) and if so store whether sudo should be used or not.
4-
if [ "$is_root" = false ] && [ "$has_sudo" = false ]; then
5-
echo "Root or sudo is required. Aborting."
6-
exit 1
7-
elif [ "$is_root" = false ] ; then
8-
USE_SUDO=sudo
9-
else
10-
USE_SUDO=
11-
fi
12-
13-
cd ../..
14-
15-
# Install dependencies for building Tensor-Array on manylinux
16-
echo "Installing dependencies for building Tensor-Array on manylinux..."
17-
chmod +x tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh
18-
echo "Installing required packages..."
19-
$USE_SUDO yum install -y redhat-lsb-core wget
20-
echo "Running CUDA installation script..."
21-
tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh
22-
23-
# debugging output
24-
echo
25-
echo "------------------------------"
26-
echo
27-
echo "CUDA_PATH="
28-
echo "$CUDA_PATH"
29-
echo
30-
echo "PATH="
31-
echo "$PATH"
32-
echo "LD_LIBRARY_PATH="
33-
echo "$LD_LIBRARY_PATH"
34-
echo
35-
echo "------------------------------"
36-
echo
37-
38-
# Check if nvcc is available
39-
echo "Checking for nvcc..."
40-
if ! command -v nvcc &> /dev/null; then
41-
echo "nvcc could not be found. Please ensure CUDA is installed correctly."
42-
exit 1
43-
fi
44-
echo "nvcc is available. Proceeding with the build environment setup."
1+
#!/bin/bash
2+
3+
# Decide if we can proceed or not (root or sudo is required) and if so store whether sudo should be used or not.
4+
if [ "$is_root" = false ] && [ "$has_sudo" = false ]; then
5+
echo "Root or sudo is required. Aborting."
6+
exit 1
7+
elif [ "$is_root" = false ] ; then
8+
USE_SUDO=sudo
9+
else
10+
USE_SUDO=
11+
fi
12+
13+
cd ../..
14+
15+
# Install dependencies for building Tensor-Array on manylinux
16+
echo "Installing dependencies for building Tensor-Array on manylinux..."
17+
chmod +x tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh
18+
echo "Installing required packages..."
19+
$USE_SUDO yum install -y redhat-lsb-core wget
20+
echo "Running CUDA installation script..."
21+
tensor-array-repo/Tensor-Array/scripts/actions/install-cuda-rhel.sh
22+
23+
# debugging output
24+
echo
25+
echo "------------------------------"
26+
echo
27+
echo "CUDA_PATH="
28+
echo "$CUDA_PATH"
29+
echo
30+
echo "PATH="
31+
echo "$PATH"
32+
echo "LD_LIBRARY_PATH="
33+
echo "$LD_LIBRARY_PATH"
34+
echo
35+
echo "------------------------------"
36+
echo
37+
38+
# Check if nvcc is available
39+
echo "Checking for nvcc..."
40+
if ! command -v nvcc &> /dev/null; then
41+
echo "nvcc could not be found. Please ensure CUDA is installed correctly."
42+
exit 1
43+
fi
44+
echo "nvcc is available. Proceeding with the build environment setup."

0 commit comments

Comments
 (0)