Skip to content

Commit

Permalink
Firedrake CI: Install pocl via PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Nov 15, 2023
1 parent ab106d9 commit 6c85158
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .ci/install-for-firedrake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,21 @@ sudo apt update
sudo apt upgrade -y
sudo apt install time

# Otherwise we get missing CL symbols
export PYOPENCL_CL_PRETEND_VERSION=2.1
sudo apt install -y pocl-opencl-icd ocl-icd-opencl-dev

. /home/firedrake/firedrake/bin/activate
grep -v loopy requirements.txt > /tmp/myreq.txt

# no need for these in the Firedrake tests
sed -i "/boxtree/ d" /tmp/myreq.txt
sed -i "/sumpy/ d" /tmp/myreq.txt
sed -i "/pytential/ d" /tmp/myreq.txt
sed -i "/pyopencl/ d" /tmp/myreq.txt

# This shouldn't be necessary, but...
# https://github.com/inducer/meshmode/pull/48#issuecomment-687519451
pip install pybind11

pip install pytest

pip install -r /tmp/myreq.txt
pip install pyopencl[pocl]

# Context: https://github.com/OP2/PyOP2/pull/605
python -m pip install --force-reinstall git+https://github.com/inducer/pytools.git
Expand Down

0 comments on commit 6c85158

Please sign in to comment.