Update llvm to 12.0.0 & partial rc & git

This commit is contained in:
aheirman 2021-04-17 13:59:37 +00:00
parent 19e818dae9
commit 891df5eacc
2 changed files with 11 additions and 2 deletions

View file

@ -1,12 +1,15 @@
pkgver=11.1.0
pkgver=12.0.0
pkgname=llvm
bad=""
ext="dev"
fetch() {
curl -L "https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-project-11.1.0.src.tar.xz" -o $pkgname-$pkgver.tar.gz
curl -L "https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/llvm-project-$pkgver.src.tar.xz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
mv llvm-project-$pkgver.src $pkgname-$pkgver
cp -n ../default.llvm.conf /etc/iglupkg/llvm.conf
[ ../default/llvm.conf -nt /etc/iglupkg/llvm.conf ] && echo "WARNING: the default config file is newer than your config file." done
}
build() {
@ -82,6 +85,7 @@ build() {
-DCOMPILER_RT_INCLUDE_TESTS=OFF \
-DCOMPILER_RT_BUILD_SANITIZERS=OFF \
-DCOMPILER_RT_BUILD_XRAY=OFF \
-DCOMPILER_RT_BUILD_MEMPROF=OFF \
-DCOMPILER_RT_INCLUDE_TESTS=OFF \
-DCOMPILER_RT_BUILD_LIBFUZZER=OFF \
-DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=TRUE \

View file

@ -0,0 +1,5 @@
#Uncomment this to get the latest release candiate
#export RC
#Uncomment this to get the latest git version
#export GIT