File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ pacman -Syu --noconfirm --needed \
3030
3131if $shared ; then
3232 pacman -S --noconfirm --needed \
33- gcc \
3433 java-environment=8 \
3534 libarchive \
3635 protobuf \
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ if [ "@ALLOW_CUDA@" = "ON" ] && [ -n "${CUDA_TOOLKIT_PATH}" ]; then
6767
6868 # choose the right version of CUDA compiler
6969 if [ -z " $GCC_HOST_COMPILER_PATH " ]; then
70- if hash gcc 2> /dev/null && version_gt 8.5 ` gcc -dumpversion` ; then
71- export GCC_HOST_COMPILER_PATH=${GCC_HOST_COMPILER_PATH:- " /usr/bin/gcc" }
70+ if hash gcc-8 2> /dev/null && version_gt 8.5 ` gcc-8 -dumpversion` ; then
71+ export GCC_HOST_COMPILER_PATH=${GCC_HOST_COMPILER_PATH:- " /usr/bin/gcc-8 " }
7272 elif hash gcc-7 2> /dev/null && version_gt 7.5 ` gcc-7 -dumpversion` ; then
7373 export GCC_HOST_COMPILER_PATH=${GCC_HOST_COMPILER_PATH:- " /usr/bin/gcc-7" }
7474 elif hash gcc-6 2> /dev/null && version_gt 6.4 ` gcc-6 -dumpversion` ; then
You can’t perform that action at this time.
0 commit comments