llvm-14.0.6
This commit is contained in:
@@ -11,7 +11,7 @@ from pisi.actionsapi import get
|
|||||||
|
|
||||||
import subprocess
|
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"
|
libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm"
|
||||||
lib = "lib32" if get.buildTYPE() == "emul32" else "lib"
|
lib = "lib32" if get.buildTYPE() == "emul32" else "lib"
|
||||||
libsuffix = "32" if get.buildTYPE() == "emul32" else " "
|
libsuffix = "32" if get.buildTYPE() == "emul32" else " "
|
||||||
@@ -100,25 +100,14 @@ def build():
|
|||||||
def install():
|
def install():
|
||||||
shelltools.cd("build")
|
shelltools.cd("build")
|
||||||
#shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
|
#shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
|
||||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
|
|
||||||
if get.buildTYPE() == "emul32":
|
if get.buildTYPE() == "emul32":
|
||||||
pisitools.domove("/emul32/lib32/", "/usr/")
|
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/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.insinto("/usr/bin/","%s/emul32/bin/llvm-config" % get.installDIR(),"llvm-config-32")
|
||||||
pisitools.removeDir("/emul32")
|
pisitools.removeDir("/emul32")
|
||||||
#pisitools.remove("/usr/lib/python3.8/site-packages/six.py")
|
#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 ("..")
|
shelltools.cd ("..")
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<License>NCSA</License>
|
<License>NCSA</License>
|
||||||
<Summary>The Low Level Virtual Machine</Summary>
|
<Summary>The Low Level Virtual Machine</Summary>
|
||||||
<Description>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.</Description>
|
<Description>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.</Description>
|
||||||
<Archive sha1sum="ef7bc58ace02524e4f5e9ca04c3247b95355c32c" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.3/llvm-project-14.0.3.src.tar.xz</Archive>
|
<Archive sha1sum="346fddc248bca9820af3e4ca51a8c02a99e01bdd" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/llvm-project-14.0.6.src.tar.xz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>ninja</Dependency>
|
<Dependency>ninja</Dependency>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
@@ -27,10 +27,10 @@
|
|||||||
<!-- Use new plugin-api.h header file from binutils to enable LLVM gold plugin -->
|
<!-- Use new plugin-api.h header file from binutils to enable LLVM gold plugin -->
|
||||||
<!-- <Dependency>binutils</Dependency-->
|
<!-- <Dependency>binutils</Dependency-->
|
||||||
<!-- <Dependency>gcc</Dependency> -->
|
<!-- <Dependency>gcc</Dependency> -->
|
||||||
<Dependency>llvm</Dependency>
|
<!--Dependency>llvm</Dependency>
|
||||||
<Dependency>llvm-clang-devel</Dependency>
|
<Dependency>llvm-clang-devel</Dependency>
|
||||||
<Dependency>lld</Dependency>
|
<Dependency>lld</Dependency>
|
||||||
<Dependency>llvm-polly</Dependency>
|
<Dependency>llvm-polly</Dependency-->
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<!--<AdditionalFiles>
|
<!--<AdditionalFiles>
|
||||||
<AdditionalFile owner="root" permission="0644" target="../support-linking-ScopPassManager-against-LLVM-dylib.patch">support-linking-ScopPassManager-against-LLVM-dylib.patch</AdditionalFile>
|
<AdditionalFile owner="root" permission="0644" target="../support-linking-ScopPassManager-against-LLVM-dylib.patch">support-linking-ScopPassManager-against-LLVM-dylib.patch</AdditionalFile>
|
||||||
@@ -342,6 +342,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="22">
|
||||||
|
<Date>2022-06-27</Date>
|
||||||
|
<Version>14.0.6</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Mustafa Cinasal</Name>
|
||||||
|
<Email>muscnsl@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="21">
|
<Update release="21">
|
||||||
<Date>2022-04-29</Date>
|
<Date>2022-04-29</Date>
|
||||||
<Version>14.0.3</Version>
|
<Version>14.0.3</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user