Skip to content

Commit

Permalink
Specify python version (3.10) (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfengTT authored Nov 5, 2024
1 parent 3883db6 commit 6bad515
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.10'

- name: Install build dependencies
uses: ./.github/actions/install-deps
Expand Down
3 changes: 2 additions & 1 deletion env/build_venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

OS=$(uname)
TTMLIR_VENV=$TTMLIR_TOOLCHAIN_DIR/venv
TTMLIR_PYTHON_VERSION="${TTMLIR_PYTHON_VERSION:-python3.10}"

python3 -m venv $TTMLIR_VENV
$TTMLIR_PYTHON_VERSION -m venv $TTMLIR_VENV
source $CURRENT_SOURCE_DIR/activate
python -m pip install --upgrade pip
pip install -r $CURRENT_SOURCE_DIR/build-requirements.txt
Expand Down

0 comments on commit 6bad515

Please sign in to comment.