From 01ea1f627d684835f62a1816c0ea0ea21a286ea1 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 28 Aug 2025 17:06:12 +0200 Subject: [PATCH] Fix MacOS toolset to 10.15 due to std::filesystem --- nix/build-all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/build-all.py b/nix/build-all.py index 40f4e11170..0d71200770 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -192,7 +192,8 @@ if platform.system() == "Darwin": # C++11 features used in OCCT 7+ need a more recent stdlib TOOLSET = "10.9" if USE_OCCT else "10.6" # /Users/runner/work/IfcOpenShell/IfcOpenShell/build/Darwin/arm64/10.9/build/rocksdb/cache/clock_cache.cc:732:14: error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer - TOOLSET = "10.13" + # /Users/runner/work/IfcOpenShell/IfcOpenShell/src/ifcparse/IfcFile.cpp:539:14: error: 'exists' is unavailable: introduced in macOS 10.15 + TOOLSET = "10.15" IFCOS_NUM_BUILD_PROCS = os.getenv("IFCOS_NUM_BUILD_PROCS", multiprocessing.cpu_count() + 1)