community/ldc to 1.24.0-1

This commit is contained in:
Kevin Mihelich 2020-11-11 20:31:20 +00:00
parent 057fc357b3
commit be6d4f776f

View file

@ -10,12 +10,12 @@ buildarch=12
pkgname=('ldc' 'liblphobos') pkgname=('ldc' 'liblphobos')
groups=('dlang' 'dlang-ldc') groups=('dlang' 'dlang-ldc')
pkgver=1.23.0 pkgver=1.24.0
_pkgcommit=a83dc56ad5a6ba87023756c05b54b5824053da96 _pkgcommit=7b306c5ed148e39bcbd7143ca32416afe1a9ee5f
_dversion=2.093.1 _dversion=2.094.1\
_clangversion=11.0.0 # related to where ldc2 looks for compiler-rt sanitizers _clangversion=11.0.0 # related to where ldc2 looks for compiler-rt sanitizers
epoch=2 epoch=2
pkgrel=3 pkgrel=1
pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
arch=('x86_64') arch=('x86_64')
url="https://github.com/ldc-developers/ldc" url="https://github.com/ldc-developers/ldc"
@ -43,11 +43,6 @@ prepare() {
git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite" git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite"
git submodule update git submodule update
# LLVM 11 support (https://github.com/ldc-developers/ldc/pull/3546)
git format-patch --stdout d33f6f9bbde8~..d33f6f9bbde8 \
':!.travis.yml' ':!runtime/phobos' | patch -Np1
(cd runtime/phobos && git format-patch --stdout -1 788acc15d702 | patch -Np1)
# Set version used for path construction in getFullClangCompilerRTLibPath() # Set version used for path construction in getFullClangCompilerRTLibPath()
sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp
} }