Skip to content

Commit

Permalink
Update python path.
Browse files Browse the repository at this point in the history
  • Loading branch information
t-paul committed Mar 21, 2023
1 parent e31765c commit ef93b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -182,7 +182,7 @@ jobs:
name: Install Homebrew packages
command: |
brew update
brew install automake libtool cmake pkg-config wget meson python
brew install automake libtool cmake pkg-config wget meson python3
- restore_cache:
keys:
# CircleCI library caching. If we ever need invalidate the cache (e.g. to remove any old files
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
name: Build OpenSCAD
command: |
export NUMCPU=$(($(sysctl -n hw.ncpu) * 3 / 2))
export PYTHON_EXECUTABLE=$(ls -1 /opt/homebrew/bin/python3.* | head -n1)
export PYTHON_EXECUTABLE=$(ls -1 /usr/local/bin/python3.* | head -n1)

This comment has been minimized.

Copy link
@kintel

kintel Mar 21, 2023

Member

Oh, right /opt/homebrew is for Apple Silicon and /usr/local is for Intel.
Ideally, this should be in the PATH, so python3 should also work, but I don't know how $PYTHON_EXECUTABLE is evaluated later on..

time ./scripts/release-common.sh snapshot
cd build
OPENSCAD_NAME=$(ls OpenSCAD-*.dmg)
Expand Down

0 comments on commit ef93b2f

Please sign in to comment.