Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Fixing the build on macOS #862

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/actions/install-python-and-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,21 @@ runs:
python -m pip install --upgrade pip setuptools wheel

# only necessary on linux to avoid bloated installs
# pining the version of torch is temporary, see see #829
- name: Install tensorflow/pytorch cpu version
if: runner.os == 'Linux' && steps.cache-python-env.outputs.cache-hit != 'true'
shell: bash {0}
run: |
python -m pip install torch==2.3.1 --index-url https://download.pytorch.org/whl/cpu
python -m pip install --index-url https://download.pytorch.org/whl/cpu
python -m pip install tensorflow-cpu

# temporary: explicitly install wheel followed by numpy on macOS, see #861
- name: Install wheel and numpy
if: runner.os == 'macOS'
shell: bash {0}
run: |
python -m pip install wheel
python -m pip install "$(grep numpy setup.cfg | head -n 1)"

- name: Install DIANNA
shell: bash {0}
run: |
Expand Down
Loading