Versionize for parallel installation with newer llvm master
authorYaakov Selkowitz <yselkowi@redhat.com>
Wed, 30 Mar 2016 03:45:05 +0000 (22:45 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Wed, 30 Mar 2016 03:45:05 +0000 (22:45 -0500)
3.4.2-cygwin-ctypes.patch [deleted file]
3.4.2-llvm-config.patch [deleted file]
3.5.1-cmodel-medium.patch [new file with mode: 0644]
3.5.1-cygwin-clang.patch [deleted file]
3.5.2-llvm-config.patch [new file with mode: 0644]
llvm.cygport [deleted file]
llvm3.5.cygport [new file with mode: 0644]

diff --git a/3.4.2-cygwin-ctypes.patch b/3.4.2-cygwin-ctypes.patch
deleted file mode 100644 (file)
index 11f7b06..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- origsrc/llvm-3.4.2.src/tools/clang/bindings/python/clang/cindex.py 2013-10-30 19:03:33.000000000 -0500
-+++ src/llvm-3.4.2.src/tools/clang/bindings/python/clang/cindex.py     2014-07-18 01:42:09.886168900 -0500
-@@ -3350,12 +3350,14 @@ class Config:
-         if Config.library_file:
-             return Config.library_file
--        import platform
--        name = platform.system()
-+        import sys
-+        name = sys.platform
--        if name == 'Darwin':
-+        if name == 'darwin':
-             file = 'libclang.dylib'
--        elif name == 'Windows':
-+        elif name == 'cygwin':
-+            file = 'cygclang.dll'
-+        elif name == 'win32':
-             file = 'libclang.dll'
-         else:
-             file = 'libclang.so'
diff --git a/3.4.2-llvm-config.patch b/3.4.2-llvm-config.patch
deleted file mode 100644 (file)
index 3f60a76..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- origsrc/llvm-3.4.2.src/tools/llvm-config/llvm-config.cpp   2013-06-26 08:54:34.000000000 -0500
-+++ src/llvm-3.4.2.src/tools/llvm-config/llvm-config.cpp       2014-07-18 00:15:07.389996100 -0500
-@@ -280,7 +280,7 @@ int main(int argc, char **argv) {
-         OS << "-L" << ActiveLibDir << ' ' << LLVM_LDFLAGS
-            << ' ' << LLVM_SYSTEM_LIBS << '\n';
-       } else if (Arg == "--libs") {
--        PrintLibs = true;
-+        OS << "-lLLVM-" << PACKAGE_VERSION << '\n';
-       } else if (Arg == "--libnames") {
-         PrintLibNames = true;
-       } else if (Arg == "--libfiles") {
diff --git a/3.5.1-cmodel-medium.patch b/3.5.1-cmodel-medium.patch
new file mode 100644 (file)
index 0000000..cba4060
--- /dev/null
@@ -0,0 +1,12 @@
+--- origsrc/llvm-3.5.1.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp     2014-07-17 11:27:40.000000000 -0500
++++ src/llvm-3.5.1.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp 2015-04-30 23:57:03.440469200 -0500
+@@ -340,7 +340,8 @@ static MCCodeGenInfo *createX86MCCodeGen
+   // For static codegen, if we're not already set, use Small codegen.
+   if (CM == CodeModel::Default)
+-    CM = CodeModel::Small;
++    CM = T.isWindowsCygwinEnvironment() && is64Bit ? CodeModel::Medium
++                                                   : CodeModel::Small;
+   else if (CM == CodeModel::JITDefault)
+     // 64-bit JIT places everything in the same buffer except external funcs.
+     CM = is64Bit ? CodeModel::Large : CodeModel::Small;
diff --git a/3.5.1-cygwin-clang.patch b/3.5.1-cygwin-clang.patch
deleted file mode 100644 (file)
index 9d52e0c..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
---- origsrc/llvm-3.5.1.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp     2014-07-17 11:27:40.000000000 -0500
-+++ src/llvm-3.5.1.src/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp 2015-04-30 23:57:03.440469200 -0500
-@@ -340,7 +340,8 @@ static MCCodeGenInfo *createX86MCCodeGen
-   // For static codegen, if we're not already set, use Small codegen.
-   if (CM == CodeModel::Default)
--    CM = CodeModel::Small;
-+    CM = T.isWindowsCygwinEnvironment() && is64Bit ? CodeModel::Medium
-+                                                   : CodeModel::Small;
-   else if (CM == CodeModel::JITDefault)
-     // 64-bit JIT places everything in the same buffer except external funcs.
-     CM = is64Bit ? CodeModel::Large : CodeModel::Small;
---- origsrc/llvm-3.5.1.src/tools/clang/lib/Basic/Targets.cpp   2014-08-08 17:59:37.000000000 -0500
-+++ src/llvm-3.5.1.src/tools/clang/lib/Basic/Targets.cpp       2015-05-01 00:03:14.734617600 -0500
-@@ -3203,6 +3203,7 @@ public:
-     Builder.defineMacro("_X86_");
-     Builder.defineMacro("__CYGWIN__");
-     Builder.defineMacro("__CYGWIN32__");
-+    Builder.defineMacro("__declspec(a)", "__attribute__((a))");
-     DefineStd(Builder, "unix", Opts);
-     if (Opts.CPlusPlus)
-       Builder.defineMacro("_GNU_SOURCE");
-@@ -3409,6 +3410,35 @@ public:
- } // end anonymous namespace
- namespace {
-+// x86-64 Cygwin target
-+class CygwinX86_64TargetInfo : public X86_64TargetInfo {
-+public:
-+  CygwinX86_64TargetInfo(const llvm::Triple &Triple)
-+      : X86_64TargetInfo(Triple) {
-+    TLSSupported = false;
-+    WCharType = UnsignedShort;
-+  }
-+  virtual void getTargetDefines(const LangOptions &Opts,
-+                                MacroBuilder &Builder) const {
-+    X86_64TargetInfo::getTargetDefines(Opts, Builder);
-+    Builder.defineMacro("__CYGWIN__");
-+    Builder.defineMacro("__declspec(a)", "__attribute__((a))");
-+    DefineStd(Builder, "unix", Opts);
-+    if (Opts.CPlusPlus)
-+      Builder.defineMacro("_GNU_SOURCE");
-+  }
-+  virtual BuiltinVaListKind getBuiltinVaListKind() const {
-+    return TargetInfo::CharPtrBuiltinVaList;
-+  }
-+  virtual CallingConvCheckResult checkCallingConvention(CallingConv CC) const {
-+    return (CC == CC_C ||
-+            CC == CC_IntelOclBicc ||
-+            CC == CC_X86_64SysV) ? CCCR_OK : CCCR_Warning;
-+  }
-+};
-+} // end anonymous namespace
-+
-+namespace {
- class DarwinX86_64TargetInfo : public DarwinTargetInfo<X86_64TargetInfo> {
- public:
-   DarwinX86_64TargetInfo(const llvm::Triple &Triple)
-@@ -6357,6 +6387,8 @@ static TargetInfo *AllocateTarget(const
-       switch (Triple.getEnvironment()) {
-       default:
-         return new X86_64TargetInfo(Triple);
-+      case llvm::Triple::Cygnus:
-+        return new CygwinX86_64TargetInfo(Triple);
-       case llvm::Triple::GNU:
-         return new MinGWX86_64TargetInfo(Triple);
-       case llvm::Triple::MSVC:
---- origsrc/llvm-3.5.1.src/tools/clang/lib/Driver/Tools.cpp    2014-08-06 23:51:51.000000000 -0500
-+++ src/llvm-3.5.1.src/tools/clang/lib/Driver/Tools.cpp        2015-05-01 00:00:53.669704600 -0500
-@@ -3887,7 +3887,7 @@ void Clang::ConstructJob(Compilation &C,
-   // -fuse-cxa-atexit is default.
-   if (!Args.hasFlag(options::OPT_fuse_cxa_atexit,
-                     options::OPT_fno_use_cxa_atexit,
--                    !IsWindowsCygnus && !IsWindowsGNU &&
-+                    !IsWindowsGNU &&
-                     getToolChain().getArch() != llvm::Triple::hexagon &&
-                     getToolChain().getArch() != llvm::Triple::xcore) ||
-       KernelOrKext)
---- origsrc/llvm-3.5.1.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp       2014-06-10 16:07:12.000000000 -0500
-+++ src/llvm-3.5.1.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp   2015-05-01 00:05:18.171792100 -0500
-@@ -395,14 +395,13 @@ AddDefaultCPlusPlusIncludePaths(const ll
-   case llvm::Triple::Win32:
-     switch (triple.getEnvironment()) {
-     default: llvm_unreachable("Include management is handled in the driver.");
--    case llvm::Triple::Cygnus:
--      // Cygwin-1.7
--      AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.7.3");
--      AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.5.3");
--      AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.3.4");
--      // g++-4 / Cygwin-1.5
--      AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", "i686-pc-cygwin", "4.3.2");
-+    case llvm::Triple::Cygnus: {
-+      std::string arch = triple.getArch() == llvm::Triple::x86_64 ? "x86_64" : "i686";
-+      AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", arch + "-pc-cygwin", "4.9.3");
-+      AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", arch + "-pc-cygwin", "4.9.2");
-+      AddMinGWCPlusPlusIncludePaths("/usr/lib/gcc", arch + "-pc-cygwin", "4.8.3");
-       break;
-+    }
-     case llvm::Triple::GNU:
-       // mingw-w64 C++ include paths (i686-w64-mingw32 and x86_64-w64-mingw32)
-       AddMinGW64CXXPaths(HSOpts.ResourceDir, "4.7.0");
diff --git a/3.5.2-llvm-config.patch b/3.5.2-llvm-config.patch
new file mode 100644 (file)
index 0000000..43ea890
--- /dev/null
@@ -0,0 +1,44 @@
+--- origsrc/llvm-3.5.2.src/Makefile.config.in  2014-07-16 11:50:34.000000000 -0500
++++ src/llvm-3.5.2.src/Makefile.config.in      2016-03-28 20:54:17.679722200 -0500
+@@ -103,7 +103,7 @@ PROJ_libdir     := $(PROJ_prefix)/lib
+ PROJ_datadir    := $(PROJ_prefix)/share
+ PROJ_docsdir    := $(PROJ_prefix)/docs/llvm
+ PROJ_etcdir     := $(PROJ_prefix)/etc/llvm
+-PROJ_includedir := $(PROJ_prefix)/include
++PROJ_includedir := $(PROJ_prefix)/include/llvm-$(LLVMVersion)
+ PROJ_infodir    := $(PROJ_prefix)/info
+ PROJ_mandir     := $(PROJ_prefix)/share/man
+--- origsrc/llvm-3.5.2.src/tools/llvm-config/llvm-config.cpp   2014-03-28 20:08:53.000000000 -0500
++++ src/llvm-3.5.2.src/tools/llvm-config/llvm-config.cpp       2016-03-28 20:54:17.685222900 -0500
+@@ -234,7 +234,7 @@ int main(int argc, char **argv) {
+   std::string ActivePrefix, ActiveBinDir, ActiveIncludeDir, ActiveLibDir;
+   std::string ActiveIncludeOption;
+   if (IsInDevelopmentTree) {
+-    ActiveIncludeDir = std::string(LLVM_SRC_ROOT) + "/include";
++    ActiveIncludeDir = std::string(LLVM_SRC_ROOT) + "/include/llvm-" + PACKAGE_VERSION;
+     ActivePrefix = CurrentExecPrefix;
+     // CMake organizes the products differently than a normal prefix style
+@@ -258,10 +258,10 @@ int main(int argc, char **argv) {
+     // We need to include files from both the source and object trees.
+     ActiveIncludeOption = ("-I" + ActiveIncludeDir + " " +
+-                           "-I" + ActiveObjRoot + "/include");
++                           "-I" + ActiveObjRoot + "/include/llvm-" + PACKAGE_VERSION);
+   } else {
+     ActivePrefix = CurrentExecPrefix;
+-    ActiveIncludeDir = ActivePrefix + "/include";
++    ActiveIncludeDir = ActivePrefix + "/include/llvm-" + PACKAGE_VERSION;
+     ActiveBinDir = ActivePrefix + "/bin";
+     ActiveLibDir = ActivePrefix + "/lib";
+     ActiveIncludeOption = "-I" + ActiveIncludeDir;
+@@ -294,7 +294,7 @@ int main(int argc, char **argv) {
+       } else if (Arg == "--system-libs") {
+         PrintSystemLibs = true;
+       } else if (Arg == "--libs") {
+-        PrintLibs = true;
++        OS << "-lLLVM-" << PACKAGE_VERSION << '\n';
+       } else if (Arg == "--libnames") {
+         PrintLibNames = true;
+       } else if (Arg == "--libfiles") {
diff --git a/llvm.cygport b/llvm.cygport
deleted file mode 100644 (file)
index 63c9f61..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-# IMPORTANT:
-# This package MUST be rebuilt for each version of gcc, and the
-# cygwin-clang.patch fixed accordingly.
-
-inherit python python3
-
-NAME="llvm"
-VERSION=3.5.2
-RELEASE=1
-CATEGORY="Libs"
-SUMMARY="LLVM bytecode interpreter and toolchain"
-DESCRIPTION="The LLVM Core libraries provide a modern source- and target-
-independent optimizer, along with code generation support for many popular CPUs
-(as well as some less common ones!) These libraries are built around a well
-specified code representation known as the LLVM intermediate representation."
-HOMEPAGE="http://www.llvm.org/"
-SRC_URI="http://www.llvm.org/releases/${VERSION}/llvm-${VERSION}.src.tar.xz"
-SRC_URI+=" http://www.llvm.org/releases/${VERSION}/cfe-${VERSION}.src.tar.xz"
-SRC_DIR="llvm-${VERSION}.src"
-PATCH_URI="
-       3.4.2-llvm-config.patch
-       3.4.2-cygwin-implib.patch
-       3.5.1-cygwin-clang.patch
-       3.4.2-cygwin-ctypes.patch
-"
-
-PKG_NAMES="llvm llvm-doc libllvm3.5 libllvm-devel libllvm-devel-static"
-PKG_NAMES+=" clang clang-analyzer libclang libclang-devel libclang-devel-static"
-PKG_NAMES+=" python-clang python3-clang"
-llvm_CATEGORY="Interpreters"
-llvm_CONTENTS="--exclude=cygclang.dll --exclude=clang* --exclude=cygLLVM-*.dll
-               --exclude=llvm-config* --exclude=c-*.exe --exclude=scan-*
-               --exclude=html* --exclude=ps --exclude=ocamldoc*
-               usr/bin/ usr/share/doc/"
-llvm_doc_CATEGORY="Doc"
-llvm_doc_SUMMARY="LLVM documentation"
-llvm_doc_CONTENTS="usr/share/doc/${PN}/html* usr/share/doc/${PN}/ps/"
-libllvm3_5_SUMMARY="LLVM library (runtime)"
-libllvm3_5_CONTENTS="usr/bin/cygLLVM-3.5.dll"
-libllvm_devel_SUMMARY="LLVM library (development)"
-libllvm_devel_CONTENTS="usr/bin/llvm-config* usr/include/llvm* usr/lib/libLLVM-*.dll.a usr/share/llvm/cmake/"
-libllvm_devel_static_SUMMARY=${llvm_devel_SUMMARY}
-libllvm_devel_static_REQUIRES="libllvm-devel"
-libllvm_devel_static_CONTENTS="--exclude=*.dll.a usr/lib/libLLVM*"
-ocaml_llvm_SUMMARY="LLVM library (OCaml bindings)"
-ocaml_llvm_CONTENTS="${OCAML_LIBDIR#/} usr/share/doc/${PN}/ocamldoc*"
-clang_CATEGORY="Devel"
-clang_SUMMARY="C/C++/ObjC compiler frontend based on LLVM"
-clang_DESCRIPTION="Clang is an LLVM native C/C++/ObjC compiler, which aims to
-deliver amazingly fast compiles, extremely useful error and warning messages
-and to provide a platform for building great source level tools. The Clang
-Static Analyzer is a tool that automatically finds bugs in your code, and is a
-great example of the sort of tool that can be built using the Clang frontend
-as a library to parse C/C++ code."
-clang_REQUIRES="gcc-core gcc-g++"
-clang_CONTENTS="usr/bin/c-* usr/bin/clang*.exe usr/bin/clang++ usr/lib/clang/ usr/share/man/man1/clang*"
-clang_analyzer_CATEGORY="Devel"
-clang_analyzer_SUMMARY="C/C++/ObjC code analyzer"
-clang_analyzer_DESCRIPTION=${clang_DESCRIPTION}
-clang_analyzer_REQUIRES="clang"
-clang_analyzer_CONTENTS="usr/bin/scan-* usr/libexec/clang-analyzer/ usr/share/man/man1/scan-build.*"
-libclang_SUMMARY="C/C++/ObjC compiler library (runtime)"
-libclang_DESCRIPTION=${clang_DESCRIPTION}
-libclang_CONTENTS="usr/bin/cygclang.dll"
-libclang_devel_SUMMARY="C/C++/ObjC compiler library (development)"
-libclang_devel_DESCRIPTION=${clang_DESCRIPTION}
-libclang_devel_REQUIRES="libllvm-devel"
-libclang_devel_CONTENTS="usr/include/clang-c/ usr/lib/libclang.dll.a"
-libclang_devel_static_SUMMARY=${libclang_devel_SUMMARY}
-libclang_devel_static_REQUIRES="libclang-devel"
-libclang_devel_static_CONTENTS="--exclude=*.dll.a usr/include/clang/ usr/lib/libclang*"
-python_clang_SUMMARY="C/C++/ObjC compiler library (Python bindings)"
-python_clang_DESCRIPTION=${clang_DESCRIPTION}
-python_clang_REQUIRES="libclang"  # loaded via ctypes
-python_clang_CONTENTS="${PYTHON_SITELIB#/}/clang/"
-python3_clang_SUMMARY="C/C++/ObjC compiler library (Py3K bindings)"
-python3_clang_DESCRIPTION=${clang_DESCRIPTION}
-python3_clang_REQUIRES="libclang"  # loaded via ctypes
-python3_clang_CONTENTS="${PYTHON3_SITELIB#/}/clang/"
-
-CYGPORT_USE_UNSTABLE_API=1
-src_unpack_hook() {
-       rm -fr tools/clang
-       mv ../cfe-${VERSION}.src tools/clang
-}
-
-src_compile() {
-       # leave optimization to build system, fails to dlopen with -O2
-       CFLAGS=${CFLAGS/-O[0-9]/}
-       CXXFLAGS=${CXXFLAGS/-O[0-9]/}
-
-       local gccdir=/usr/lib/gcc/${ARCH}-pc-cygwin/$(${CC} -dumpversion)
-
-       cd ${B}
-       cygconf --disable-assertions --enable-optimized --enable-debug-runtime \
-               --enable-debug-symbols --enable-targets=x86,cpp \
-               --enable-libffi --enable-shared --disable-embed-stdcxx \
-               --disable-polly --disable-libcpp --enable-bindings=none \
-               --with-gcc-toolchain=/usr \
-               --with-clang-resource-dir=../lib/clang/${ARCH}-pc-cygwin/${VERSION} \
-               --with-c-include-dirs=${gccdir}/include:/usr/include:/usr/include/w32api
-
-       cygmake REQUIRES_RTTI=1
-}
-
-src_install() {
-       cd ${B}
-       cyginstall PROJ_docsdir=/usr/share/doc/llvm \
-               PROJ_headers=${D}/usr/lib/clang/${ARCH}-pc-cygwin/${VERSION}/include
-
-       case ${VERSION} in
-       *.*.*)  rm -f ${D}/usr/bin/cygLLVM-${VERSION}.dll
-               dosym libLLVM-${VERSION%.*}.dll.a /usr/lib/libLLVM-${VERSION}.dll.a
-       esac
-
-       dodir /usr/libexec/clang-analyzer
-       for a in scan-build scan-view
-       do
-               cp -r ${S}/tools/clang/tools/$a ${D}/usr/libexec/clang-analyzer/
-               dosym /usr/libexec/clang-analyzer/$a/$a /usr/bin/$a
-       done
-       doman ${S}/tools/clang/tools/scan-build/scan-build.1
-       rm -f ${D}/usr/libexec/clang-analyzer/scan-build/*.1
-       python_optimize /usr/libexec/clang-analyzer
-
-       dodir /usr/libexec/clang-analyzer/scan-build/bin
-       dosym /usr/bin/clang.exe /usr/libexec/clang-analyzer/scan-build/bin/clang
-
-       pythoninto clang
-       dopython ${S}/tools/clang/bindings/python/clang/*.py
-       python_optimize
-
-       python3into clang
-       dopython3 ${S}/tools/clang/bindings/python/clang/*.py
-       2to3-${PYTHON3_VERSION} -n -w ${D}${PYTHON3_SITELIB}/clang/*.py
-       python3_optimize
-}
diff --git a/llvm3.5.cygport b/llvm3.5.cygport
new file mode 100644 (file)
index 0000000..2451201
--- /dev/null
@@ -0,0 +1,63 @@
+NAME="llvm3.5"
+VERSION=3.5.2
+RELEASE=2
+CATEGORY="Libs"
+SUMMARY="LLVM bytecode interpreter and toolchain"
+DESCRIPTION="The LLVM Core libraries provide a modern source- and target-
+independent optimizer, along with code generation support for many popular CPUs
+(as well as some less common ones!) These libraries are built around a well
+specified code representation known as the LLVM intermediate representation."
+HOMEPAGE="http://www.llvm.org/"
+SRC_URI="http://www.llvm.org/releases/${VERSION}/llvm-${VERSION}.src.tar.xz"
+SRC_DIR="llvm-${VERSION}.src"
+PATCH_URI="
+       3.5.2-llvm-config.patch
+       3.4.2-cygwin-implib.patch
+       3.5.1-cmodel-medium.patch
+"
+
+PKG_NAMES="libllvm3.5 libllvm3.5-devel"
+libllvm3_5_SUMMARY="LLVM library (runtime)"
+libllvm3_5_CONTENTS="
+       usr/bin/cygLLVM-3.5.dll
+       usr/share/doc/${NAME}/
+"
+libllvm3_5_devel_SUMMARY="LLVM library (development)"
+libllvm3_5_devel_CONTENTS="
+       usr/bin/llvm-config-3.5.exe
+       usr/bin/llvm-tblgen-3.5.exe
+       usr/include/llvm-${VERSION}/
+       usr/lib/libLLVM-3.5*.dll.a
+"
+
+src_compile() {
+       # leave optimization to build system, fails to dlopen with -O2
+       CFLAGS=${CFLAGS/-O[0-9]/}
+       CXXFLAGS=${CXXFLAGS/-O[0-9]/}
+
+       cd ${B}
+       # build system does NOT honour --includedir
+       cygconf --disable-assertions --enable-optimized --enable-debug-runtime \
+               --enable-debug-symbols --enable-targets=x86,cpp \
+               --enable-libffi --enable-shared --disable-embed-stdcxx \
+               --disable-polly --disable-libcpp --enable-bindings=none
+
+       cygmake libs-only REQUIRES_RTTI=1
+}
+
+src_install() {
+       cd ${B}
+       cygmake install-libs DESTDIR=${D} ENABLE_DOCS=0
+
+       case ${VERSION} in
+       *.*.*)  rm -f ${D}/usr/bin/cygLLVM-${VERSION}.dll
+               dosym libLLVM-${VERSION%.*}.dll.a /usr/lib/libLLVM-${VERSION}.dll.a
+       esac
+
+       # avoid conflicts with latest llvm packages
+       rm -f ${D}/usr/bin/{FileCheck,count,not}.exe
+       mv ${D}/usr/bin/llvm-config{,-3.5}.exe
+       mv ${D}/usr/bin/llvm-tblgen{,-3.5}.exe
+       rm -f ${D}/usr/lib/libLLVM[^-]*.a
+       rm -fr ${D}/usr/share/llvm/cmake/
+}
This page took 0.031505 seconds and 5 git commands to generate.