diff options
author | William D. Jones <thor0505@comcast.net> | 2020-11-19 13:23:54 -0500 |
---|---|---|
committer | William D. Jones <thor0505@comcast.net> | 2020-11-19 13:23:54 -0500 |
commit | 296a23f489b4534e581d887a08d6a0326efc8dd6 (patch) | |
tree | 250fe3905a146f5565be6a33b6ac63ddfbd38e96 /Makefile | |
parent | 5b35d953f749beafeceecc67862419221e91fe84 (diff) | |
download | yosys-296a23f489b4534e581d887a08d6a0326efc8dd6.tar.gz yosys-296a23f489b4534e581d887a08d6a0326efc8dd6.tar.bz2 yosys-296a23f489b4534e581d887a08d6a0326efc8dd6.zip |
Makefile: Add disabled-by-default ENABLE_SCCACHE config option.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -31,6 +31,8 @@ ENABLE_GPROF := 0 ENABLE_DEBUG := 0 ENABLE_NDEBUG := 0 ENABLE_CCACHE := 0 +# sccache is not always a drop-in replacement for ccache in practice +ENABLE_SCCACHE := 0 LINK_CURSES := 0 LINK_TERMCAP := 0 LINK_ABC := 0 @@ -530,6 +532,10 @@ endif ifeq ($(ENABLE_CCACHE),1) CXX := ccache $(CXX) +else +ifeq ($(ENABLE_SCCACHE),1) +CXX := sccache $(CXX) +endif endif define add_share_file @@ -1019,4 +1025,3 @@ echo-abc-rev: .PHONY: all top-all abc test install install-abc manual clean mrproper qtcreator coverage vcxsrc mxebin .PHONY: config-clean config-clang config-gcc config-gcc-static config-gcc-4.8 config-afl-gcc config-gprof config-sudo - |