diff options
author | whitequark <whitequark@whitequark.org> | 2020-11-25 02:48:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 02:48:39 +0000 |
commit | c6b5b18a30278637dcea4f9867631540b818716c (patch) | |
tree | b7aeb3ad69fa92e9a6e4838d45a800dd51718094 /Makefile | |
parent | 2a39c785a210be8c0386e6f6d1a2cf2e4fc67589 (diff) | |
parent | 9431033921286c20af594e1dfba96be96a88eb9c (diff) | |
download | yosys-c6b5b18a30278637dcea4f9867631540b818716c.tar.gz yosys-c6b5b18a30278637dcea4f9867631540b818716c.tar.bz2 yosys-c6b5b18a30278637dcea4f9867631540b818716c.zip |
Merge pull request #2442 from cr1901/sccache
Makefile: Add disabled-by-default ENABLE_SCCACHE config option.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 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 @@ -136,7 +138,7 @@ bumpversion: # is just a symlink to your actual ABC working directory, as 'make mrproper' # will remove the 'abc' directory and you do not want to accidentally # delete your work on ABC.. -ABCREV = 341db25 +ABCREV = 4f5f73d ABCPULL = 1 ABCURL ?= https://github.com/YosysHQ/abc ABCMKARGS = CC="$(CXX)" CXX="$(CXX)" ABC_USE_LIBSTDCXX=1 @@ -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 - |