Skip to content

Commit f4610a2

Browse files
Update manylinux.sh
1 parent eb83f53 commit f4610a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/build-env/manylinux.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ then
5757
else
5858
echo "Build directory already exists."
5959
fi
60+
6061
# Change to the build directory
6162
cd build
6263
# Configure the build with CMake
6364
echo "Configuring the build with CMake..."
6465
cmake .. \
6566
-DCMAKE_C_COMPILER="/usr/bin/gcc" \
6667
-DCMAKE_CXX_COMPILER="/usr/bin/g++" \
67-
-DCMAKE_CUDA_COMPILER="$(which nvcc)"
68+
-DCMAKE_CUDA_COMPILER="$(which nvcc)" \
69+
-DCMAKE_CUDA_FLAGS="-ccbin /usr/bin/gcc"
6870
cmake --build .
6971
cmake --install .
7072

0 commit comments

Comments
 (0)