Fix MacOS toolset to 10.13 due to rocksdb alignment requirements

This commit is contained in:
Thomas Krijnen
2025-08-27 13:23:43 +02:00
parent 46693baacf
commit b92871818a
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -86,6 +86,7 @@ jobs:
-DWITH_BENCHMARK_TOOLS=OFF \
-DWITH_CORE_TOOLS=OFF \
-DROCKSDB_BUILD_SHARED=Off \
-DCMAKE_POSITION_INDEPENDENT_CODE=On \
..
sudo make -j$(nproc) install
+2 -1
View File
@@ -191,7 +191,8 @@ TOOLSET = None
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"
IFCOS_NUM_BUILD_PROCS = os.getenv("IFCOS_NUM_BUILD_PROCS", multiprocessing.cpu_count() + 1)