Skip to content

Commit

Permalink
try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NoureldinYosri committed Oct 2, 2023
1 parent fab46a2 commit b437035
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bazeltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Upgrade libc
# An LLVM update broke this test, fix per is https://bugs.llvm.org/show_bug.cgi?id=27310.
run: |
apt-get upgrade libc-bin=2.31-0ubuntu9.9
sudo apt-get upgrade libc-bin=2.31-0ubuntu9.9
- name: Run C++ tests
run: |
bazel test --config=avx --config=openmp \
Expand Down
7 changes: 4 additions & 3 deletions pybind_interface/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
FROM qsim

# Install additional requirements
RUN apt-get install -y python3-dev python3-pybind11 python3-pytest python3-pip
RUN apt-get install -y python3-dev python3-pytest python3-pip

RUN apt-get remove -y python3-numpy --purge
# Install pybind11
RUN pip3 install --prefer-binary pybind11

# The --force flag is used mainly so that the old numpy installation from pybind
# gets replaced with the one cirq requires
RUN pip3 install --prefer-binary cirq-core --force
RUN pip3 install --prefer-binary cirq-core

# Copy relevant files
COPY ./pybind_interface/ /qsim/pybind_interface/
Expand Down

0 comments on commit b437035

Please sign in to comment.