From b732d3d8a4e4d9d7eaa40cde6ca8f7dda81ffac0 Mon Sep 17 00:00:00 2001 From: Rmys Date: Mon, 27 Jun 2022 18:05:54 +0300 Subject: [PATCH] llvm-14.0.6 --- programming/build/llvm/actions.py | 15 ++------------- programming/build/llvm/pspec.xml | 13 ++++++++++--- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index c90a8b87a7..773903f4b2 100644 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -11,7 +11,7 @@ from pisi.actionsapi import get import subprocess -projects = "clang;mlir;libunwind" if get.buildTYPE() == "emul32" else "clang;clang-tools-extra;lld;lldb;polly;compiler-rt;mlir;libunwind" +projects = "clang;mlir" if get.buildTYPE() == "emul32" else "clang;clang-tools-extra;lld;lldb;polly;compiler-rt;mlir" libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm" lib = "lib32" if get.buildTYPE() == "emul32" else "lib" libsuffix = "32" if get.buildTYPE() == "emul32" else " " @@ -100,25 +100,14 @@ def build(): def install(): shelltools.cd("build") #shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) if get.buildTYPE() == "emul32": pisitools.domove("/emul32/lib32/", "/usr/") - shelltools.makedirs("%s/usr/lib32/llvm-libunwind" % get.installDIR()) - pisitools.domove("/usr/lib32/libunwind*", "/usr/lib32/llvm-libunwind") - pisitools.dosym("/usr/lib32/llvm-libunwind/libunwind.so", "/usr/lib32/libllvm-unwind.so") - pisitools.dosym("/usr/lib32/llvm-libunwind/libunwind.a", "/usr/lib32/libllvm-unwind.a") pisitools.insinto("/usr/include/llvm/Config/","%s/emul32/include/llvm/Config/llvm-config.h" % get.installDIR(),"llvm-config-32.h") pisitools.insinto("/usr/bin/","%s/emul32/bin/llvm-config" % get.installDIR(),"llvm-config-32") pisitools.removeDir("/emul32") #pisitools.remove("/usr/lib/python3.8/site-packages/six.py") - else: - shelltools.makedirs("%s/usr/lib/llvm-libunwind" % get.installDIR()) - pisitools.domove("/usr/lib/libunwind*", "/usr/lib/llvm-libunwind") - pisitools.dosym("/usr/lib/llvm-libunwind/libunwind.so", "/usr/lib/libllvm-unwind.so") - pisitools.dosym("/usr/lib/llvm-libunwind/libunwind.a", "/usr/lib/libllvm-unwind.a") - shelltools.cd ("..") diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml index 1f3f3480f8..096d31bc12 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-14.0.3/llvm-project-14.0.3.src.tar.xz + https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/llvm-project-14.0.6.src.tar.xz ninja zlib-devel @@ -27,10 +27,10 @@ - llvm +