From cf636ba8918780059291b681d8832afa5f2c8733 Mon Sep 17 00:00:00 2001 From: Ella-0 <23418164+Ella-0@users.noreply.github.com> Date: Tue, 8 Jun 2021 19:34:16 +0100 Subject: [PATCH] llvm: add patch to fix relaxations --- pkgs/llvm/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/llvm/build.sh b/pkgs/llvm/build.sh index ce954b0..5bd03ba 100644 --- a/pkgs/llvm/build.sh +++ b/pkgs/llvm/build.sh @@ -8,6 +8,9 @@ fetch() { tar -xf $pkgname-$pkgver.tar.gz mv llvm-project-$pkgver.src $pkgname-$pkgver + # fixes relaxation + curl "https://reviews.llvm.org/file/data/fwstsxaybgq26x5dtdbg/PHID-FILE-pptlyffhoud7h2kme6qo/D100835.diff" | patch -p0 + 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 }