community/ldc to 1.18.0-1

This commit is contained in:
Kevin Mihelich 2019-11-07 19:18:56 +00:00
parent 0b3b896484
commit 185bf98703

View file

@ -10,12 +10,12 @@ buildarch=12
pkgname=('ldc' 'liblphobos')
groups=('dlang' 'dlang-ldc')
pkgver=1.17.0
_pkgcommit=67d5ff27cb8e5f14017f9fe4af431b64ec82075e
_dversion=2.087.1
pkgver=1.18.0
_pkgcommit=37b183f38f5dd0c4af778e63962954f8aeb929cd
_dversion=2.088.1
_clangversion=9.0.0 # related to where ldc2 looks for compiler-rt sanitizers
epoch=2
pkgrel=4
pkgrel=1
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"
@ -46,8 +46,6 @@ 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
}