mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 05:52:33 +00:00
bonsai: drop Intel macOS builds
Upstream binary builds no longer produce macos64 zips (build_osx builds arm64 only since wgpu Qt), and Blender dropped Intel Mac support in 5.0, so there is nothing left to package for that platform. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -51,19 +51,10 @@ jobs:
|
|||||||
name: "Linux Build",
|
name: "Linux Build",
|
||||||
short_name: linux,
|
short_name: linux,
|
||||||
}
|
}
|
||||||
- {
|
|
||||||
name: "MacOS Build",
|
|
||||||
short_name: macos,
|
|
||||||
}
|
|
||||||
- {
|
- {
|
||||||
name: "MacOS ARM Build",
|
name: "MacOS ARM Build",
|
||||||
short_name: macosm1,
|
short_name: macosm1,
|
||||||
}
|
}
|
||||||
exclude:
|
|
||||||
# Python 3.13 is needed for Blender 5.1+ and Blender dropped Intel Mac support in 5.0.
|
|
||||||
- pyver: py313
|
|
||||||
config:
|
|
||||||
short_name: macos
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: actions/setup-python@v7 # https://github.com/actions/setup-python
|
- uses: actions/setup-python@v7 # https://github.com/actions/setup-python
|
||||||
|
|||||||
@@ -34,19 +34,10 @@ jobs:
|
|||||||
name: "Linux Build",
|
name: "Linux Build",
|
||||||
short_name: linux,
|
short_name: linux,
|
||||||
}
|
}
|
||||||
- {
|
|
||||||
name: "MacOS Build",
|
|
||||||
short_name: macos,
|
|
||||||
}
|
|
||||||
- {
|
- {
|
||||||
name: "MacOS ARM Build",
|
name: "MacOS ARM Build",
|
||||||
short_name: macosm1,
|
short_name: macosm1,
|
||||||
}
|
}
|
||||||
exclude:
|
|
||||||
# Python 3.13 is needed for Blender 5.1+ and Blender dropped Intel Mac support in 5.0.
|
|
||||||
- pyver: py313
|
|
||||||
config:
|
|
||||||
short_name: macos
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- uses: actions/setup-python@v7 # https://github.com/actions/setup-python
|
- uses: actions/setup-python@v7 # https://github.com/actions/setup-python
|
||||||
|
|||||||
+3
-22
@@ -69,32 +69,17 @@ endif # def PYVERSION
|
|||||||
IFCMERGE_VERSION:=2026-04-07
|
IFCMERGE_VERSION:=2026-04-07
|
||||||
|
|
||||||
ifdef PLATFORM
|
ifdef PLATFORM
|
||||||
SUPPORTED_PLATFORMS := linux macos macosm1 win
|
SUPPORTED_PLATFORMS := linux macosm1 win
|
||||||
|
|
||||||
ifeq ($(filter $(PLATFORM),$(SUPPORTED_PLATFORMS)),)
|
ifeq ($(filter $(PLATFORM),$(SUPPORTED_PLATFORMS)),)
|
||||||
$(error Unsupported PLATFORM=$(PLATFORM). Must be one of $(SUPPORTED_PLATFORMS))
|
$(error Unsupported PLATFORM=$(PLATFORM). Must be one of $(SUPPORTED_PLATFORMS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),macos)
|
|
||||||
ifeq ($(PYVERSION),py313)
|
|
||||||
$(error Blender 5.1 with Python 3.13 doesn't support intel macOS.)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(PLATFORM), linux)
|
ifeq ($(PLATFORM), linux)
|
||||||
PYPI_PLATFORM:=--platform manylinux_2_17_x86_64
|
PYPI_PLATFORM:=--platform manylinux_2_17_x86_64
|
||||||
BLENDER_PLATFORM:=linux-x64
|
BLENDER_PLATFORM:=linux-x64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM), macos)
|
|
||||||
ifeq ($(PYVERSION), py311)
|
|
||||||
PYPI_PLATFORM:=--platform macosx_10_10_x86_64
|
|
||||||
else
|
|
||||||
PYPI_PLATFORM:=--platform macosx_10_13_x86_64
|
|
||||||
endif
|
|
||||||
BLENDER_PLATFORM:=macos-x64
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(PLATFORM), macosm1)
|
ifeq ($(PLATFORM), macosm1)
|
||||||
PYPI_PLATFORM:=--platform macosx_11_0_arm64
|
PYPI_PLATFORM:=--platform macosx_11_0_arm64
|
||||||
BLENDER_PLATFORM:=macos-arm64
|
BLENDER_PLATFORM:=macos-arm64
|
||||||
@@ -194,10 +179,8 @@ endif
|
|||||||
# Provides networkx graph analysis for project dependency calculations
|
# Provides networkx graph analysis for project dependency calculations
|
||||||
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download networkx --dest=./wheels
|
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download networkx --dest=./wheels
|
||||||
# Required by IFCDiff
|
# Required by IFCDiff
|
||||||
# Pinned <9.1: deepdiff 9.1.0 adds cachebox<6,>=5.2 which only ships macOS x86_64
|
# Pinned <9.1: deepdiff 9.1.0 adds the compiled dependency cachebox<6,>=5.2,
|
||||||
# wheels for macosx_10_12+ and is incompatible with our macos py311 --platform
|
# which this platformless download cannot provide for every target platform.
|
||||||
# macosx_10_10_x86_64 target. Revisit once the macos py311 platform tag is bumped
|
|
||||||
# to 10_13 (matching py312/py313).
|
|
||||||
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download "deepdiff<9.1" --dest=./wheels
|
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download "deepdiff<9.1" --dest=./wheels
|
||||||
# Required by IFCCSV and ifcopenshell.util.selector
|
# Required by IFCCSV and ifcopenshell.util.selector
|
||||||
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download lark --dest=./wheels
|
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download lark --dest=./wheels
|
||||||
@@ -215,8 +198,6 @@ endif
|
|||||||
# pyradiance is using different platform versions than defaults in our makefile.
|
# pyradiance is using different platform versions than defaults in our makefile.
|
||||||
ifeq ($(PLATFORM), linux)
|
ifeq ($(PLATFORM), linux)
|
||||||
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download pyradiance --platform manylinux_2_28_x86_64 --python-version $(PYPI_VERSION) --implementation $(PYPI_IMP) --only-binary=:all: --dest=./wheels
|
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download pyradiance --platform manylinux_2_28_x86_64 --python-version $(PYPI_VERSION) --implementation $(PYPI_IMP) --only-binary=:all: --dest=./wheels
|
||||||
else ifeq ($(PLATFORM), macos)
|
|
||||||
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download pyradiance --platform macosx_10_13_x86_64 --python-version $(PYPI_VERSION) --implementation $(PYPI_IMP) --only-binary=:all: --dest=./wheels
|
|
||||||
else
|
else
|
||||||
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download pyradiance $(PYPI_PLATFORM) --python-version $(PYPI_VERSION) --implementation $(PYPI_IMP) --only-binary=:all: --dest=./wheels
|
cd build && . env/$(VENV_ACTIVATE) && $(PIP) download pyradiance $(PYPI_PLATFORM) --python-version $(PYPI_VERSION) --implementation $(PYPI_IMP) --only-binary=:all: --dest=./wheels
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user