[nostalgia] Make Jenkins build not use ccache, even if available
This commit is contained in:
parent
763955a9bb
commit
d6ff337cc0
@ -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")
|
||||
|
@ -1 +1,2 @@
|
||||
env.OX_NODEBUG = 1
|
||||
env.NOSTALGIA_SUPPRESS_CCACHE = 1
|
||||
|
Loading…
Reference in New Issue
Block a user