llvm trunk version
Adding a trunk version to the llvm package. This has all the features and requirements of the others, with the additional caveat that the llvm project makes no guarantee that trunk on all repositories together will necessarily make a working compiler. It has been tested, and worked with a version today, but not yesterday, so if you test keep that in mind.
This commit is contained in:
parent
97c3854c40
commit
5c8dd6c3c8
@ -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,15 +176,25 @@ class Llvm(Package):
|
|||||||
]
|
]
|
||||||
|
|
||||||
for release in releases:
|
for release in releases:
|
||||||
version(release['version'], release['md5'], url=llvm_url % release)
|
if release['version'] == 'trunk' :
|
||||||
|
version(release['version'], svn=release['repo'])
|
||||||
|
|
||||||
for name, md5 in release['resources'].items():
|
for name, repo in release['resources'].items():
|
||||||
resource(name=name,
|
resource(name=name,
|
||||||
url=resources[name]['url'] % release,
|
svn=repo,
|
||||||
md5=md5,
|
destination=resources[name]['destination'],
|
||||||
destination=resources[name]['destination'],
|
when='@%(version)s' % release,
|
||||||
when='@%(version)s' % release,
|
placement=resources[name].get('placement', None))
|
||||||
placement=resources[name].get('placement', None))
|
else:
|
||||||
|
version(release['version'], release['md5'], url=llvm_url % release)
|
||||||
|
|
||||||
|
for name, md5 in release['resources'].items():
|
||||||
|
resource(name=name,
|
||||||
|
url=resources[name]['url'] % release,
|
||||||
|
md5=md5,
|
||||||
|
destination=resources[name]['destination'],
|
||||||
|
when='@%(version)s' % release,
|
||||||
|
placement=resources[name].get('placement', None))
|
||||||
|
|
||||||
# SVN - current develop
|
# SVN - current develop
|
||||||
version('develop', svn='http://llvm.org/svn/llvm-project/llvm/trunk')
|
version('develop', svn='http://llvm.org/svn/llvm-project/llvm/trunk')
|
||||||
|
Loading…
Reference in New Issue
Block a user