diff --git a/.github/workflows/bazeltest.yml b/.github/workflows/bazeltest.yml index d3fd30f2..e76f6780 100644 --- a/.github/workflows/bazeltest.yml +++ b/.github/workflows/bazeltest.yml @@ -54,17 +54,16 @@ jobs: - name: Checkout submodules run: git submodule update --init --recursive - name: Install Bazel on CI - run: | + run: | wget https://github.com/bazelbuild/bazel/releases/download/5.3.0/bazel_5.3.0-linux-x86_64.deb sudo dpkg -i bazel_5.3.0-linux-x86_64.deb - name: Install requirements run: | python3 -m pip install -r requirements.txt + - name: Upgrade libc # An LLVM update broke this test, fix per is https://bugs.llvm.org/show_bug.cgi?id=27310. - - name: Upgrade glibc to pypass run: | - wget http://launchpadlibrarian.net/656214525/libc-bin_2.37-0ubuntu2_amd64.deb - sudo dpkg -i libc-bin_2.37-0ubuntu2_amd64.deb + apt-get upgrade libc-bin=2.31-0ubuntu9.9 - name: Run C++ tests run: | bazel test --config=avx --config=openmp \ diff --git a/pybind_interface/Dockerfile b/pybind_interface/Dockerfile index dbbe8d03..26c161c6 100644 --- a/pybind_interface/Dockerfile +++ b/pybind_interface/Dockerfile @@ -4,7 +4,7 @@ FROM qsim # Install additional requirements RUN apt-get install -y python3-dev python3-pybind11 python3-pytest python3-pip -RUN apt-get remove python3-numpy --purge +RUN apt-get remove -y python3-numpy --purge # The --force flag is used mainly so that the old numpy installation from pybind # gets replaced with the one cirq requires