llvm 10.0.0
This commit is contained in:
@@ -17,7 +17,7 @@ NoStrip = ["/usr/lib/clang/%s/lib/linux" % get.srcVERSION()]
|
|||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
|
|
||||||
pisitools.ldflags.add("-fuse-ld=lld")
|
#pisitools.ldflags.add("-fuse-ld=lld")
|
||||||
|
|
||||||
if get.buildTYPE() != "emul32":
|
if get.buildTYPE() != "emul32":
|
||||||
if not shelltools.can_access_directory("tools/clang"):
|
if not shelltools.can_access_directory("tools/clang"):
|
||||||
@@ -44,6 +44,9 @@ def setup():
|
|||||||
shelltools.export("CXX", "clang++")
|
shelltools.export("CXX", "clang++")
|
||||||
#shelltools.export("CC", "gcc")
|
#shelltools.export("CC", "gcc")
|
||||||
#shelltools.export("CXX", "g++")
|
#shelltools.export("CXX", "g++")
|
||||||
|
else:
|
||||||
|
shelltools.system("tar xf ../clang-%s.src.tar.xz -C tools" % get.srcVERSION())
|
||||||
|
shelltools.move("tools/clang-%s.src" % get.srcVERSION(), "tools/clang")
|
||||||
|
|
||||||
if get.buildTYPE() == "emul32":
|
if get.buildTYPE() == "emul32":
|
||||||
shelltools.export("CC", "clang -m32")
|
shelltools.export("CC", "clang -m32")
|
||||||
|
|||||||
@@ -33,7 +33,6 @@
|
|||||||
<Dependency>binutils</Dependency>
|
<Dependency>binutils</Dependency>
|
||||||
<Dependency>llvm-clang</Dependency>
|
<Dependency>llvm-clang</Dependency>
|
||||||
<!-- <Dependency>lld</Dependency> -->
|
<!-- <Dependency>lld</Dependency> -->
|
||||||
<!-- <Dependency>lld</Dependency> -->
|
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -81,7 +80,7 @@
|
|||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/lib/libLLVM*.so</Path>
|
<Path fileType="library">/usr/lib/libLLVM*.so</Path>
|
||||||
<Path fileType="library">/usr/lib/libLLVM*.so.*</Path>
|
<Path fileType="library">/usr/lib/libLLVM*.so.10</Path>
|
||||||
<Path fileType="library">/usr/lib/LLVMgold.*</Path>
|
<Path fileType="library">/usr/lib/LLVMgold.*</Path>
|
||||||
<Path fileType="library">/usr/lib/libLTO.*</Path>
|
<Path fileType="library">/usr/lib/libLTO.*</Path>
|
||||||
<Path fileType="library">/usr/lib/libPolly*.so</Path>
|
<Path fileType="library">/usr/lib/libPolly*.so</Path>
|
||||||
@@ -190,6 +189,16 @@
|
|||||||
<Path fileType="executable">/usr/libexec/c++-*</Path>
|
<Path fileType="executable">/usr/libexec/c++-*</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>compiler-rt</Name>
|
||||||
|
<Summary>Various runtime libraries used by Clang</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/clang/10.0.0/lib/linux/*.so</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>llvm-clang</Name>
|
<Name>llvm-clang</Name>
|
||||||
@@ -214,16 +223,6 @@
|
|||||||
<Path fileType="data">/usr/share/clang</Path>
|
<Path fileType="data">/usr/share/clang</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
|
||||||
<Name>compiler-rt</Name>
|
|
||||||
<Summary>Various runtime libraries used by Clang</Summary>
|
|
||||||
<RuntimeDependencies>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
<Files>
|
|
||||||
<Path fileType="library">/usr/lib/clang/10.0.0/lib/linux/*.so</Path>
|
|
||||||
</Files>
|
|
||||||
</Package>
|
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>llvm-clang-devel</Name>
|
<Name>llvm-clang-devel</Name>
|
||||||
|
|||||||
Reference in New Issue
Block a user