Dyninst: added conflicts for unsupported compilers and platforms (#18245)

This commit is contained in:
Tim Haines 2020-08-25 02:56:27 -05:00 committed by GitHub
parent ac6d7dcdf6
commit eebcd6b24f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,6 +61,19 @@ class Dyninst(CMakePackage):
patch('v9.3.2-auto.patch', when='@9.3.2 %gcc@:4.7.99')
patch('tribool.patch', when='@9.3.0:10.0.0 ^boost@1.69:')
# No Mac support (including apple-clang)
conflicts('platform=darwin', msg='macOS is not supported')
# We currently only build with gcc
conflicts('%clang')
conflicts('%arm')
conflicts('%cce')
conflicts('%fj')
conflicts('%intel')
conflicts('%pgi')
conflicts('%xl')
conflicts('%xl_r')
# Versions 9.3.x used cotire, but have no knob to turn it off.
# Cotire has no real use for one-time builds and can break
# parallel builds with both static and shared libs.