fix OMPT support in Archer (#3035)
This commit is contained in:
parent
7c09ad5305
commit
158a1b9c36
2 changed files with 3 additions and 2 deletions
|
@ -48,7 +48,6 @@ def install(self, spec, prefix):
|
||||||
'-DCMAKE_C_COMPILER=clang',
|
'-DCMAKE_C_COMPILER=clang',
|
||||||
'-DCMAKE_CXX_COMPILER=clang++',
|
'-DCMAKE_CXX_COMPILER=clang++',
|
||||||
'-DOMP_PREFIX:PATH=%s' % spec['llvm-openmp-ompt'].prefix,
|
'-DOMP_PREFIX:PATH=%s' % spec['llvm-openmp-ompt'].prefix,
|
||||||
'-DLIBOMP_TSAN_SUPPORT=TRUE',
|
|
||||||
])
|
])
|
||||||
|
|
||||||
cmake('..', *cmake_args)
|
cmake('..', *cmake_args)
|
||||||
|
|
|
@ -51,7 +51,9 @@ def install(self, spec, prefix):
|
||||||
'-DCMAKE_C_COMPILER=clang',
|
'-DCMAKE_C_COMPILER=clang',
|
||||||
'-DCMAKE_CXX_COMPILER=clang++',
|
'-DCMAKE_CXX_COMPILER=clang++',
|
||||||
'-DCMAKE_BUILD_TYPE=Release',
|
'-DCMAKE_BUILD_TYPE=Release',
|
||||||
'-DLIBOMP_TSAN_SUPPORT=TRUE'
|
'-DLIBOMP_OMPT_SUPPORT=on',
|
||||||
|
'-DLIBOMP_OMPT_BLAME=on',
|
||||||
|
'-DLIBOMP_OMPT_TRACE=on'
|
||||||
])
|
])
|
||||||
|
|
||||||
cmake('..', *cmake_args)
|
cmake('..', *cmake_args)
|
||||||
|
|
Loading…
Reference in a new issue