@@ -17,7 +17,7 @@ NoStrip = ["/usr/lib/clang/%s/lib/linux" % get.srcVERSION()]
|
||||
|
||||
def setup():
|
||||
|
||||
pisitools.ldflags.add("-fuse-ld=lld")
|
||||
#pisitools.ldflags.add("-fuse-ld=lld")
|
||||
|
||||
if get.buildTYPE() != "emul32":
|
||||
if not shelltools.can_access_directory("tools/clang"):
|
||||
@@ -44,6 +44,9 @@ def setup():
|
||||
shelltools.export("CXX", "clang++")
|
||||
#shelltools.export("CC", "gcc")
|
||||
#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":
|
||||
shelltools.export("CC", "clang -m32")
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
<Dependency>binutils</Dependency>
|
||||
<Dependency>llvm-clang</Dependency>
|
||||
<!-- <Dependency>lld</Dependency> -->
|
||||
<!-- <Dependency>lld</Dependency> -->
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -81,7 +80,7 @@
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<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/libLTO.*</Path>
|
||||
<Path fileType="library">/usr/lib/libPolly*.so</Path>
|
||||
@@ -190,6 +189,16 @@
|
||||
<Path fileType="executable">/usr/libexec/c++-*</Path>
|
||||
</Files>
|
||||
</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>
|
||||
<Name>llvm-clang</Name>
|
||||
@@ -214,16 +223,6 @@
|
||||
<Path fileType="data">/usr/share/clang</Path>
|
||||
</Files>
|
||||
</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>
|
||||
<Name>llvm-clang-devel</Name>
|
||||
|
||||
Reference in New Issue
Block a user