[arch-commits] Commit in ldc/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Oct 8 11:11:13 UTC 2019


    Date: Tuesday, October 8, 2019 @ 11:11:13
  Author: foutrelis
Revision: 514200

upgpkg: ldc 2:1.17.0-4

LLVM 9 rebuild.

Modified:
  ldc/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-08 10:41:26 UTC (rev 514199)
+++ PKGBUILD	2019-10-08 11:11:13 UTC (rev 514200)
@@ -7,9 +7,9 @@
 pkgver=1.17.0
 _pkgcommit=67d5ff27cb8e5f14017f9fe4af431b64ec82075e
 _dversion=2.087.1
-_clangversion=8.0.1 # related to where ldc2 looks for compiler-rt sanitizers
+_clangversion=9.0.0 # related to where ldc2 looks for compiler-rt sanitizers
 epoch=2
-pkgrel=3
+pkgrel=4
 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
 arch=('x86_64')
 url="https://github.com/ldc-developers/ldc"
@@ -39,6 +39,11 @@
 
     # Set version used for path construction in getFullClangCompilerRTLibPath()
     sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp
+
+    # LLVM 9 compatibility fixes
+    git cherry-pick -n 030123410a 0ab79c1950 c25614eb6b 29436882e8
+    # https://github.com/ldc-developers/ldc/issues/3079
+    sed -i '/FileCheck/,$d' utils/CMakeLists.txt
 }
 
 build() {



More information about the arch-commits mailing list