Skip to content

Commit

Permalink
CI: macOS Python Executable
Browse files Browse the repository at this point in the history
Ensure we always use the same `python3` executable, as specified
by the `PATH` priority.
  • Loading branch information
ax3l committed Jul 24, 2023
1 parent 1ec5bc6 commit 5076c6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ jobs:
ccache-macos-appleclang-
- name: build WarpX
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade pip setuptools wheel
cmake -S . -B build_dp \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DWarpX_EB=ON \
Expand All @@ -72,14 +75,13 @@ jobs:
cmake -S . -B build_sp \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DPython_EXECUTABLE=$(which python3) \
-DWarpX_EB=ON \
-DWarpX_PYTHON=ON \
-DWarpX_OPENPMD=ON \
-DWarpX_openpmd_internal=OFF \
-DWarpX_PRECISION=SINGLE
cmake --build build_sp -j 3
python3 -m pip install --upgrade pip setuptools wheel
cmake --build build_sp --target pip_install
- name: run pywarpx
Expand Down

0 comments on commit 5076c6c

Please sign in to comment.