[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
Dan Printzell
wild at archlinux.org
Sat Apr 13 17:00:15 UTC 2019
Date: Saturday, April 13, 2019 @ 17:00:14
Author: wild
Revision: 451437
upgpkg: ldc 2:1.15.0-1
Updated to 1.15.0
Modified:
ldc/trunk/PKGBUILD
Deleted:
ldc/trunk/ldc2.conf
-----------+
PKGBUILD | 20 ++++++++------------
ldc2.conf | 19 -------------------
2 files changed, 8 insertions(+), 31 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-13 16:54:07 UTC (rev 451436)
+++ PKGBUILD 2019-04-13 17:00:14 UTC (rev 451437)
@@ -4,17 +4,17 @@
pkgname=('ldc' 'liblphobos')
groups=('dlang' 'dlang-ldc')
-pkgver=1.14.0
-_pkgcommit=e319c790f574d630ab0b930b980cfc1120ebe1d8
-_dversion=2.084.1
+pkgver=1.15.0
+_pkgcommit=766add462e980f8bab9934fcbf8659a6595f7944
+_dversion=2.085.1
_clangversion=8.0.0 # related to where ldc2 looks for compiler-rt sanitizers
epoch=2
-pkgrel=2
+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' 'llvm7' 'ldc')
+makedepends=('git' 'cmake' 'llvm' 'ldc')
source=(
"git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"
@@ -21,14 +21,12 @@
"git+https://github.com/ldc-developers/druntime.git"
"git+https://github.com/ldc-developers/phobos.git"
"git+https://github.com/ldc-developers/dmd-testsuite.git"
- "ldc2.conf"
)
sha256sums=('SKIP'
'SKIP'
'SKIP'
- 'SKIP'
- '55ba34319db861a761797ac0075b0b1f5f4d37a243075aedb628aeedc77cc9d6')
+ 'SKIP')
prepare() {
cd "$srcdir/ldc"
@@ -57,6 +55,7 @@
-DBUILD_LTO_LIBS=ON \
-DLDC_WITH_LLD=OFF \
-DD_COMPILER_FLAGS="-link-defaultlib-shared=false -linker=gold -flto=full" \
+ -DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \
..
make
}
@@ -67,7 +66,7 @@
}
package_ldc() {
- depends=('liblphobos' 'llvm7-libs' 'gcc' 'compiler-rt')
+ depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt')
backup=('etc/ldc2.conf')
provides=("d-compiler=$_dversion")
@@ -90,9 +89,6 @@
# licenses
install -D -m644 "$srcdir/ldc/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # default configuration files
- install -D -m644 "$srcdir/ldc2.conf" "$pkgdir/etc/ldc2.conf"
}
package_liblphobos() {
Deleted: ldc2.conf
===================================================================
--- ldc2.conf 2019-04-13 16:54:07 UTC (rev 451436)
+++ ldc2.conf 2019-04-13 17:00:14 UTC (rev 451437)
@@ -1,19 +0,0 @@
-// See comments in driver/config.d in ldc source tree for grammar description of
-// this config file.
-
-// The default group is required
-default:
-{
- // default switches injected before all explicit command-line switches
- switches = [
- "-I/usr/include/dlang/ldc/ldc",
- "-I/usr/include/dlang/ldc",
- "-L--no-warn-search-mismatch",
- "-defaultlib=phobos2-ldc,druntime-ldc",
- "-link-defaultlib-shared"
- ];
- // default switches appended after all explicit command-line switches
- post-switches = [
- "-L-L/usr/lib"
- ];
-};
More information about the arch-commits
mailing list