diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index eb18efb626..ded62fc2bd 100755 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -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") diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml index 40cb6ea903..94293ed005 100755 --- a/programming/build/llvm/pspec.xml +++ b/programming/build/llvm/pspec.xml @@ -33,7 +33,6 @@ binutils llvm-clang - @@ -81,7 +80,7 @@ /usr/lib/libLLVM*.so - /usr/lib/libLLVM*.so.* + /usr/lib/libLLVM*.so.10 /usr/lib/LLVMgold.* /usr/lib/libLTO.* /usr/lib/libPolly*.so @@ -190,6 +189,16 @@ /usr/libexec/c++-* + + + compiler-rt + Various runtime libraries used by Clang + + + + /usr/lib/clang/10.0.0/lib/linux/*.so + + llvm-clang @@ -214,16 +223,6 @@ /usr/share/clang - - - compiler-rt - Various runtime libraries used by Clang - - - - /usr/lib/clang/10.0.0/lib/linux/*.so - - llvm-clang-devel