fix OMPT support in Archer (#3035)

This commit is contained in:
Gregory Lee 2017-02-05 23:34:38 -08:00 committed by Todd Gamblin
parent 7c09ad5305
commit 158a1b9c36
2 changed files with 3 additions and 2 deletions

View file

@ -48,7 +48,6 @@ def install(self, spec, prefix):
'-DCMAKE_C_COMPILER=clang',
'-DCMAKE_CXX_COMPILER=clang++',
'-DOMP_PREFIX:PATH=%s' % spec['llvm-openmp-ompt'].prefix,
'-DLIBOMP_TSAN_SUPPORT=TRUE',
])
cmake('..', *cmake_args)

View file

@ -51,7 +51,9 @@ def install(self, spec, prefix):
'-DCMAKE_C_COMPILER=clang',
'-DCMAKE_CXX_COMPILER=clang++',
'-DCMAKE_BUILD_TYPE=Release',
'-DLIBOMP_TSAN_SUPPORT=TRUE'
'-DLIBOMP_OMPT_SUPPORT=on',
'-DLIBOMP_OMPT_BLAME=on',
'-DLIBOMP_OMPT_TRACE=on'
])
cmake('..', *cmake_args)