mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
chore(compiler): use ccache if available
This commit is contained in:
committed by
Quentin Bourgerie
parent
bb1add2a6f
commit
ec8614f2ea
@@ -1,7 +1,12 @@
|
||||
BUILD_DIR=./build
|
||||
Python3_EXECUTABLE=
|
||||
BINDINGS_PYTHON_ENABLED=ON
|
||||
CCACHE=OFF
|
||||
|
||||
ifeq ($(shell which ccache),)
|
||||
CCACHE=OFF
|
||||
else
|
||||
CCACHE=ON
|
||||
endif
|
||||
|
||||
ifeq ($(CCACHE),ON)
|
||||
CMAKE_CCACHE_OPTIONS=-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
|
||||
|
||||
Reference in New Issue
Block a user