OpenSpeedShop package: add support for building on cray (#7338)
This commit is contained in:

committed by
scheibelp

parent
f393a2c146
commit
7f3a72fb33
@@ -1,5 +1,5 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
|
||||
# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
|
||||
# Produced at the Lawrence Livermore National Laboratory.
|
||||
#
|
||||
# This file is part of Spack.
|
||||
@@ -33,8 +33,8 @@ class LlvmOpenmpOmpt(CMakePackage):
|
||||
|
||||
homepage = "https://github.com/OpenMPToolsInterface/LLVM-openmp"
|
||||
|
||||
# towards_tr4 branch
|
||||
version('towards_tr4', branch='towards_tr4',
|
||||
# tr6_forwards branch
|
||||
version('tr6_forwards', branch='tr6_forwards',
|
||||
git='https://github.com/OpenMPToolsInterface/LLVM-openmp.git')
|
||||
|
||||
version('3.9.2b2',
|
||||
@@ -79,9 +79,9 @@ def cmake_args(self):
|
||||
'-DCMAKE_BUILD_WITH_INSTALL_RPATH=true',
|
||||
'-DLIBOMP_USE_DEBUGGER=false'])
|
||||
|
||||
# Build llvm-openmp-ompt using the toward_tr4 branch
|
||||
# Build llvm-openmp-ompt using the tr6_forwards branch
|
||||
# This requires the version to be 5.0 (50)
|
||||
if '@towards_tr4' in self.spec:
|
||||
if '@tr6_forwards' in self.spec:
|
||||
cmake_args.extend(
|
||||
['-DLIBOMP_OMP_VERSION=50'])
|
||||
|
||||
|
Reference in New Issue
Block a user