Merge pull request #450 from trws/llvm-trunk

llvm trunk version
This commit is contained in:
Todd Gamblin 2016-02-24 10:48:29 +09:00
commit 93a746043c

View file

@ -117,6 +117,21 @@ class Llvm(Package):
}, },
} }
releases = [ releases = [
{
'version' : 'trunk',
'repo' : 'http://llvm.org/svn/llvm-project/llvm/trunk',
'resources' : {
'compiler-rt' : 'http://llvm.org/svn/llvm-project/compiler-rt/trunk',
'openmp' : 'http://llvm.org/svn/llvm-project/openmp/trunk',
'polly' : 'http://llvm.org/svn/llvm-project/polly/trunk',
'libcxx' : 'http://llvm.org/svn/llvm-project/libcxx/trunk',
'libcxxabi' : 'http://llvm.org/svn/llvm-project/libcxxabi/trunk',
'clang' : 'http://llvm.org/svn/llvm-project/cfe/trunk',
'clang-tools-extra' : 'http://llvm.org/svn/llvm-project/clang-tools-extra/trunk',
'lldb' : 'http://llvm.org/svn/llvm-project/lldb/trunk',
'llvm-libunwind' : 'http://llvm.org/svn/llvm-project/libunwind/trunk',
}
},
{ {
'version' : '3.7.0', 'version' : '3.7.0',
'md5':'b98b9495e5655a672d6cb83e1a180f8e', 'md5':'b98b9495e5655a672d6cb83e1a180f8e',
@ -161,6 +176,16 @@ class Llvm(Package):
] ]
for release in releases: for release in releases:
if release['version'] == 'trunk' :
version(release['version'], svn=release['repo'])
for name, repo in release['resources'].items():
resource(name=name,
svn=repo,
destination=resources[name]['destination'],
when='@%(version)s' % release,
placement=resources[name].get('placement', None))
else:
version(release['version'], release['md5'], url=llvm_url % release) version(release['version'], release['md5'], url=llvm_url % release)
for name, md5 in release['resources'].items(): for name, md5 in release['resources'].items():