From 2bede4cd2045e251081419aa5ba6cc27f8522f1e Mon Sep 17 00:00:00 2001 From: idriskalp Date: Thu, 21 Oct 2021 22:25:45 +0300 Subject: [PATCH] llvm 13.0.0 --- programming/build/llvm/actions.py | 3 +++ programming/build/llvm/pspec.xml | 13 ++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index b5be0000ec..8c33bcf4f9 100644 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -26,6 +26,8 @@ def setup(): pisitools.ldflags.add("-fuse-ld=lld") pisitools.cflags.remove("-D_FORTIFY_SOURCE=2") pisitools.cxxflags.remove("-D_FORTIFY_SOURCE=2") + pisitools.cflags.add("-mllvm -polly") + pisitools.cxxflags.add("-mllvm -polly") shelltools.export("CC", "clang") shelltools.export("CXX", "clang++") shelltools.export("AR", "llvm-ar") @@ -87,6 +89,7 @@ def setup(): -DLLVM_ENABLE_EH=ON \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ + -DLLVM_ENABLE_LTO=Thin \ -DLLDB_USE_SYSTEM_SIX=1 \ -DLLVM_INCLUDEDIR=/usr/include \ -DLLVM_ENABLE_ASSERTIONS=OFF \ diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml index 85e0a93b8f..ffffd419b2 100755 --- a/programming/build/llvm/pspec.xml +++ b/programming/build/llvm/pspec.xml @@ -11,7 +11,7 @@ NCSA The Low Level Virtual Machine The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them. - https://github.com/llvm/llvm-project/releases/download/llvmorg-12.0.1/llvm-project-12.0.1.src.tar.xz + https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/llvm-project-13.0.0.src.tar.xz ninja zlib-devel @@ -36,9 +36,9 @@ support-linking-ScopPassManager-against-LLVM-dylib.patch --> - add-fno-semantic-interposition.patch + @@ -331,6 +331,13 @@ + + 2021-10-22 + 13.0.0 + Version bump + İdris Kalp + idriskalp@gmail.com + 2021-07-10 12.0.1