Simplifying gbenchmark (#2892)

Also, it seems the cmake_args API has changed in spack
This commit is contained in:
Mayeul d'Avezac 2017-01-24 00:12:31 +00:00 committed by Todd Gamblin
parent f8c7dab826
commit db7a786d1c

View file

@ -48,12 +48,3 @@ def patch(self):
r'##### add_cxx_compiler_flag(-Werror',
'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 []