mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-28 07:49:59 +00:00
Enable ccache explicitly for builds #9359
Since it's now off by default
This commit is contained in:
@@ -44,6 +44,7 @@ jobs:
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=$PWD/install/ \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DUSE_CCACHE=ON \
|
||||
-DCMAKE_PREFIX_PATH=/usr \
|
||||
-DCMAKE_SYSTEM_PREFIX_PATH=/usr \
|
||||
-DBUILD_PACKAGE=On \
|
||||
|
||||
@@ -185,6 +185,7 @@ jobs:
|
||||
-DPYTHON_EXECUTABLE:FILEPATH=${{ env.pythonLocation }}/bin/python \
|
||||
-DPYTHON_INCLUDE_DIR:PATH=${{ env.pythonLocation }}/include/python3.11 \
|
||||
-DUSE_MMAP=On \
|
||||
-DUSE_CCACHE=ON \
|
||||
-DBUILD_SHARED_LIBS=${{ matrix.build_shared_libs }} \
|
||||
"-DSCHEMA_VERSIONS=2x3;4;4x3_add2" \
|
||||
-DGLTF_SUPPORT=On \
|
||||
|
||||
@@ -1701,6 +1701,7 @@ ifcos_build_args = [
|
||||
f"-DBUILD_CONVERT={OFF_ON['IfcConvert' in targets]}",
|
||||
f"-DBUILD_BONSAIVIEWER={OFF_ON['BonsaiViewer' in targets]}",
|
||||
f"-DCMAKE_INSTALL_PREFIX={DEPS_DIR}/install/ifcopenshell",
|
||||
"-DUSE_CCACHE=ON",
|
||||
]
|
||||
|
||||
if not WASM and (
|
||||
|
||||
@@ -210,6 +210,7 @@ def build() -> None:
|
||||
"-DGLTF_SUPPORT=ON",
|
||||
"-DBUILD_EXAMPLES=OFF",
|
||||
"-DBUILD_BONSAIVIEWER=ON",
|
||||
"-DUSE_CCACHE=ON",
|
||||
]
|
||||
)
|
||||
restore_env(*OLD_ADD_COMMIT_SHA)
|
||||
|
||||
Reference in New Issue
Block a user