Skip to content

Commit 13c3fe9

Browse files
committed
mv
1 parent 262e11a commit 13c3fe9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build_osx.yml

+6
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ jobs:
1818
arch: x64
1919
oldarch:
2020
cpuarch: x86_64
21+
macosx_ver: '10_15'
2122
- os: macos
2223
runner: macos-14
2324
arch: arm64
2425
oldarch: m1
2526
cpuarch: arm64
27+
macosx_ver: '11_0'
2628

2729
steps:
2830
- name: Checkout Repository
@@ -89,6 +91,9 @@ jobs:
8991
9092
- name: Compile voxec
9193
run: |
94+
export CFLAGS="-Wl,-flat_namespace,-undefined,suppress"
95+
export CXXFLAGS="-Wl,-flat_namespace,-undefined,suppress"
96+
export LDFLAGS="-Wl,-flat_namespace,-undefined,suppress"
9297
base=$(find $PWD/IfcOpenShell/build -maxdepth 4 -name install)
9398
mkdir build
9499
cd build
@@ -125,6 +130,7 @@ jobs:
125130
PATH=$base/python-3.9.11/bin:$PATH python3 -m pip install build delocate
126131
PATH=$base/python-3.9.11/bin:$PATH python3 -m build -w
127132
PATH=$base/python-3.9.11/bin:$PATH delocate-wheel dist/*.whl -w audited
133+
mv audited/voxec-0.4.0-cp39-none-any.whl audited/voxec-0.4.0-cp39-none-macosx_${{ matrix.macosx_ver }}_x86_64.whl
128134
129135
- name: Publish a Python distribution to PyPI
130136
uses: ortega2247/pypi-upload-action@master

0 commit comments

Comments
 (0)