From e54de5a45a4a74e292e59a5e54faebb51d4f73f8 Mon Sep 17 00:00:00 2001 From: Idris Kalp Date: Sun, 15 Nov 2020 23:00:59 +0300 Subject: [PATCH] llvm fix --- programming/build/llvm/actions.py | 8 ++++---- programming/build/llvm/pspec.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index 808ce37bb2..ed6dd8a2e2 100755 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -14,7 +14,7 @@ libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm" lib = "lib32" if get.buildTYPE() == "emul32" else "lib" libsuffix = "32" if get.buildTYPE() == "emul32" else "" -NoStrip = ["/usr/"] +NoStrip = ["/usr/lib/clang/%s/lib/linux" %get.srcVERSION()] WorkDir = "llvm-project-%s/llvm" %get.srcVERSION() @@ -91,7 +91,7 @@ def setup(): cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \ - -G 'Ninja' \ + -G 'MSYS Makefiles' \ %s \ -DLLVM_ENABLE_PROJECTS='%s' \ -DLLVM_ENABLE_FFI=ON \ @@ -110,13 +110,13 @@ def build(): shelltools.makedirs("build") shelltools.cd("build") - shelltools.system("ninja") + autotools.make() def install(): shelltools.makedirs("build") shelltools.cd("build") - shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) if get.buildTYPE() == "emul32": diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml index 0577dc93a8..789f73fcc7 100755 --- a/programming/build/llvm/pspec.xml +++ b/programming/build/llvm/pspec.xml @@ -279,7 +279,7 @@ - 2020-11-12 + 2020-11-15 11.0.0 Version bump. İdris Kalp