Simplifying gbenchmark (#2892)
Also, it seems the cmake_args API has changed in spack
This commit is contained in:
parent
f8c7dab826
commit
db7a786d1c
@ -48,12 +48,3 @@ def patch(self):
|
|||||||
r'##### add_cxx_compiler_flag(-Werror',
|
r'##### add_cxx_compiler_flag(-Werror',
|
||||||
'CMakeLists.txt'
|
'CMakeLists.txt'
|
||||||
)
|
)
|
||||||
|
|
||||||
def cmake_args(self, spec, prefix):
|
|
||||||
if self.compiler.name == 'intel':
|
|
||||||
return [
|
|
||||||
"-DCMAKE_CXX_FLAGS=-no-ansi-alias -fno-strict-aliasing",
|
|
||||||
"-DCMAKE_C_FLAGS=-no-ansi-alias -fno-strict-aliasing",
|
|
||||||
"-DBENCHMARK_ENABLE_TESTING=OFF"
|
|
||||||
]
|
|
||||||
return []
|
|
||||||
|
Loading…
Reference in New Issue
Block a user