From 573f6434b93625ef7768fbd4a42b219306deeb03 Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 28 Jun 2022 11:54:49 +0300 Subject: [PATCH] llvm-14.0.6 --- programming/build/llvm/actions.py | 3 ++- programming/build/llvm/pspec.xml | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py index 773903f4b2..f71f12ac15 100644 --- a/programming/build/llvm/actions.py +++ b/programming/build/llvm/actions.py @@ -71,6 +71,7 @@ def setup(): pisitools.cxxflags.add("-m32") shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig") options = " -DCMAKE_INSTALL_PREFIX=/emul32 \ + -DCMAKE_INSTALL_LIBEXECDIR=/emul32/libexec \ -DLLVM_TARGET_ARCH:STRING=i686 \ -DLLVM_DEFAULT_TARGET_TRIPLE='i686-pc-linux-gnu'" @@ -90,7 +91,7 @@ def setup(): -DLLVM_INCLUDEDIR=/usr/include \ -DLLVM_ENABLE_ASSERTIONS=OFF \ -DFFI_INCLUDE_DIR=/usr/include \ - -DCOMPILER_RT_USE_LIBCXX=OFF" % (options, projects, libsuffix), sourceDir=".." ) + -DCOMPILER_RT_USE_LIBCXX=OFF" % (options, projects, libsuffix), sourceDir=".." ) def build(): shelltools.cd("build") diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml index 096d31bc12..23ef8d9fb2 100755 --- a/programming/build/llvm/pspec.xml +++ b/programming/build/llvm/pspec.xml @@ -189,6 +189,10 @@ /usr/share/opt-viewer /usr/libexec/ccc-* /usr/libexec/c++-* + /usr/libexec/intercept-c++ + /usr/libexec/analyze-c++ + /usr/libexec/intercept-cc + /usr/libexec/analyze-cc /usr/share/man/man1/scan-build.1