mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/ldc to 1.28.1-1
This commit is contained in:
parent
3e530adc03
commit
a05056a48d
1 changed files with 9 additions and 12 deletions
|
@ -1,42 +1,42 @@
|
|||
# Maintainer: Dan Printzell <arch@vild.io>
|
||||
# Maintainer: Dan Printzell <wild@archlinux.org>
|
||||
# Contributor: Mihails Strasuns <public@dicebot.lv>
|
||||
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - -DBUILD_LTO_LIBS=OFF
|
||||
# - -DLDC_BUILD_WITH_LTO=OFF
|
||||
# - removed "-linker=gold -flto=full" from -DD_COMPILER_FLAGS
|
||||
# - removed "-linker=gold -flto=thin" from -DD_COMPILER_FLAGS
|
||||
# - ninja -j2 due to RAM constraints
|
||||
|
||||
buildarch=12
|
||||
|
||||
pkgname=('ldc' 'liblphobos')
|
||||
groups=('dlang' 'dlang-ldc')
|
||||
pkgver=1.28.0
|
||||
_pkgcommit=6a240b66fd5fcaccd85fb50a2717767dd37ef17a
|
||||
_dversion=2.098.0
|
||||
pkgver=1.28.1
|
||||
_pkgcommit=34afd6a43abf62b2050a5b0b2c20202080b1163b
|
||||
_dversion=2.098.1
|
||||
_clangversion=13.0.0 # related to where ldc2 looks for compiler-rt sanitizers
|
||||
epoch=3
|
||||
pkgrel=3
|
||||
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"
|
||||
license=('BSD')
|
||||
makedepends=('git' 'cmake' 'llvm' 'ldc' 'ninja')
|
||||
# Disable lto as linking the ldc2 binary fails
|
||||
options=(!lto)
|
||||
|
||||
source=(
|
||||
"git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"
|
||||
"ldc-druntime::git+https://github.com/ldc-developers/druntime.git"
|
||||
"ldc-phobos::git+https://github.com/ldc-developers/phobos.git"
|
||||
"ldc-testsuite::git+https://github.com/ldc-developers/dmd-testsuite.git"
|
||||
"keep-default-alignment-for-atomic-instructions.patch"
|
||||
)
|
||||
|
||||
sha256sums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'7d33b18c517e7155a44efad984f8226d6bdaa7afae121e3e905727eb73299bbf')
|
||||
'SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/ldc"
|
||||
|
@ -47,9 +47,6 @@ prepare() {
|
|||
git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite"
|
||||
git submodule update
|
||||
|
||||
# https://github.com/ldc-developers/ldc/pull/3842
|
||||
patch -Np1 -i ../keep-default-alignment-for-atomic-instructions.patch
|
||||
|
||||
# Set version used for path construction in getFullClangCompilerRTLibPath()
|
||||
sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue