summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2016-09-20 11:26:25 +0200
committerTodd Gamblin <tgamblin@llnl.gov>2016-09-20 02:26:25 -0700
commitea446c0f0ea0dc905ea66ad6a902cbb4713f920a (patch)
tree8c21e7e441bf5877ef234dad7bd68a74bd6d5f66 /var
parentefadc0e2997015545d656f587a5478c9fcc1c2ad (diff)
downloadspack-ea446c0f0ea0dc905ea66ad6a902cbb4713f920a.tar.gz
spack-ea446c0f0ea0dc905ea66ad6a902cbb4713f920a.tar.bz2
spack-ea446c0f0ea0dc905ea66ad6a902cbb4713f920a.tar.xz
spack-ea446c0f0ea0dc905ea66ad6a902cbb4713f920a.zip
lmod : added support for the creation of hierarchical lua module files (#1723)
Includes : - treatment of a generic hierarchy (i.e. lapack + mpi + compiler) - possibility to specify which compilers are to be considered Core - correct treatment of the 'family' directive - unit tests for most new features
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py
index 61ea8daac4..7582faeb92 100644
--- a/var/spack/repos/builtin/packages/llvm/package.py
+++ b/var/spack/repos/builtin/packages/llvm/package.py
@@ -22,9 +22,10 @@
# License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
##############################################################################
-from spack import *
import os
+from spack import *
+
class Llvm(Package):
"""The LLVM Project is a collection of modular and reusable compiler and
@@ -37,9 +38,11 @@ class Llvm(Package):
homepage = 'http://llvm.org/'
url = 'http://llvm.org/releases/3.7.1/llvm-3.7.1.src.tar.xz'
+ family = 'compiler' # Used by lmod
+
# currently required by mesa package
version('3.0', 'a8e5f5f1c1adebae7b4a654c376a6005',
- url='http://llvm.org/releases/3.0/llvm-3.0.tar.gz')
+ url='http://llvm.org/releases/3.0/llvm-3.0.tar.gz') # currently required by mesa package
variant('debug', default=False,
description="Build a debug version of LLVM, this increases "