llvm 10.0.0

This commit is contained in:
idriskalp
2020-03-27 03:41:30 +03:00
parent 73f3bb3228
commit 8244b3350e
2 changed files with 15 additions and 13 deletions
+4 -1
View File
@@ -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")