llvm rebuild

This commit is contained in:
Rmys
2020-12-17 18:07:24 +03:00
committed by GitHub
parent 8e783bf0d0
commit dcf5ac2c5d
6 changed files with 1201 additions and 21 deletions
+60 -15
View File
@@ -11,8 +11,15 @@
<License>NCSA</License>
<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>
<Archive sha1sum="5723ae20d1e6e9ccfda208cb9a8cf2f87c3a6107" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/llvm-11.0.0.src.tar.xz</Archive>
<Archive sha1sum="02c87f5e07f2a1c1e2dbb8ce8328f0106d70b10d" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/clang-11.0.0.src.tar.xz</Archive>
<Archive sha1sum="b77dc0494894b997c8f4012debbf0bf469462386" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/clang-tools-extra-11.0.0.src.tar.xz</Archive>
<Archive sha1sum="6bdb22e6b5e4700269f23452d66b0bddee93e008" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/lldb-11.0.0.src.tar.xz</Archive>
<Archive sha1sum="60672d63fa16a0c3b6e267331fa605d76b79e87b" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/lld-11.0.0.src.tar.xz</Archive>
<Archive sha1sum="455be0af2ffbc1db71e61c463398549ff553c198" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/polly-11.0.0.src.tar.xz</Archive>
<Archive sha1sum="be3e79fb93cd99135643a191f27c49449bf9c0ee" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/compiler-rt-11.0.0.src.tar.xz</Archive>
<Archive sha1sum="3c88390b19ac6779c8d9c89256892d690903412b" type="tarxz">https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/llvm-project-11.0.0.tar.xz</Archive>
<BuildDependencies>
<BuildDependencies>
<Dependency>ninja</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
@@ -31,10 +38,12 @@
<!-- <Dependency>lld</Dependency> -->
</BuildDependencies>
<AdditionalFiles>
<!-- <AdditionalFile owner="root" permission="0644" target="tools/enable-SSP-and-PIE-by-default.patch">enable-SSP-and-PIE-by-default.patch</AdditionalFile> -->
<AdditionalFile owner="root" permission="0644" target="../support-linking-ScopPassManager-against-LLVM-dylib.patch">support-linking-ScopPassManager-against-LLVM-dylib.patch</AdditionalFile>
</AdditionalFiles>
<Patches>
<Patch>llvm64.patch</Patch>
<Patch>0001-SystemZ-Use-LA-instead-of-AGR-in-eliminateFrameIndex.patch</Patch>
<Patch>0001-backport-D88371-guard-find_library-tensorflow_c_api.patch</Patch>
<Patch>stack-clash-fixes.patch</Patch>
</Patches>
</Source>
@@ -44,14 +53,14 @@
<IsA>library</IsA>
<RuntimeDependencies>
<Dependency release="current">llvm-libs</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/bin/llvm-config</Path>
<Path fileType="header">/usr/include/llvm*</Path>
<Path fileType="header">/usr/include/mlir*</Path>
<Path fileType="header">/usr/include/polly*</Path>
<Path fileType="library">/usr/lib/llvm</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="conf">/etc/ld.so.conf.d</Path>
@@ -79,14 +88,10 @@
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libLLVM*.so</Path>
<Path fileType="library">/usr/lib/libLLVM*.so.11</Path>
<Path fileType="library">/usr/lib/libLLVM*.so.11</Path>
<Path fileType="library">/usr/lib/LLVMgold.*</Path>
<Path fileType="library">/usr/lib/libLTO.*</Path>
<Path fileType="library">/usr/lib/libPolly*</Path>
<Path fileType="library">/usr/lib/LLVMPolly*</Path>
<Path fileType="library">/usr/lib/libRemarks*</Path>
<Path fileType="library">/usr/lib/libMLIR*</Path>
<Path fileType="library">/usr/lib/libmlir*</Path>
<Path fileType="library">/usr/lib/libLTO.*</Path>
<Path fileType="library">/usr/lib/libRemarks.so*</Path>
<Path fileType="library">/usr/lib/bfd-plugins/LLVMgold.so</Path>
<Path fileType="data">/usr/share/licenses/llvm-libs/LICENSE</Path>
</Files>
@@ -134,6 +139,7 @@
<Summary> Linker from the LLVM project</Summary>
<RuntimeDependencies>
<Dependency release="current">llvm-libs</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/ld.lld</Path>
@@ -141,7 +147,7 @@
<Path fileType="executable">/usr/bin/lld</Path>
<Path fileType="executable">/usr/bin/lld-link</Path>
<Path fileType="executable">/usr/bin/wasm-ld</Path>
<Path fileType="library">/usr/lib/liblldMachO2*</Path>
<Path fileType="library">/usr/lib/liblldMachO2.so*</Path>
<Path fileType="library">/usr/lib/liblldCOFF.*</Path>
<Path fileType="library">/usr/lib/liblldCommon.*</Path>
<Path fileType="library">/usr/lib/liblldCore.*</Path>
@@ -196,6 +202,14 @@
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/lib/clang/11.0.0/bin</Path>
<Path fileType="header">/usr/lib/clang/11.0.0/include/xray</Path>
<Path fileType="header">/usr/lib/clang/11.0.0/include/fuzzer</Path>
<Path fileType="header">/usr/lib/clang/11.0.0/include/sanitizer</Path>
<Path fileType="data">/usr/lib/clang/11.0.0/share</Path>
<Path fileType="library">/usr/lib/clang/11.0.0/lib/linux/*.a</Path>
<Path fileType="library">/usr/lib/clang/11.0.0/lib/linux/*.a.*</Path>
<Path fileType="library">/usr/lib/clang/11.0.0/lib/linux/*.o</Path>
<Path fileType="library">/usr/lib/clang/11.0.0/lib/linux/*.so</Path>
</Files>
</Package>
@@ -205,7 +219,6 @@
<Summary>A C language family front-end for LLVM</Summary>
<Description>The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler.</Description>
<RuntimeDependencies>
<Dependency release="current">llvm</Dependency>
<Dependency release="current">llvm-libs</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libgcc</Dependency>
@@ -236,11 +249,43 @@
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/clang</Path>
<Path fileType="header">/usr/lib/clang/11.0.0/include</Path>
<Path fileType="header">/usr/include/clang-c</Path>
<Path fileType="header">/usr/include/clang-tidy</Path>
</Files>
</Package>
<Package>
<Name>llvm-mlir</Name>
<Summary>MLIR is intended to be a hybrid IR which can support multiple different requirements in a unified infrastructure</Summary>
<RuntimeDependencies>
<Dependency release="current">llvm-libs</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/mlir*</Path>
<Path fileType="library">/usr/lib/libMLIR*</Path>
<Path fileType="library">/usr/lib/libmlir*</Path>
<Path fileType="header">/usr/include/mlir*</Path>
<Path fileType="data">/usr/lib/cmake/mlir</Path>
</Files>
</Package>
<Package>
<Name>llvm-polly</Name>
<Summary>High-level loop and data-locality optimizer and optimization infrastructure for LLVM</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/LLVMPolly.so</Path>
<Path fileType="library">/usr/lib/libPolly*.a*</Path>
<Path fileType="header">/usr/include/polly</Path>
<Path fileType="data">/usr/lib/cmake/polly</Path>
</Files>
</Package>
<!--Package>
<Name>llvm-docs</Name>
<PartOf>programming.docs</PartOf>
@@ -279,7 +324,7 @@
<History>
<Update release="14">
<Date>2020-11-29</Date>
<Date>2020-11-12</Date>
<Version>11.0.0</Version>
<Comment>Version bump.</Comment>
<Name>İdris Kalp</Name>