ccache: speed up builds, don't build tests (#27567)

This commit is contained in:
Harmen Stoppels
2021-11-22 10:28:05 +01:00
committed by GitHub
parent c167b7d532
commit 3bfd78e6b8

View File

@@ -47,6 +47,9 @@ class Ccache(CMakePackage):
conflicts('%gcc@:5', when='@4.4:')
conflicts('%clang@:4', when='@4.4:')
def cmake_args(self):
return [self.define('ENABLE_TESTING', False)]
# Before 4.0 this was an Autotools package
@when('@:3')
def cmake(self, spec, prefix):