Simplifying gbenchmark (#2892)
Also, it seems the cmake_args API has changed in spack
This commit is contained in:
parent
f8c7dab826
commit
db7a786d1c
1 changed files with 0 additions and 9 deletions
|
@ -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 []
|
||||
|
|
Loading…
Reference in a new issue