blob: 1c7c7c462205c82d40ec6639718b1a7bd7ace683 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class HpctoolkitExternals(Package):
"""HPCToolkit performance analysis tool has many prerequisites and
HpctoolkitExternals package provides all these prerequisites."""
homepage = "http://hpctoolkit.org"
git = "https://github.com/HPCToolkit/hpctoolkit-externals.git"
version('master')
version('2017.06', tag='release-2017.06')
parallel = False
def install(self, spec, prefix):
options = ['CC=%s' % self.compiler.cc,
'CXX=%s' % self.compiler.cxx]
with working_dir('spack-build', create=True):
configure = Executable('../configure')
configure('--prefix=%s' % prefix, *options)
make('install')
|