community/ldc to 1.17.0-4

This commit is contained in:
Kevin Mihelich 2019-10-11 00:26:50 +00:00
parent b2e9e2c1a6
commit 6bbe416883

View file

@ -13,9 +13,9 @@ groups=('dlang' 'dlang-ldc')
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"
@ -45,6 +45,11 @@ prepare() {
# 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() {