Add universal build_type variant to CMakePackage (#4797)
* Add universal build_type variant to CMakePackage * Override build_type in some packages with different possible values * Remove reference to no longer existent debug variant * Update CBTF packages with new build_type variant * Keep note on build size of LLVM
This commit is contained in:

committed by
Todd Gamblin

parent
4b996e9f49
commit
07aec4366f
@@ -37,6 +37,11 @@ class Benchmark(CMakePackage):
|
||||
version('1.1.0', '66b2a23076cf70739525be0092fc3ae3')
|
||||
version('1.0.0', '1474ff826f8cd68067258db75a0835b8')
|
||||
|
||||
variant('build_type', default='RelWithDebInfo',
|
||||
description='The build type to build',
|
||||
values=('Debug', 'Release', 'RelWithDebInfo',
|
||||
'MinSizeRel', 'Coverage'))
|
||||
|
||||
def patch(self):
|
||||
filter_file(
|
||||
r'add_cxx_compiler_flag..fstrict.aliasing.',
|
||||
|
Reference in New Issue
Block a user