[nostalgia] Make Jenkins build not use ccache, even if available

This commit is contained in:
Gary Talent 2021-03-15 22:09:13 -05:00
parent 763955a9bb
commit d6ff337cc0
2 changed files with 6 additions and 3 deletions

View File

@ -42,9 +42,11 @@ if(NOT OX_BARE_METAL)
endif()
# enable ccache
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
if(NOT DEFINED ENV{NOSTALGIA_SUPPRESS_CCACHE})
find_program(CCACHE_PROGRAM ccache)
if(CCACHE_PROGRAM)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
endif()
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")

View File

@ -1 +1,2 @@
env.OX_NODEBUG = 1
env.NOSTALGIA_SUPPRESS_CCACHE = 1