From 512cd1b5cbe99067af6462e1b516a2fd02f3a895 Mon Sep 17 00:00:00 2001 From: idriskalp Date: Thu, 9 Jan 2020 17:29:13 +0300 Subject: [PATCH] llvm fix file paths --- programming/build/llvm/actions.py | 8 ++++---- programming/build/llvm/pspec.xml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index 9e8c046a8a..2c77bf96eb 100755 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -36,13 +36,13 @@ def setup(): shelltools.system("tar xf ../compiler-rt-%s.src.tar.xz -C projects" % get.srcVERSION()) shelltools.move("projects/compiler-rt-%s.src" % get.srcVERSION(), "projects/compiler-rt") - #shelltools.export("CC", "clang") - #shelltools.export("CXX", "clang++") + shelltools.export("CC", "clang") + shelltools.export("CXX", "clang++") if get.buildTYPE() == "emul32": - #shelltools.export("CC", "clang -m32") - #shelltools.export("CXX", "clang++ -m32") + shelltools.export("CC", "clang -m32") + shelltools.export("CXX", "clang++ -m32") shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig") shelltools.makedirs("build") diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml index b0d8401d25..1bd1e2ec13 100755 --- a/programming/build/llvm/pspec.xml +++ b/programming/build/llvm/pspec.xml @@ -79,6 +79,7 @@ /usr/lib/libLLVM*.so + /usr/lib/libLLVM*.so.9 /usr/lib/LLVMgold.* /usr/lib/libLTO.* /usr/lib/libPolly*.so