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/"
|
homepage = "https://ccache.dev/"
|
||||||
url = "https://github.com/ccache/ccache/releases/download/v4.2.1/ccache-4.2.1.tar.gz"
|
url = "https://github.com/ccache/ccache/releases/download/v4.2.1/ccache-4.2.1.tar.gz"
|
||||||
|
maintainers = ['haampie']
|
||||||
|
|
||||||
executables = ['^ccache$']
|
executables = ['^ccache$']
|
||||||
|
|
||||||
@ -41,6 +42,9 @@ class Ccache(CMakePackage):
|
|||||||
depends_on('libxslt', when='@:3.99')
|
depends_on('libxslt', when='@:3.99')
|
||||||
depends_on('zlib', 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
|
# Before 4.0 this was an Autotools package
|
||||||
@when('@:3.99')
|
@when('@:3.99')
|
||||||
def cmake(self, spec, prefix):
|
def cmake(self, spec, prefix):
|
||||||
|
Loading…
Reference in New Issue
Block a user