clang: add tools-extra
This commit is contained in:
parent
244450ba2d
commit
5a5a6a1a0c
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'llvm'
|
||||
pkgname=llvm
|
||||
version=3.6.2
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="llvm-${version}.src"
|
||||
lib32disabled=yes
|
||||
configure_args="--disable-expensive-checks --disable-debug-runtime
|
||||
|
@ -17,12 +17,14 @@ distfiles="
|
|||
http://www.llvm.org/releases/${version}/lld-${version}.src.tar.xz
|
||||
http://www.llvm.org/releases/${version}/lldb-${version}.src.tar.xz
|
||||
http://www.llvm.org/releases/${version}/cfe-${version}.src.tar.xz
|
||||
http://www.llvm.org/releases/${version}/clang-tools-extra-${version}.src.tar.xz
|
||||
http://www.llvm.org/releases/${version}/compiler-rt-${version}.src.tar.xz"
|
||||
checksum="
|
||||
f60dc158bfda6822de167e87275848969f0558b3134892ff54fced87e4667b94
|
||||
43f553c115563600577764262f1f2fac3740f0c639750f81e125963c90030b33
|
||||
940dc96b64919b7dbf32c37e0e1d1fc88cc18e1d4b3acf1e7dfe5a46eb6523a9
|
||||
ae9180466a23acb426d12444d866b266ff2289b266064d362462e44f8d4699f3
|
||||
6a0ec627d398f501ddf347060f7a2ccea4802b2494f1d4fd7bda3e0442d04feb
|
||||
0f2ff37d80a64575fecd8cf0d5c50f7ac1f837ddf700d1855412bb7547431d87"
|
||||
|
||||
# XXX Investigate ocaml bindings.
|
||||
|
@ -65,6 +67,10 @@ post_extract() {
|
|||
if [ -d ${XBPS_BUILDDIR}/cfe-${version}.src ]; then
|
||||
mv ${XBPS_BUILDDIR}/cfe-${version}.src ${wrksrc}/tools/clang
|
||||
fi
|
||||
# Move clang-tools-extra files into llvm source.
|
||||
if [ -d ${XBPS_BUILDDIR}/clang-tools-extra-${version}.src ]; then
|
||||
mv ${XBPS_BUILDDIR}/clang-tools-extra-${version}.src ${wrksrc}/tools/clang/extra
|
||||
fi
|
||||
# Move lld files into the llvm source
|
||||
if [ -d ${XBPS_BUILDDIR}/lld-${version}.src ]; then
|
||||
mv ${XBPS_BUILDDIR}/lld-${version}.src ${wrksrc}/tools/lld
|
||||
|
|
Loading…
Reference in a new issue