ccache 4.4 errors for old gcc/clang (#25783)

This commit is contained in:
Harmen Stoppels 2021-09-06 15:33:08 +02:00 committed by GitHub
parent 1badb47b80
commit 834155fdb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):