Skip to content
Snippets Groups Projects
Commit db7a786d authored by Mayeul d'Avezac's avatar Mayeul d'Avezac Committed by Todd Gamblin
Browse files

Simplifying gbenchmark (#2892)

Also, it seems the cmake_args API has changed in spack
parent f8c7dab8
No related branches found
No related tags found
No related merge requests found
...@@ -48,12 +48,3 @@ def patch(self): ...@@ -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 []
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment