ccache 4.4 errors for old gcc/clang (#25783)
This commit is contained in:
parent
1badb47b80
commit
834155fdb8
@ -15,6 +15,7 @@ class Ccache(CMakePackage):
|
||||
|
||||
homepage = "https://ccache.dev/"
|
||||
url = "https://github.com/ccache/ccache/releases/download/v4.2.1/ccache-4.2.1.tar.gz"
|
||||
maintainers = ['haampie']
|
||||
|
||||
executables = ['^ccache$']
|
||||
|
||||
@ -41,6 +42,9 @@ class Ccache(CMakePackage):
|
||||
depends_on('libxslt', when='@:3.99')
|
||||
depends_on('zlib', when='@:3.99')
|
||||
|
||||
conflicts('%gcc@:5', when='@4.4:')
|
||||
conflicts('%clang@:4', when='@4.4:')
|
||||
|
||||
# Before 4.0 this was an Autotools package
|
||||
@when('@:3.99')
|
||||
def cmake(self, spec, prefix):
|
||||
|
Loading…
Reference in New Issue
Block a user