Skip to content

Commit 8b36d7e

Browse files
authored
Do not update GLIBC for Cuda on Linux
1 parent 257bbb0 commit 8b36d7e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ jobs:
5050
steps:
5151
- name: Install environment
5252
run: |
53-
yum -y update
54-
yum -y install centos-release-scl-rh epel-release
55-
yum -y install java-1.8.0-openjdk-devel devtoolset-7 rh-git218 patch python36-devel python36-numpy python36-pip python36-six
53+
echo Not updating glibc since CUDA fails with updated versions
54+
GLIBC="glibc glibc-common glibc-devel glibc-headers"
55+
yum --disablerepo updates -y install $GLIBC
56+
yum -x "$GLIBC" -y update
57+
yum -x "$GLIBC" -y install centos-release-scl-rh epel-release
58+
yum -x "$GLIBC" -y install java-1.8.0-openjdk-devel devtoolset-7 rh-git218 patch perl-Data-Dumper python36-devel python36-numpy python36-pip python36-six
5659
echo Downloading Maven
5760
curl -L https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz -o $HOME/apache-maven-3.6.3-bin.tar.gz
5861
tar xzf $HOME/apache-maven-3.6.3-bin.tar.gz -C /opt/

0 commit comments

Comments
 (0)