ccache: speed up builds, don't build tests (#27567)
This commit is contained in:
parent
c167b7d532
commit
3bfd78e6b8
@ -47,6 +47,9 @@ class Ccache(CMakePackage):
|
|||||||
conflicts('%gcc@:5', when='@4.4:')
|
conflicts('%gcc@:5', when='@4.4:')
|
||||||
conflicts('%clang@:4', 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
|
# Before 4.0 this was an Autotools package
|
||||||
@when('@:3')
|
@when('@:3')
|
||||||
def cmake(self, spec, prefix):
|
def cmake(self, spec, prefix):
|
||||||
|
Loading…
Reference in New Issue
Block a user