Skip to content

Commit

Permalink
Fix pip install gt4py
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzovarese committed Jul 18, 2024
1 parent 1eea839 commit 02ee8b7
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/benchmark_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ jobs:
- name: Set up Python environment
run: |
sudo apt-get update
sudo apt-get install python3-pip
python3 -m pip install gt4py.next
sudo apt-get install python3-pip python3-venv
python3 -m venv ~/gt4py-venv
source ~/gt4py-venv/bin/activate
python3 -m pip install --upgrade pip
- name: Install GT4Py from specific branch
run: |
git clone --branch fix_python_interp_path_in_cmake https://github.com/tehrengruber/gt4py.git ~/gt4py
pip install -r ~/gt4py/requirements-dev.txt
pip install -e ~/gt4py
- name: Configure PyCall
run: |
julia -e 'using Pkg; ENV["PYTHON"]="/usr/bin/python3"; Pkg.build("PyCall");'
julia -e 'using Pkg; ENV["PYTHON"]="~/gt4py-venv/bin/python3"; Pkg.build("PyCall");'
- name: Extract Package Name from Project.toml
id: extract-package-name
run: |
Expand Down Expand Up @@ -82,4 +89,4 @@ jobs:
# comment-id: ${{ steps.fcbenchmark.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
body-path: body.md
edit-mode: replace
edit-mode: replace

0 comments on commit 02ee8b7

Please sign in to comment.