diff --git a/.github/workflows/ci-ifcopenshell-docker.yml b/.github/workflows/ci-ifcopenshell-docker.yml index 2c9f12d519..4e75a7396c 100644 --- a/.github/workflows/ci-ifcopenshell-docker.yml +++ b/.github/workflows/ci-ifcopenshell-docker.yml @@ -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 \ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b67481a3a9..4f71ac2423 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ diff --git a/nix/build-all.py b/nix/build-all.py index efd0017e13..ccf7e42cc6 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -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 ( diff --git a/win/build-all-win.py b/win/build-all-win.py index 165a8b40b4..609bad40e0 100644 --- a/win/build-all-win.py +++ b/win/build-all-win.py @@ -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)