summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-01-28 10:58:56 +0100
committeralalazo <massimiliano.culpo@googlemail.com>2016-01-28 10:58:56 +0100
commit07bb6fef01bfe48aa22c39e53b75e4c779ac0c2e (patch)
tree83cbdaddd837ddc46313fc4b4a7f802a25c50c79 /var
parent47035671e80f071c970dc66b15ad7ced2b87329d (diff)
downloadspack-07bb6fef01bfe48aa22c39e53b75e4c779ac0c2e.tar.gz
spack-07bb6fef01bfe48aa22c39e53b75e4c779ac0c2e.tar.bz2
spack-07bb6fef01bfe48aa22c39e53b75e4c779ac0c2e.tar.xz
spack-07bb6fef01bfe48aa22c39e53b75e4c779ac0c2e.zip
resource directive : now works with all the fetch strategies available
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py
index a2b2c6eccc..1805d3ded8 100644
--- a/var/spack/repos/builtin/packages/llvm/package.py
+++ b/var/spack/repos/builtin/packages/llvm/package.py
@@ -171,6 +171,25 @@ class Llvm(Package):
when='@%(version)s' % release,
placement=resources[name].get('placement', None))
+ # SVN - current develop
+ version('develop', svn='http://llvm.org/svn/llvm-project/llvm/trunk')
+ resource(name='clang', svn='http://llvm.org/svn/llvm-project/cfe/trunk',
+ destination='tools', when='@develop', placement='clang')
+ resource(name='compiler-rt', svn='http://llvm.org/svn/llvm-project/compiler-rt/trunk',
+ destination='projects', when='@develop', placement='compiler-rt')
+ resource(name='openmp', svn='http://llvm.org/svn/llvm-project/openmp/trunk',
+ destination='projects', when='@develop', placement='openmp')
+ resource(name='libcxx', svn='http://llvm.org/svn/llvm-project/libcxx/trunk',
+ destination='projects', when='@develop', placement='libcxx')
+ resource(name='libcxxabi', svn='http://llvm.org/svn/llvm-project/libcxxabi/trunk',
+ destination='projects', when='@develop', placement='libcxxabi')
+ resource(name='polly', svn='http://llvm.org/svn/llvm-project/polly/trunk',
+ destination='tools', when='@develop', placement='polly')
+ resource(name='lldb', svn='http://llvm.org/svn/llvm-project/lldb/trunk',
+ destination='tools', when='@develop', placement='lldb')
+
+
+
def install(self, spec, prefix):
env['CXXFLAGS'] = self.compiler.cxx11_flag
cmake_args = [ arg for arg in std_cmake_args if 'BUILD_TYPE' not in arg ]