mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/ldc to 1.21.0-1
This commit is contained in:
parent
b0693a1dcd
commit
52a01b3066
1 changed files with 5 additions and 10 deletions
|
@ -10,12 +10,12 @@ buildarch=12
|
||||||
|
|
||||||
pkgname=('ldc' 'liblphobos')
|
pkgname=('ldc' 'liblphobos')
|
||||||
groups=('dlang' 'dlang-ldc')
|
groups=('dlang' 'dlang-ldc')
|
||||||
pkgver=1.20.1
|
pkgver=1.21.0
|
||||||
_pkgcommit=96437a25c28a2a6fbeb36dc6a46b600e56021051
|
_pkgcommit=7022448f25113cfa5cc04124b6bcbb24547c7590
|
||||||
_dversion=2.090.1
|
_dversion=2.091.1
|
||||||
_clangversion=10.0.0 # related to where ldc2 looks for compiler-rt sanitizers
|
_clangversion=10.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"
|
||||||
|
@ -27,14 +27,12 @@ source=(
|
||||||
"ldc-druntime::git+https://github.com/ldc-developers/druntime.git"
|
"ldc-druntime::git+https://github.com/ldc-developers/druntime.git"
|
||||||
"ldc-phobos::git+https://github.com/ldc-developers/phobos.git"
|
"ldc-phobos::git+https://github.com/ldc-developers/phobos.git"
|
||||||
"ldc-testsuite::git+https://github.com/ldc-developers/dmd-testsuite.git"
|
"ldc-testsuite::git+https://github.com/ldc-developers/dmd-testsuite.git"
|
||||||
"fix-llvm_prefetch-for-LLVM-10.patch"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
sha256sums=('SKIP'
|
sha256sums=('SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP')
|
||||||
'f123e482402416d262739a21de4c156cc37912c0f796f9d2239607a173680e28')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/ldc"
|
cd "$srcdir/ldc"
|
||||||
|
@ -45,9 +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
|
||||||
|
|
||||||
# https://github.com/ldc-developers/ldc/issues/3397
|
|
||||||
patch -Np1 -d runtime/druntime <../fix-llvm_prefetch-for-LLVM-10.patch
|
|
||||||
|
|
||||||
# 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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue