Fix macOS wheel: set MACOSX_DEPLOYMENT_TARGET=11.0

actions/setup-python sets a deployment target older than 10.15,
which makes std::filesystem unavailable. Explicitly set 11.0.

Made-with: Cursor
This commit is contained in:
Akash Levy 2026-02-28 20:04:59 -08:00
parent b2b1e651f7
commit d62702bd70
1 changed files with 2 additions and 0 deletions

View File

@ -129,12 +129,14 @@ jobs:
- name: Build Verific tclmain
run: |
export PATH="$(brew --prefix bison)/bin:$(brew --prefix flex)/bin:$PATH"
export MACOSX_DEPLOYMENT_TARGET=11.0
cd verific/tclmain
make
- name: Build wheel
run: |
export PATH="$(brew --prefix bison)/bin:$(brew --prefix flex)/bin:$PATH"
export MACOSX_DEPLOYMENT_TARGET=11.0
_PYOSYS_OVERRIDE_VER=$(
grep "^YOSYS_VER " Makefile | head -1 | sed "s/.*:= *//" | tr "+" "."
) python3 setup.py bdist_wheel --dist-dir dist