valgrind: default to ~ubsan (#28389)

This commit is contained in:
Adam J. Stewart 2022-01-14 17:29:16 -06:00 committed by GitHub
parent 9ed32a3c65
commit 6235184522
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ class Valgrind(AutotoolsPackage, SourcewarePackage):
description='Activates boost support for valgrind') description='Activates boost support for valgrind')
variant('only64bit', default=True, variant('only64bit', default=True,
description='Sets --enable-only64bit option for valgrind') description='Sets --enable-only64bit option for valgrind')
variant('ubsan', default=sys.platform != 'darwin', variant('ubsan', default=False,
description='Activates ubsan support for valgrind') description='Activates ubsan support for valgrind')
conflicts('+ubsan', when='%apple-clang', conflicts('+ubsan', when='%apple-clang',