From 158a1b9c366b91fccbe1971a98d2edcb85c2e5a5 Mon Sep 17 00:00:00 2001 From: Gregory Lee Date: Sun, 5 Feb 2017 23:34:38 -0800 Subject: [PATCH] fix OMPT support in Archer (#3035) --- var/spack/repos/builtin/packages/archer/package.py | 1 - var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/archer/package.py b/var/spack/repos/builtin/packages/archer/package.py index dd4c27700f..31a1d498da 100644 --- a/var/spack/repos/builtin/packages/archer/package.py +++ b/var/spack/repos/builtin/packages/archer/package.py @@ -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) diff --git a/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py b/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py index 1dc1089d68..8b83f216b6 100644 --- a/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py +++ b/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py @@ -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)