[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, December 26, 2020 @ 00:54:00 Author: wild Revision: 791423 upgpkg: ldc 2:1.24.0-2: Don't strip liblphobos - Fixes LTO compilation Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-26 00:53:27 UTC (rev 791422) +++ PKGBUILD2020-12-26 00:54:00 UTC (rev 791423) @@ -9,7 +9,7 @@ _dversion=2.094.1 _clangversion=11.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=1 +pkgrel=2 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"; @@ -94,7 +94,7 @@ package_liblphobos() { provides=('d-runtime' 'd-stdlib') depends=('curl' 'llvm-libs') -options=('staticlibs') +options=('staticlibs' '!strip') cd "$srcdir/ldc/build" make install DESTDIR="$pkgdir"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, November 11, 2020 @ 20:03:00 Author: wild Revision: 751206 upgpkg: ldc 2:1.24.0-1: Updated to 1.24.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-11 19:55:45 UTC (rev 751205) +++ PKGBUILD2020-11-11 20:03:00 UTC (rev 751206) @@ -4,12 +4,12 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.23.0 -_pkgcommit=a83dc56ad5a6ba87023756c05b54b5824053da96 -_dversion=2.093.1 +pkgver=1.24.0 +_pkgcommit=7b306c5ed148e39bcbd7143ca32416afe1a9ee5f +_dversion=2.094.1 _clangversion=11.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -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"; @@ -37,11 +37,6 @@ git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite" 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() sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp } @@ -59,7 +54,7 @@ -DBUILD_SHARED_LIBS=BOTH \ -DBUILD_LTO_LIBS=ON \ -DLDC_WITH_LLD=OFF \ --DD_COMPILER_FLAGS="-link-defaultlib-shared=false -linker=gold -flto=full" \ +-DD_COMPILER_FLAGS="-link-defaultlib-shared=false -linker=gold" \ -DADDITIONAL_DEFAULT_LDC_SWITCHES="\"-link-defaultlib-shared\"" \ .. make
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, October 12, 2020 @ 18:59:12 Author: foutrelis Revision: 723715 upgpkg: ldc 2:1.23.0-3: LLVM 11 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-12 18:39:11 UTC (rev 723714) +++ PKGBUILD2020-10-12 18:59:12 UTC (rev 723715) @@ -7,14 +7,14 @@ pkgver=1.23.0 _pkgcommit=a83dc56ad5a6ba87023756c05b54b5824053da96 _dversion=2.093.1 -_clangversion=10.0.1 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=11.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=2 +pkgrel=3 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' 'llvm10' 'ldc') +makedepends=('git' 'cmake' 'llvm' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -37,6 +37,11 @@ git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite" 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() sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp } @@ -66,7 +71,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm10-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion") @@ -93,7 +98,7 @@ package_liblphobos() { provides=('d-runtime' 'd-stdlib') -depends=('curl') +depends=('curl' 'llvm-libs') options=('staticlibs') cd "$srcdir/ldc/build"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, October 12, 2020 @ 17:18:08 Author: foutrelis Revision: 723689 Revert changes unrelated to the patch removal Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-12 17:14:56 UTC (rev 723688) +++ PKGBUILD2020-10-12 17:18:08 UTC (rev 723689) @@ -7,7 +7,7 @@ pkgver=1.23.0 _pkgcommit=a83dc56ad5a6ba87023756c05b54b5824053da96 _dversion=2.093.1 -_clangversion=11.0.0 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=10.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -14,7 +14,7 @@ arch=('x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') -makedepends=('git' 'cmake' 'llvm' 'ldc') +makedepends=('git' 'cmake' 'llvm10' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -66,7 +66,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm10-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD fix-llvm_prefetch-for-LLVM-10.patch)
Date: Monday, October 12, 2020 @ 17:14:56 Author: foutrelis Revision: 723688 Remove obsolete patch Modified: ldc/trunk/PKGBUILD Deleted: ldc/trunk/fix-llvm_prefetch-for-LLVM-10.patch -+ PKGBUILD|6 +-- fix-llvm_prefetch-for-LLVM-10.patch | 55 -- 2 files changed, 3 insertions(+), 58 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-12 17:13:56 UTC (rev 723687) +++ PKGBUILD2020-10-12 17:14:56 UTC (rev 723688) @@ -7,7 +7,7 @@ pkgver=1.23.0 _pkgcommit=a83dc56ad5a6ba87023756c05b54b5824053da96 _dversion=2.093.1 -_clangversion=10.0.1 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=11.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -14,7 +14,7 @@ arch=('x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') -makedepends=('git' 'cmake' 'llvm10' 'ldc') +makedepends=('git' 'cmake' 'llvm' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -66,7 +66,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm10-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion") Deleted: fix-llvm_prefetch-for-LLVM-10.patch === --- fix-llvm_prefetch-for-LLVM-10.patch 2020-10-12 17:13:56 UTC (rev 723687) +++ fix-llvm_prefetch-for-LLVM-10.patch 2020-10-12 17:14:56 UTC (rev 723688) @@ -1,55 +0,0 @@ -diff --git a/src/core/simd.d b/src/core/simd.d -index c27dc4c1..7641c8a9 100644 a/src/core/simd.d -+++ b/src/core/simd.d -@@ -84,6 +84,20 @@ version (LDC) - enum dataCache = 1; - llvm_prefetch(address, writeFetch, locality, dataCache); - } -+ -+unittest -+{ -+float[4] data = [ 0.5, 1, 1.5, 2 ]; -+auto ptr = &data[0]; -+ -+prefetch!(false, 0)(ptr); -+auto v = loadUnaligned!float4(ptr); -+v *= 2; -+storeUnaligned!float4(v, ptr); -+ -+float[4] expected = [ 1, 2, 3, 4 ]; -+assert(data == expected); -+} - } - else version (D_SIMD) - { -diff --git a/src/ldc/intrinsics.di b/src/ldc/intrinsics.di -index 914cd5e1..091b2aac 100644 a/src/ldc/intrinsics.di -+++ b/src/ldc/intrinsics.di -@@ -129,6 +129,14 @@ pragma(LDC_intrinsic, "llvm.stacksave") - pragma(LDC_intrinsic, "llvm.stackrestore") - void llvm_stackrestore(void* ptr); - -+version(INTRINSICS_FROM_1000) -+{ -+private enum llvm_prefetch_fullname = "llvm.prefetch.p0i8"; -+} -+else -+{ -+private enum llvm_prefetch_fullname = "llvm.prefetch"; -+} - /// The 'llvm.prefetch' intrinsic is a hint to the code generator to insert a - /// prefetch instruction if supported; otherwise, it is a noop. Prefetches have - /// no effect on the behavior of the program but can change its performance -@@ -139,8 +147,8 @@ pragma(LDC_intrinsic, "llvm.stackrestore") - /// keep in cache. The cache type specifies whether the prefetch is performed on - /// the data (1) or instruction (0) cache. The rw, locality and cache type - /// arguments must be constant integers. --pragma(LDC_intrinsic, "llvm.prefetch") --void llvm_prefetch(void* ptr, uint rw, uint locality, uint cachetype) pure @safe; -+pragma(LDC_intrinsic, llvm_prefetch_fullname) -+void llvm_prefetch(const(void)* ptr, uint rw, uint locality, uint cachetype) pure @safe; - - /// The 'llvm.pcmarker' intrinsic is a method to export a Program Counter (PC) - /// in a region of code to simulators and other tools. The method is target
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, October 12, 2020 @ 17:11:02 Author: foutrelis Revision: 723684 upgpkg: ldc 2:1.23.0-2: prepare for LLVM 11 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-12 17:05:03 UTC (rev 723683) +++ PKGBUILD2020-10-12 17:11:02 UTC (rev 723684) @@ -9,12 +9,12 @@ _dversion=2.093.1 _clangversion=10.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=1 +pkgrel=2 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') +makedepends=('git' 'cmake' 'llvm10' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -66,7 +66,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm10-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, August 30, 2020 @ 16:46:26 Author: wild Revision: 692794 upgpkg: ldc 2:1.23.0-1: Updated to 1.23.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-08-30 14:06:45 UTC (rev 692793) +++ PKGBUILD2020-08-30 16:46:26 UTC (rev 692794) @@ -4,12 +4,12 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.22.0 -_pkgcommit=74893d99477f00235b51ee72374660f9c178a939 -_dversion=2.092.1 +pkgver=1.23.0 +_pkgcommit=a83dc56ad5a6ba87023756c05b54b5824053da96 +_dversion=2.093.1 _clangversion=10.0.1 # 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";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, July 22, 2020 @ 21:37:57 Author: foutrelis Revision: 664943 upgpkg: ldc 2:1.22.0-2: clang 10.0.1 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-22 21:30:43 UTC (rev 664942) +++ PKGBUILD2020-07-22 21:37:57 UTC (rev 664943) @@ -7,9 +7,9 @@ pkgver=1.22.0 _pkgcommit=74893d99477f00235b51ee72374660f9c178a939 _dversion=2.092.1 -_clangversion=10.0.0 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=10.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=1 +pkgrel=2 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";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, July 1, 2020 @ 21:30:44 Author: wild Revision: 657418 upgpkg: ldc 2:1.22.0-1: Updated to 1.22.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-01 20:52:05 UTC (rev 657417) +++ PKGBUILD2020-07-01 21:30:44 UTC (rev 657418) @@ -4,9 +4,9 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.21.0 -_pkgcommit=7022448f25113cfa5cc04124b6bcbb24547c7590 -_dversion=2.091.1 +pkgver=1.22.0 +_pkgcommit=74893d99477f00235b51ee72374660f9c178a939 +_dversion=2.092.1 _clangversion=10.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=1
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, April 28, 2020 @ 20:37:40 Author: wild Revision: 622090 upgpkg: ldc 2:1.21.0-1: Updated to 1.21.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-28 20:15:39 UTC (rev 622089) +++ PKGBUILD2020-04-28 20:37:40 UTC (rev 622090) @@ -4,12 +4,12 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.20.1 -_pkgcommit=96437a25c28a2a6fbeb36dc6a46b600e56021051 -_dversion=2.090.1 +pkgver=1.21.0 +_pkgcommit=7022448f25113cfa5cc04124b6bcbb24547c7590 +_dversion=2.091.1 _clangversion=10.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -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"; @@ -21,14 +21,12 @@ "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"; -"fix-llvm_prefetch-for-LLVM-10.patch" ) sha256sums=('SKIP' 'SKIP' 'SKIP' -'SKIP' -'f123e482402416d262739a21de4c156cc37912c0f796f9d2239607a173680e28') +'SKIP') prepare() { cd "$srcdir/ldc" @@ -39,9 +37,6 @@ git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite" 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() sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp }
[arch-commits] Commit in ldc/trunk (PKGBUILD fix-llvm_prefetch-for-LLVM-10.patch)
Date: Monday, April 13, 2020 @ 03:18:41 Author: foutrelis Revision: 613556 upgpkg: ldc 2:1.20.1-3: LLVM 10 rebuild Added: ldc/trunk/fix-llvm_prefetch-for-LLVM-10.patch Modified: ldc/trunk/PKGBUILD -+ PKGBUILD| 15 ++--- fix-llvm_prefetch-for-LLVM-10.patch | 55 ++ 2 files changed, 65 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-13 03:17:44 UTC (rev 613555) +++ PKGBUILD2020-04-13 03:18:41 UTC (rev 613556) @@ -7,14 +7,14 @@ pkgver=1.20.1 _pkgcommit=96437a25c28a2a6fbeb36dc6a46b600e56021051 _dversion=2.090.1 -_clangversion=9.0.1 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=10.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=2 +pkgrel=3 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' 'llvm9' 'ldc') +makedepends=('git' 'cmake' 'llvm' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -21,12 +21,14 @@ "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"; +"fix-llvm_prefetch-for-LLVM-10.patch" ) sha256sums=('SKIP' 'SKIP' 'SKIP' -'SKIP') +'SKIP' +'f123e482402416d262739a21de4c156cc37912c0f796f9d2239607a173680e28') prepare() { cd "$srcdir/ldc" @@ -37,6 +39,9 @@ git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite" 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() sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp } @@ -66,7 +71,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm9-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion") Added: fix-llvm_prefetch-for-LLVM-10.patch === --- fix-llvm_prefetch-for-LLVM-10.patch (rev 0) +++ fix-llvm_prefetch-for-LLVM-10.patch 2020-04-13 03:18:41 UTC (rev 613556) @@ -0,0 +1,55 @@ +diff --git a/src/core/simd.d b/src/core/simd.d +index c27dc4c1..7641c8a9 100644 +--- a/src/core/simd.d b/src/core/simd.d +@@ -84,6 +84,20 @@ version (LDC) + enum dataCache = 1; + llvm_prefetch(address, writeFetch, locality, dataCache); + } ++ ++unittest ++{ ++float[4] data = [ 0.5, 1, 1.5, 2 ]; ++auto ptr = &data[0]; ++ ++prefetch!(false, 0)(ptr); ++auto v = loadUnaligned!float4(ptr); ++v *= 2; ++storeUnaligned!float4(v, ptr); ++ ++float[4] expected = [ 1, 2, 3, 4 ]; ++assert(data == expected); ++} + } + else version (D_SIMD) + { +diff --git a/src/ldc/intrinsics.di b/src/ldc/intrinsics.di +index 914cd5e1..091b2aac 100644 +--- a/src/ldc/intrinsics.di b/src/ldc/intrinsics.di +@@ -129,6 +129,14 @@ pragma(LDC_intrinsic, "llvm.stacksave") + pragma(LDC_intrinsic, "llvm.stackrestore") + void llvm_stackrestore(void* ptr); + ++version(INTRINSICS_FROM_1000) ++{ ++private enum llvm_prefetch_fullname = "llvm.prefetch.p0i8"; ++} ++else ++{ ++private enum llvm_prefetch_fullname = "llvm.prefetch"; ++} + /// The 'llvm.prefetch' intrinsic is a hint to the code generator to insert a + /// prefetch instruction if supported; otherwise, it is a noop. Prefetches have + /// no effect on the behavior of the program but can change its performance +@@ -139,8 +147,8 @@ pragma(LDC_intrinsic, "llvm.stackrestore") + /// keep in cache. The cache type specifies whether the prefetch is performed on + /// the data (1) or instruction (0) cache. The rw, locality and cache type + /// arguments must be constant integers. +-pragma(LDC_intrinsic, "llvm.prefetch") +-void llvm_prefetch(void* ptr, uint rw, uint locality, uint cachetype) pure @safe; ++pragma(LDC_intrinsic, llvm_prefetch_fullname) ++void llvm_prefetch(const(void)* ptr, uint rw, uint locality, uint cachetype) pure @safe; + + /// The 'llvm.pcmarker' intrinsic is a method to export a Program Counter (PC) + /// in a region of code to simulators and other tools. The method is target
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, April 13, 2020 @ 02:17:24 Author: foutrelis Revision: 613493 upgpkg: ldc 2:1.20.1-2: prepare for LLVM 10 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-13 02:17:17 UTC (rev 613492) +++ PKGBUILD2020-04-13 02:17:24 UTC (rev 613493) @@ -9,12 +9,12 @@ _dversion=2.090.1 _clangversion=9.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=1 +pkgrel=2 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') +makedepends=('git' 'cmake' 'llvm9' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -66,7 +66,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm9-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, April 11, 2020 @ 18:34:01 Author: ffy00 Revision: 613349 rename sources to avoid collision in a shared SRCDEST Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-11 17:14:12 UTC (rev 613348) +++ PKGBUILD2020-04-11 18:34:01 UTC (rev 613349) @@ -18,9 +18,9 @@ source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; -"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"; +"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"; ) sha256sums=('SKIP' @@ -32,9 +32,9 @@ cd "$srcdir/ldc" git submodule init -git config submodule.druntime.url "$srcdir/druntime" -git config submodule.phobos.url "$srcdir/phobos" -git config submodule.tests/d2/dmd-testsuite.url "$srcdir/dmd-testsuite" +git config submodule.druntime.url "$srcdir/ldc-druntime" +git config submodule.phobos.url "$srcdir/ldc-phobos" +git config submodule.tests/d2/dmd-testsuite.url "$srcdir/ldc-testsuite" git submodule update # Set version used for path construction in getFullClangCompilerRTLibPath()
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, March 8, 2020 @ 15:50:06 Author: wild Revision: 592186 upgpkg: ldc 2:1.20.1-1: Updated to 1.20.1 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-08 15:46:58 UTC (rev 592185) +++ PKGBUILD2020-03-08 15:50:06 UTC (rev 592186) @@ -4,9 +4,9 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.19.0 -_pkgcommit=ddb215ed4632fab4524e626de7d024624a6ee679 -_dversion=2.089.1 +pkgver=1.20.1 +_pkgcommit=96437a25c28a2a6fbeb36dc6a46b600e56021051 +_dversion=2.090.1 _clangversion=9.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=1
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, January 13, 2020 @ 14:59:33 Author: wild Revision: 552346 upgpkg: ldc 2:1.19.0-1: Updated to 1.19.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-13 14:55:51 UTC (rev 552345) +++ PKGBUILD2020-01-13 14:59:33 UTC (rev 552346) @@ -1,15 +1,15 @@ -# Maintainer: +# Maintainer: Dan Printzell # Contributor: Mihails Strasuns # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.18.0 -_pkgcommit=37b183f38f5dd0c4af778e63962954f8aeb929cd -_dversion=2.088.1 +pkgver=1.19.0 +_pkgcommit=ddb215ed4632fab4524e626de7d024624a6ee679 +_dversion=2.089.1 _clangversion=9.0.1 # 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"; @@ -39,9 +39,6 @@ # Set version used for path construction in getFullClangCompilerRTLibPath() sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp - -# https://github.com/ldc-developers/ldc/issues/3079 -sed -i '/FileCheck/,$d' utils/CMakeLists.txt } build() {
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, December 29, 2019 @ 23:56:15 Author: foutrelis Revision: 544072 upgpkg: ldc 2:1.18.0-2: clang 9.0.1 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-29 23:32:36 UTC (rev 544071) +++ PKGBUILD2019-12-29 23:56:15 UTC (rev 544072) @@ -7,9 +7,9 @@ pkgver=1.18.0 _pkgcommit=37b183f38f5dd0c4af778e63962954f8aeb929cd _dversion=2.088.1 -_clangversion=9.0.0 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=9.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=1 +pkgrel=2 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";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, November 7, 2019 @ 18:50:53 Author: wild Revision: 524497 upgpkg: ldc 2:1.18.0-1 Updated to 1.18.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-07 17:19:37 UTC (rev 524496) +++ PKGBUILD2019-11-07 18:50:53 UTC (rev 524497) @@ -4,12 +4,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"; @@ -40,8 +40,6 @@ # 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 }
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, October 8, 2019 @ 11:11:13 Author: foutrelis Revision: 514200 upgpkg: ldc 2:1.17.0-4 LLVM 9 rebuild. Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-08 10:41:26 UTC (rev 514199) +++ PKGBUILD2019-10-08 11:11:13 UTC (rev 514200) @@ -7,9 +7,9 @@ pkgver=1.17.0 _pkgcommit=67d5ff27cb8e5f14017f9fe4af431b64ec82075e _dversion=2.087.1 -_clangversion=8.0.1 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=9.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=3 +pkgrel=4 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"; @@ -39,6 +39,11 @@ # 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 } build() {
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, September 15, 2019 @ 18:13:48 Author: wild Revision: 510778 upgpkg: ldc 2:1.17.0-3 Updated to 1.17.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-09-15 18:07:13 UTC (rev 510777) +++ PKGBUILD2019-09-15 18:13:48 UTC (rev 510778) @@ -9,7 +9,7 @@ _dversion=2.087.1 _clangversion=8.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=2 +pkgrel=3 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"; @@ -18,9 +18,9 @@ source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; -"git+https://github.com/ldc-developers/druntime.git#tag=ldc-v$pkgver"; -"git+https://github.com/ldc-developers/phobos.git#tag=ldc-v$pkgver"; -"git+https://github.com/ldc-developers/dmd-testsuite.git#tag=ldc-v$pkgver"; +"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"; ) sha256sums=('SKIP'
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, August 27, 2019 @ 11:35:11 Author: ffy00 Revision: 502744 upgpkg: ldc 2:1.17.0-2 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-08-27 11:34:45 UTC (rev 502743) +++ PKGBUILD2019-08-27 11:35:11 UTC (rev 502744) @@ -4,9 +4,9 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.16.0 -_pkgcommit=3f2a9303ec93de33899d5a5800775055a59b01cd -_dversion=2.086.1 +pkgver=1.17.0 +_pkgcommit=67d5ff27cb8e5f14017f9fe4af431b64ec82075e +_dversion=2.087.1 _clangversion=8.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=2 @@ -18,9 +18,9 @@ source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; -"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"; +"git+https://github.com/ldc-developers/druntime.git#tag=ldc-v$pkgver"; +"git+https://github.com/ldc-developers/phobos.git#tag=ldc-v$pkgver"; +"git+https://github.com/ldc-developers/dmd-testsuite.git#tag=ldc-v$pkgver"; ) sha256sums=('SKIP'
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, July 20, 2019 @ 14:20:24 Author: foutrelis Revision: 492283 clang 8.0.1 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-07-20 12:40:44 UTC (rev 492282) +++ PKGBUILD2019-07-20 14:20:24 UTC (rev 492283) @@ -7,9 +7,9 @@ pkgver=1.16.0 _pkgcommit=3f2a9303ec93de33899d5a5800775055a59b01cd _dversion=2.086.1 -_clangversion=8.0.0 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=8.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=1 +pkgrel=2 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";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, July 2, 2019 @ 15:43:10 Author: wild Revision: 487278 upgpkg: ldc 2:1.16.0-1 Updated to 1.16.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-07-02 15:42:20 UTC (rev 487277) +++ PKGBUILD2019-07-02 15:43:10 UTC (rev 487278) @@ -4,9 +4,9 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.15.0 -_pkgcommit=766add462e980f8bab9934fcbf8659a6595f7944 -_dversion=2.085.1 +pkgver=1.16.0 +_pkgcommit=3f2a9303ec93de33899d5a5800775055a59b01cd +_dversion=2.086.1 _clangversion=8.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=1
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
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 === --- PKGBUILD2019-04-13 16:54:07 UTC (rev 451436) +++ PKGBUILD2019-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" -]; -};
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, March 28, 2019 @ 10:44:32 Author: foutrelis Revision: 445248 Switch to llvm7{,-libs} Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-28 10:44:29 UTC (rev 445247) +++ PKGBUILD2019-03-28 10:44:32 UTC (rev 445248) @@ -7,14 +7,14 @@ pkgver=1.14.0 _pkgcommit=e319c790f574d630ab0b930b980cfc1120ebe1d8 _dversion=2.084.1 -_clangversion=7.0.1 # related to where ldc2 looks for compiler-rt sanitizers +_clangversion=8.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=1 +pkgrel=2 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') +makedepends=('git' 'cmake' 'llvm7' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -67,7 +67,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm7-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, February 24, 2019 @ 02:47:03 Author: wild Revision: 435457 upgpkg: ldc 2:1.14.0-1 Updated to 1.14.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-24 02:25:38 UTC (rev 435456) +++ PKGBUILD2019-02-24 02:47:03 UTC (rev 435457) @@ -4,10 +4,10 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.13.0 -_pkgcommit=d4858cfbcbd85a09b94e2d3a2e9bc54ba6f244c4 -_dversion=2.083.1 -_clangversion=7.0.0 # related to where ldc2 looks for compiler-rt sanitizers +pkgver=1.14.0 +_pkgcommit=e319c790f574d630ab0b930b980cfc1120ebe1d8 +_dversion=2.084.1 +_clangversion=7.0.1 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, December 19, 2018 @ 23:03:33 Author: wild Revision: 416792 upgpkg: ldc 2:1.13.0-1 Updated to 1.13.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-12-19 22:15:36 UTC (rev 416791) +++ PKGBUILD2018-12-19 23:03:33 UTC (rev 416792) @@ -4,9 +4,9 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.12.0 -_pkgcommit=d51f23400a0e4ab6e444b80fefa77baa05c3ed42 -_dversion=2.082.1 +pkgver=1.13.0 +_pkgcommit=d4858cfbcbd85a09b94e2d3a2e9bc54ba6f244c4 +_dversion=2.083.1 _clangversion=7.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 pkgrel=1
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, October 13, 2018 @ 21:11:29 Author: wild Revision: 393357 upgpkg: ldc 2:1.12.0-1 Updated to 1.12.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-10-13 21:10:59 UTC (rev 393356) +++ PKGBUILD2018-10-13 21:11:29 UTC (rev 393357) @@ -4,17 +4,17 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.11.0 -_pkgcommit=9bd4fb2df54a8d143d70329b5b923bf226dd1897 -_dversion=2.081.2 +pkgver=1.12.0 +_pkgcommit=d51f23400a0e4ab6e444b80fefa77baa05c3ed42 +_dversion=2.082.1 _clangversion=7.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"; license=('BSD') -makedepends=('git' 'cmake' 'llvm6' 'ldc') +makedepends=('git' 'cmake' 'llvm' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -67,7 +67,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm6-libs' 'llvm-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, September 29, 2018 @ 11:29:05 Author: foutrelis Revision: 387725 Remove llvm-libs build dep; it's now a dep of ldc Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-09-29 11:27:32 UTC (rev 387724) +++ PKGBUILD2018-09-29 11:29:05 UTC (rev 387725) @@ -14,7 +14,7 @@ arch=('x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') -makedepends=('git' 'cmake' 'llvm6' 'llvm-libs' 'ldc') +makedepends=('git' 'cmake' 'llvm6' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, September 29, 2018 @ 11:21:25 Author: foutrelis Revision: 387723 Even w/ llvm6, depend on llvm-libs for LLVMgold.so Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-29 11:02:22 UTC (rev 387722) +++ PKGBUILD2018-09-29 11:21:25 UTC (rev 387723) @@ -9,12 +9,12 @@ _dversion=2.081.2 _clangversion=7.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=3 +pkgrel=4 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' 'llvm6' 'ldc') +makedepends=('git' 'cmake' 'llvm6' 'llvm-libs' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -67,7 +67,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm6-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm6-libs' 'llvm-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, September 29, 2018 @ 10:39:31 Author: foutrelis Revision: 387708 Switch to llvm6{,-libs} until LLVM 7 support lands Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-29 10:22:54 UTC (rev 387707) +++ PKGBUILD2018-09-29 10:39:31 UTC (rev 387708) @@ -7,14 +7,14 @@ pkgver=1.11.0 _pkgcommit=9bd4fb2df54a8d143d70329b5b923bf226dd1897 _dversion=2.081.2 -_clangversion=6.0.1 +_clangversion=7.0.0 # related to where ldc2 looks for compiler-rt sanitizers epoch=2 -pkgrel=2 +pkgrel=3 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') +makedepends=('git' 'cmake' 'llvm6' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -67,7 +67,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') +depends=('liblphobos' 'llvm6-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, September 29, 2018 @ 10:22:48 Author: foutrelis Revision: 387706 upgpkg: ldc 2:1.11.0-2 Tweak ldc's dependencies: - Remove llvm and clang as unused - Add gcc used by ldc2 for linking - Add compiler-rt for sanitizer libs referenced by ldc2 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-29 09:11:39 UTC (rev 387705) +++ PKGBUILD2018-09-29 10:22:48 UTC (rev 387706) @@ -7,9 +7,9 @@ pkgver=1.11.0 _pkgcommit=9bd4fb2df54a8d143d70329b5b923bf226dd1897 _dversion=2.081.2 -_llvmversion=6.0.1 +_clangversion=6.0.1 epoch=2 -pkgrel=1 +pkgrel=2 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"; @@ -39,8 +39,8 @@ git config submodule.tests/d2/dmd-testsuite.url "$srcdir/dmd-testsuite" git submodule update -# libclang_rt* -> clang/_llvmversion/lib/linux/libclang_rt* -sed -i "s/libclang_rt/clang\/$_llvmversion\/lib\/linux\/&/g" driver/linker-gcc.cpp +# Set version used for path construction in getFullClangCompilerRTLibPath() +sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp } build() { @@ -67,7 +67,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm-libs' 'llvm' 'clang') +depends=('liblphobos' 'llvm-libs' 'gcc' 'compiler-rt') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion")
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
Date: Thursday, September 6, 2018 @ 00:17:58 Author: ffy00 Revision: 377195 Remove -L--export-dynamic from ldc2.conf Modified: ldc/trunk/PKGBUILD ldc/trunk/ldc2.conf ---+ PKGBUILD |4 ++-- ldc2.conf |1 - 2 files changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-05 23:26:03 UTC (rev 377194) +++ PKGBUILD2018-09-06 00:17:58 UTC (rev 377195) @@ -9,7 +9,7 @@ _pkgcommit=9bd4fb2df54a8d143d70329b5b923bf226dd1897 _dversion=2.081.2 _llvmversion=6.0.1 -epoch=1 +epoch=2 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('x86_64') @@ -29,7 +29,7 @@ 'SKIP' 'SKIP' 'SKIP' -'5af2d8fd3f1224e4d4d0eda8bf88e9b2423e4860cf21e349f23265731022f5c5') +'55ba34319db861a761797ac0075b0b1f5f4d37a243075aedb628aeedc77cc9d6') prepare() { cd "$srcdir/ldc" Modified: ldc2.conf === --- ldc2.conf 2018-09-05 23:26:03 UTC (rev 377194) +++ ldc2.conf 2018-09-06 00:17:58 UTC (rev 377195) @@ -9,7 +9,6 @@ "-I/usr/include/dlang/ldc/ldc", "-I/usr/include/dlang/ldc", "-L--no-warn-search-mismatch", -"-L--export-dynamic", "-defaultlib=phobos2-ldc,druntime-ldc", "-link-defaultlib-shared" ];
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, August 19, 2018 @ 16:57:12 Author: wild Revision: 372794 upgpkg: ldc 1:1.11.0-1 Updated LDC to 1.11.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-08-19 16:14:22 UTC (rev 372793) +++ PKGBUILD2018-08-19 16:57:12 UTC (rev 372794) @@ -5,12 +5,12 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.10.0 -_pkgcommit=f8880c6c3853e0aef81209de3ab4db48131a040c -_dversion=2.080.1 +pkgver=1.11.0 +_pkgcommit=9bd4fb2df54a8d143d70329b5b923bf226dd1897 +_dversion=2.081.2 _llvmversion=6.0.1 epoch=1 -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";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, July 24, 2018 @ 21:41:01 Author: wild Revision: 363314 upgpkg: ldc 1:1.10.0-2 Updated _llvmversion to the new clang version Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-24 21:21:27 UTC (rev 363313) +++ PKGBUILD2018-07-24 21:41:01 UTC (rev 363314) @@ -8,9 +8,9 @@ pkgver=1.10.0 _pkgcommit=f8880c6c3853e0aef81209de3ab4db48131a040c _dversion=2.080.1 -_llvmversion=6.0.0 +_llvmversion=6.0.1 epoch=1 -pkgrel=1 +pkgrel=2 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"; @@ -64,7 +64,7 @@ check() { cd "$srcdir/ldc/build" - make all-test-runners +make all-test-runners } package_ldc() {
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, June 20, 2018 @ 00:10:55 Author: wild Revision: 344142 upgpkg: ldc 1:1.10.0-1 Updated to 1.10.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-06-19 22:54:01 UTC (rev 344141) +++ PKGBUILD2018-06-20 00:10:55 UTC (rev 344142) @@ -5,9 +5,9 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.9.0 -_pkgcommit=0e435e8a3d03dba6238dd239ab98b32070bb9df8 -_dversion=2.079.1 +pkgver=1.10.0 +_pkgcommit=f8880c6c3853e0aef81209de3ab4db48131a040c +_dversion=2.080.1 _llvmversion=6.0.0 epoch=1 pkgrel=1
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, May 3, 2018 @ 02:59:50 Author: wild Revision: 318797 upgpkg: ldc 1:1.9.0-1 Updated to 1.9.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-05-03 02:37:25 UTC (rev 318796) +++ PKGBUILD2018-05-03 02:59:50 UTC (rev 318797) @@ -5,12 +5,12 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.8.0 -_pkgcommit=df860d03c918f6988370d48f89c61c27ebbede74 -_dversion=2.078.3 +pkgver=1.9.0 +_pkgcommit=0e435e8a3d03dba6238dd239ab98b32070bb9df8 +_dversion=2.079.1 _llvmversion=6.0.0 epoch=1 -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"; @@ -55,7 +55,9 @@ -DCMAKE_SKIP_RPATH=ON \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=BOTH \ +-DBUILD_LTO_LIBS=ON \ -DLDC_WITH_LLD=OFF \ +-DD_COMPILER_FLAGS="-link-defaultlib-shared=false -linker=gold -flto=full" \ .. make }
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
Date: Monday, April 16, 2018 @ 20:54:47 Author: wild Revision: 316564 upgpkg: ldc 1:1.8.0-3 Added '-L--export-dynamic' to ldc2.conf to match dmd's config Modified: ldc/trunk/PKGBUILD ldc/trunk/ldc2.conf ---+ PKGBUILD |4 ++-- ldc2.conf |1 + 2 files changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-04-16 20:51:18 UTC (rev 316563) +++ PKGBUILD2018-04-16 20:54:47 UTC (rev 316564) @@ -10,7 +10,7 @@ _dversion=2.078.3 _llvmversion=6.0.0 epoch=1 -pkgrel=2 +pkgrel=3 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"; @@ -29,7 +29,7 @@ 'SKIP' 'SKIP' 'SKIP' -'55ba34319db861a761797ac0075b0b1f5f4d37a243075aedb628aeedc77cc9d6') +'5af2d8fd3f1224e4d4d0eda8bf88e9b2423e4860cf21e349f23265731022f5c5') prepare() { cd "$srcdir/ldc" Modified: ldc2.conf === --- ldc2.conf 2018-04-16 20:51:18 UTC (rev 316563) +++ ldc2.conf 2018-04-16 20:54:47 UTC (rev 316564) @@ -9,6 +9,7 @@ "-I/usr/include/dlang/ldc/ldc", "-I/usr/include/dlang/ldc", "-L--no-warn-search-mismatch", +"-L--export-dynamic", "-defaultlib=phobos2-ldc,druntime-ldc", "-link-defaultlib-shared" ];
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
Date: Sunday, March 18, 2018 @ 14:23:09 Author: wild Revision: 309045 upgpkg: ldc 1:1.8.0-2 Staging release for LLVM 6.0, also added check() Modified: ldc/trunk/PKGBUILD ldc/trunk/ldc2.conf ---+ PKGBUILD | 13 + ldc2.conf |3 +-- 2 files changed, 10 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-18 13:17:15 UTC (rev 309044) +++ PKGBUILD2018-03-18 14:23:09 UTC (rev 309045) @@ -8,9 +8,9 @@ pkgver=1.8.0 _pkgcommit=df860d03c918f6988370d48f89c61c27ebbede74 _dversion=2.078.3 -_llvmversion=5.0.1 +_llvmversion=6.0.0 epoch=1 -pkgrel=1 +pkgrel=2 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"; @@ -29,7 +29,7 @@ 'SKIP' 'SKIP' 'SKIP' -'d4008223bca1071d2b319cd7d337a31008c79602dfefc3bd2e0ab8dc141f3b56') +'55ba34319db861a761797ac0075b0b1f5f4d37a243075aedb628aeedc77cc9d6') prepare() { cd "$srcdir/ldc" @@ -60,8 +60,13 @@ make } +check() { +cd "$srcdir/ldc/build" + make all-test-runners +} + package_ldc() { -depends=('liblphobos' 'llvm-libs' 'llvm') +depends=('liblphobos' 'llvm-libs' 'llvm' 'clang') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion") Modified: ldc2.conf === --- ldc2.conf 2018-03-18 13:17:15 UTC (rev 309044) +++ ldc2.conf 2018-03-18 14:23:09 UTC (rev 309045) @@ -14,7 +14,6 @@ ]; // default switches appended after all explicit command-line switches post-switches = [ -"-L-L/usr/lib", -"-L-L/usr/lib/clang/5.0.1/lib/linux/" +"-L-L/usr/lib" ]; };
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
Date: Tuesday, March 6, 2018 @ 21:30:59 Author: wild Revision: 303309 upgpkg: ldc 1:1.8.0-1 Updated to 1.8.0 Modified: ldc/trunk/PKGBUILD ldc/trunk/ldc2.conf ---+ PKGBUILD | 13 + ldc2.conf |3 ++- 2 files changed, 7 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-06 21:26:07 UTC (rev 303308) +++ PKGBUILD2018-03-06 21:30:59 UTC (rev 303309) @@ -5,12 +5,12 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.7.0 -_pkgcommit=b0b5bed08bc3e05f41ab31e5c72e56624ee63115 -_dversion=2.077.1 +pkgver=1.8.0 +_pkgcommit=df860d03c918f6988370d48f89c61c27ebbede74 +_dversion=2.078.3 _llvmversion=5.0.1 epoch=1 -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"; @@ -29,7 +29,7 @@ 'SKIP' 'SKIP' 'SKIP' -'42e540f15f0d2c561a9c576903e0e84b8cd5274aa9679364b5cf211ddd1b12df') +'d4008223bca1071d2b319cd7d337a31008c79602dfefc3bd2e0ab8dc141f3b56') prepare() { cd "$srcdir/ldc" @@ -49,9 +49,6 @@ mkdir -p build && cd build -# workaround for wrong ld flag format generated by cmake: -# export LDFLAGS="-L-O1 -L--sort-common -L--as-needed -L-z -Lrelro" - cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ Modified: ldc2.conf === --- ldc2.conf 2018-03-06 21:26:07 UTC (rev 303308) +++ ldc2.conf 2018-03-06 21:30:59 UTC (rev 303309) @@ -10,10 +10,11 @@ "-I/usr/include/dlang/ldc", "-L--no-warn-search-mismatch", "-defaultlib=phobos2-ldc,druntime-ldc", -"-debuglib=phobos2-ldc-debug,druntime-ldc-debug" +"-link-defaultlib-shared" ]; // default switches appended after all explicit command-line switches post-switches = [ "-L-L/usr/lib", +"-L-L/usr/lib/clang/5.0.1/lib/linux/" ]; };
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, January 9, 2018 @ 20:44:13 Author: wild Revision: 280768 upgpkg: ldc 1:1.7.0-2 Fixed path for finding the AddressSanitizer libraries Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-09 20:32:28 UTC (rev 280767) +++ PKGBUILD2018-01-09 20:44:13 UTC (rev 280768) @@ -8,8 +8,9 @@ pkgver=1.7.0 _pkgcommit=b0b5bed08bc3e05f41ab31e5c72e56624ee63115 _dversion=2.077.1 +_llvmversion=5.0.1 epoch=1 -pkgrel=1 +pkgrel=2 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"; @@ -38,6 +39,9 @@ git config submodule.phobos.url "$srcdir/phobos" git config submodule.tests/d2/dmd-testsuite.url "$srcdir/dmd-testsuite" git submodule update + +# libclang_rt* -> clang/_llvmversion/lib/linux/libclang_rt* +sed -i "s/libclang_rt/clang\/$_llvmversion\/lib\/linux\/&/g" driver/linker-gcc.cpp } build() { @@ -60,7 +64,7 @@ } package_ldc() { -depends=('liblphobos' 'llvm-libs') +depends=('liblphobos' 'llvm-libs' 'llvm') backup=('etc/ldc2.conf') provides=("d-compiler=$_dversion") @@ -76,8 +80,6 @@ rm -rf "$pkgdir/usr/include" rm -rf "$pkgdir/usr/lib" -# remove misc - # symlinks ln -s /usr/share/bash-completion/completions/ldc2 "$pkgdir/usr/share/bash-completion/completions/ldc" ln -s /usr/bin/ldc2 "$pkgdir/usr/bin/ldc"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, January 7, 2018 @ 00:03:30 Author: wild Revision: 279766 upgpkg: ldc 1:1.7.0-1 Updated to 1.7.0 and added static libs Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-01-06 21:58:34 UTC (rev 279765) +++ PKGBUILD2018-01-07 00:03:30 UTC (rev 279766) @@ -5,16 +5,16 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.6.0 -_pkgcommit=00a9a38212dc5ff7bbcf8d7233540ddc3b885f7f -_dversion=2.076.1 +pkgver=1.7.0 +_pkgcommit=b0b5bed08bc3e05f41ab31e5c72e56624ee63115 +_dversion=2.077.1 epoch=1 -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' 'llvm' 'dmd') +makedepends=('git' 'cmake' 'llvm' 'ldc') source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; @@ -53,7 +53,7 @@ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ --DBUILD_SHARED_LIBS=ON \ +-DBUILD_SHARED_LIBS=BOTH \ -DLDC_WITH_LLD=OFF \ .. make @@ -93,6 +93,7 @@ package_liblphobos() { provides=('d-runtime' 'd-stdlib') depends=('curl') +options=('staticlibs') cd "$srcdir/ldc/build" make install DESTDIR="$pkgdir"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, December 16, 2017 @ 00:49:11 Author: wild Revision: 274551 upgpkg: ldc 1:1.6.0-2 Restored ldc-build-runtime and added version to d-compiler Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-12-15 23:53:36 UTC (rev 274550) +++ PKGBUILD2017-12-16 00:49:11 UTC (rev 274551) @@ -7,8 +7,9 @@ groups=('dlang' 'dlang-ldc') pkgver=1.6.0 _pkgcommit=00a9a38212dc5ff7bbcf8d7233540ddc3b885f7f +_dversion=2.076.1 epoch=1 -pkgrel=1 +pkgrel=2 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"; @@ -61,7 +62,7 @@ package_ldc() { depends=('liblphobos' 'llvm-libs') backup=('etc/ldc2.conf') -provides=('d-compiler') +provides=("d-compiler=$_dversion") cd "$srcdir/ldc/build" make install DESTDIR="$pkgdir" @@ -76,7 +77,6 @@ rm -rf "$pkgdir/usr/lib" # remove misc -rm -rf "$pkgdir/usr/bin/ldc-build-runtime" # symlinks ln -s /usr/share/bash-completion/completions/ldc2 "$pkgdir/usr/share/bash-completion/completions/ldc"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, November 26, 2017 @ 17:51:19 Author: wild Revision: 268942 upgpkg: ldc 1:1.6.0-1 Updated to 1.6.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-11-26 17:51:10 UTC (rev 268941) +++ PKGBUILD2017-11-26 17:51:19 UTC (rev 268942) @@ -5,8 +5,8 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.5.0 -_pkgcommit=8f4027fa0019adcf916d5178dd919d51b3f9121f +pkgver=1.6.0 +_pkgcommit=00a9a38212dc5ff7bbcf8d7233540ddc3b885f7f epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
Date: Tuesday, October 31, 2017 @ 00:41:58 Author: wild Revision: 264829 upgpkg: ldc 1:1.5.0-1 Updated to 1.5.0 and made PKGBUILD better (fixes FS#55692) Modified: ldc/trunk/PKGBUILD ldc/trunk/ldc2.conf ---+ PKGBUILD | 74 ++-- ldc2.conf |7 + 2 files changed, 40 insertions(+), 41 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-10-30 22:31:17 UTC (rev 264828) +++ PKGBUILD2017-10-31 00:41:58 UTC (rev 264829) @@ -5,8 +5,8 @@ pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.4.0 -_pkgcommit=5a79ff6abc882dd076d1a862911de288cc4ae3cd +pkgver=1.5.0 +_pkgcommit=8f4027fa0019adcf916d5178dd919d51b3f9121f epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -17,9 +17,9 @@ source=( "git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; - "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"; +"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" ) @@ -27,26 +27,25 @@ 'SKIP' 'SKIP' 'SKIP' -'266c1888da29715b277c2f56090b2e6dbb7531499f3434fe60938d6ad01705ae') +'42e540f15f0d2c561a9c576903e0e84b8cd5274aa9679364b5cf211ddd1b12df') prepare() { - cd "$srcdir/ldc" +cd "$srcdir/ldc" - git submodule init - git config submodule.druntime.url "$srcdir/druntime" - git config submodule.phobos.url "$srcdir/phobos" - git config submodule.tests/d2/dmd-testsuite.url "$srcdir/dmd-testsuite" - git submodule update +git submodule init +git config submodule.druntime.url "$srcdir/druntime" +git config submodule.phobos.url "$srcdir/phobos" +git config submodule.tests/d2/dmd-testsuite.url "$srcdir/dmd-testsuite" +git submodule update } build() { -mkdir -p "$srcdir/tmp_install_dir" cd "$srcdir/ldc" mkdir -p build && cd build # workaround for wrong ld flag format generated by cmake: -export LDFLAGS="-L-O1 -L--sort-common -L--as-needed -L-z -Lrelro" +# export LDFLAGS="-L-O1 -L--sort-common -L--as-needed -L-z -Lrelro" cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -54,10 +53,9 @@ -DCMAKE_SKIP_RPATH=ON \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=ON \ - -DLDC_WITH_LLD=OFF \ +-DLDC_WITH_LLD=OFF \ .. make -make install DESTDIR="$srcdir/tmp_install_dir" } package_ldc() { @@ -65,17 +63,26 @@ backup=('etc/ldc2.conf') provides=('d-compiler') -cd "$srcdir/tmp_install_dir" +cd "$srcdir/ldc/build" +make install DESTDIR="$pkgdir" -# binaries -install -D -m755 ./usr/bin/ldmd2 "$pkgdir/usr/bin/ldmd" -ln -s /usr/bin/ldmd "$pkgdir/usr/bin/ldmd2" -install -D -m755 ./usr/bin/ldc2 "$pkgdir/usr/bin/ldc" -ln -s /usr/bin/ldc "$pkgdir/usr/bin/ldc2" +# move bash-completion +mkdir -p "$pkgdir/usr/share/bash-completion/completions/" +mv "$pkgdir/etc/bash_completion.d/ldc2" "$pkgdir/usr/share/bash-completion/completions/" +rm -rf "$pkgdir/etc/bash_completion.d" -# supplementaries -install -D -m644 "$srcdir/ldc/bash_completion.d/ldc2" "$pkgdir/usr/share/bash-completion/completions/ldc" +# remove liblphobos files +rm -rf "$pkgdir/usr/include" +rm -rf "$pkgdir/usr/lib" +# remove misc +rm -rf "$pkgdir/usr/bin/ldc-build-runtime" + +# symlinks +ln -s /usr/share/bash-completion/completions/ldc2 "$pkgdir/usr/share/bash-completion/completions/ldc" +ln -s /usr/bin/ldc2 "$pkgdir/usr/bin/ldc" +ln -s /usr/bin/ldmd2 "$pkgdir/usr/bin/ldmd" + # licenses install -D -m644 "$srcdir/ldc/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" @@ -87,18 +94,13 @@ provides=('d-runtime' 'd-stdlib') depends=('curl') +cd "$srcdir/ldc/build" +make install DESTDIR="$pkgdir" + +# remove ldc files +rm -rf "$pkgdir/usr/bin/" +rm -rf "$pkgdir/etc/" + # licenses install -D -m644 "$srcdir/ldc/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - -cd "$srcdir/tmp_install_dir" - -# libraries -install -D -m644 ./usr/lib/libphobos2-ldc.so "$pkgdir/usr/lib/liblphobos2.so" -install -D -m644 ./usr/lib/libdruntime-ldc.so "$pkgdir/usr/lib/libldruntime.so" -install -D -m644 ./usr/lib/libphobos2-ldc-debug.so "$pkgdir/usr/lib/liblphobos2-debug.so" -install -D -m644 ./usr/lib/libdruntime-ldc-debug.so "$pkgdir/usr/lib/libldruntime-debug.so" - -# imports -mkdir -p "$pkgdir/usr/include/dlang" -cp -r "./usr/inclu
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf)
Date: Monday, September 11, 2017 @ 22:23:18 Author: wild Revision: 257062 upgpkg: ldc 1:1.4.0-1 Updated to version 1.4.0, needs llvm 5.0 Modified: ldc/trunk/PKGBUILD ldc/trunk/ldc2.conf ---+ PKGBUILD | 78 ++-- ldc2.conf | 14 ++ 2 files changed, 59 insertions(+), 33 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-09-11 22:21:37 UTC (rev 257061) +++ PKGBUILD2017-09-11 22:23:18 UTC (rev 257062) @@ -2,25 +2,46 @@ # Maintainer: # Contributor: Mihails Strasuns # Contributor: Sven-Hendrik Haase + pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.3.0 +pkgver=1.4.0 +_pkgcommit=5a79ff6abc882dd076d1a862911de288cc4ae3cd epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" -arch=('i686' 'x86_64') +arch=('x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') -makedepends=('cmake' 'llvm' 'dmd') -source=("https://github.com/ldc-developers/ldc/releases/download/v$pkgver/ldc-$pkgver-src.tar.gz"; -"ldc2.conf" - ) -sha256sums=('efe31a639bcb44e1f5b752da21713376d9410a01279fecc8aab8572065a3050b' -'2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db') +makedepends=('git' 'cmake' 'llvm' 'dmd') +source=( +"git+https://github.com/ldc-developers/ldc#commit=$_pkgcommit"; + "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' +'266c1888da29715b277c2f56090b2e6dbb7531499f3434fe60938d6ad01705ae') + +prepare() { + cd "$srcdir/ldc" + + git submodule init + git config submodule.druntime.url "$srcdir/druntime" + git config submodule.phobos.url "$srcdir/phobos" + git config submodule.tests/d2/dmd-testsuite.url "$srcdir/dmd-testsuite" + git submodule update +} + build() { -mkdir -p $srcdir/tmp_install_dir -cd ldc-$pkgver-src +mkdir -p "$srcdir/tmp_install_dir" +cd "$srcdir/ldc" mkdir -p build && cd build @@ -33,9 +54,10 @@ -DCMAKE_SKIP_RPATH=ON \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=ON \ + -DLDC_WITH_LLD=OFF \ .. -make -make install DESTDIR=$srcdir/tmp_install_dir +make +make install DESTDIR="$srcdir/tmp_install_dir" } package_ldc() { @@ -43,22 +65,22 @@ backup=('etc/ldc2.conf') provides=('d-compiler') -cd tmp_install_dir +cd "$srcdir/tmp_install_dir" # binaries -install -D -m755 ./usr/bin/ldmd2 $pkgdir/usr/bin/ldmd -ln -s /usr/bin/ldmd $pkgdir/usr/bin/ldmd2 -install -D -m755 ./usr/bin/ldc2 $pkgdir/usr/bin/ldc -ln -s /usr/bin/ldc $pkgdir/usr/bin/ldc2 +install -D -m755 ./usr/bin/ldmd2 "$pkgdir/usr/bin/ldmd" +ln -s /usr/bin/ldmd "$pkgdir/usr/bin/ldmd2" +install -D -m755 ./usr/bin/ldc2 "$pkgdir/usr/bin/ldc" +ln -s /usr/bin/ldc "$pkgdir/usr/bin/ldc2" # supplementaries -install -D -m644 $srcdir/ldc-$pkgver-src/bash_completion.d/ldc2 $pkgdir/usr/share/bash-completion/completions/ldc +install -D -m644 "$srcdir/ldc/bash_completion.d/ldc2" "$pkgdir/usr/share/bash-completion/completions/ldc" # licenses -install -D -m644 $srcdir/ldc-$pkgver-src/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +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 +install -D -m644 "$srcdir/ldc2.conf" "$pkgdir/etc/ldc2.conf" } package_liblphobos() { @@ -66,17 +88,17 @@ depends=('curl') # licenses -install -D -m644 $srcdir/ldc-$pkgver-src/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +install -D -m644 "$srcdir/ldc/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -cd tmp_install_dir +cd "$srcdir/tmp_install_dir" # libraries -install -D -m644 ./usr/lib/libphobos2-ldc.so $pkgdir/usr/lib/liblphobos2.so -install -D -m644 ./usr/lib/libdruntime-ldc.so $pkgdir/usr/lib/libldruntime.so -install -D -m644 ./usr/lib/libphobos2-ldc-debug.so $pkgdir/usr/lib/liblphobos2-debug.so -install -D -m644 ./usr/lib/libdruntime-ldc-debug.so $pkgdir/usr/lib/libldruntime-debug.so +install -D -m644 ./usr/lib/libphobos2-ldc.so "$pkgdir/usr/lib/liblphobos2.so" +install -D -m644 ./usr/lib/libdruntime-ldc.so "$pkgdir/usr/lib/libldruntime.so" +install -D -m644 ./usr/lib/libphobos2-ldc-debug.so "$pkgdir/usr/lib/liblphobos2-debug.so" +install -D -m644 ./usr/lib/libdruntime-ldc-debug.so "$pkgdir/usr/lib/libldruntime-debug.so" # imports -mkdi
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, July 8, 2017 @ 10:49:27 Author: arojas Revision: 243319 Update to 1.3.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-07-08 10:32:56 UTC (rev 243318) +++ PKGBUILD2017-07-08 10:49:27 UTC (rev 243319) @@ -4,18 +4,18 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.2.0 +pkgver=1.3.0 epoch=1 -pkgrel=3 +pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') -makedepends=('cmake' 'llvm' 'dmd' 'libconfig') +makedepends=('cmake' 'llvm' 'dmd') source=("https://github.com/ldc-developers/ldc/releases/download/v$pkgver/ldc-$pkgver-src.tar.gz"; "ldc2.conf" ) -sha256sums=('910e8a670f0fadcaf64403c924091d6debf7ad29e203808f5f2b6899217e6f2b' +sha256sums=('efe31a639bcb44e1f5b752da21713376d9410a01279fecc8aab8572065a3050b' '2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db') build() { @@ -39,9 +39,9 @@ } package_ldc() { -depends=('liblphobos' 'libconfig' 'llvm-libs') -backup=("etc/ldc2.conf") -provides=("d-compiler") +depends=('liblphobos' 'llvm-libs') +backup=('etc/ldc2.conf') +provides=('d-compiler') cd tmp_install_dir @@ -62,10 +62,8 @@ } package_liblphobos() { -provides=("d-runtime" "d-stdlib") -replaces=("liblphobos-devel") -conflicts=("liblphobos-devel") -depends=("curl") +provides=('d-runtime' 'd-stdlib') +depends=('curl') # licenses install -D -m644 $srcdir/ldc-$pkgver-src/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Friday, June 16, 2017 @ 18:20:16 Author: arojas Revision: 237794 libconfig rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-06-16 18:14:33 UTC (rev 237793) +++ PKGBUILD2017-06-16 18:20:16 UTC (rev 237794) @@ -6,7 +6,7 @@ groups=('dlang' 'dlang-ldc') pkgver=1.2.0 epoch=1 -pkgrel=2 +pkgrel=3 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, June 14, 2017 @ 19:20:13 Author: arojas Revision: 236810 libconfig 1.6 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-06-14 19:18:27 UTC (rev 236809) +++ PKGBUILD2017-06-14 19:20:13 UTC (rev 236810) @@ -1,11 +1,12 @@ # $Id$ -# Maintainer: Mihails Strasuns +# Maintainer: +# Contributor: Mihails Strasuns # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') pkgver=1.2.0 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, April 24, 2017 @ 06:56:11 Author: arojas Revision: 224809 Update to 1.2.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-04-24 06:54:26 UTC (rev 224808) +++ PKGBUILD2017-04-24 06:56:11 UTC (rev 224809) @@ -3,9 +3,9 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.1.1 +pkgver=1.2.0 epoch=1 -pkgrel=2 +pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -14,7 +14,7 @@ source=("https://github.com/ldc-developers/ldc/releases/download/v$pkgver/ldc-$pkgver-src.tar.gz"; "ldc2.conf" ) -sha256sums=('3d35253a76288a78939fea467409462f0b87461ffb89550eb0d9958e59eb7e97' +sha256sums=('910e8a670f0fadcaf64403c924091d6debf7ad29e203808f5f2b6899217e6f2b' '2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db') build() {
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, March 28, 2017 @ 15:04:16 Author: arojas Revision: 219732 llvm 4.0 rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2017-03-28 14:51:30 UTC (rev 219731) +++ PKGBUILD2017-03-28 15:04:16 UTC (rev 219732) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=1.1.1 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, March 4, 2017 @ 09:12:39 Author: arojas Revision: 214842 Update to 1.1.1 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-03-04 09:08:54 UTC (rev 214841) +++ PKGBUILD2017-03-04 09:12:39 UTC (rev 214842) @@ -3,7 +3,7 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.1.0 +pkgver=1.1.1 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -14,7 +14,7 @@ source=("https://github.com/ldc-developers/ldc/releases/download/v$pkgver/ldc-$pkgver-src.tar.gz"; "ldc2.conf" ) -sha256sums=('3b95216cd664e140dca321a6364c2238c442c972d6ccca8b9a65cb02d2e47112' +sha256sums=('3d35253a76288a78939fea467409462f0b87461ffb89550eb0d9958e59eb7e97' '2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db') build() {
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, February 23, 2017 @ 21:26:26 Author: arojas Revision: 213667 Move libconfig to makedepends (FS#53065) Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-02-23 20:45:45 UTC (rev 213666) +++ PKGBUILD2017-02-23 21:26:26 UTC (rev 213667) @@ -10,8 +10,7 @@ arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') -depends=('libconfig') -makedepends=('cmake' 'llvm' 'dmd') +makedepends=('cmake' 'llvm' 'dmd' 'libconfig') source=("https://github.com/ldc-developers/ldc/releases/download/v$pkgver/ldc-$pkgver-src.tar.gz"; "ldc2.conf" )
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, February 22, 2017 @ 19:53:27 Author: arojas Revision: 213550 Update to 1.1.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 29 + 1 file changed, 13 insertions(+), 16 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-02-22 19:52:09 UTC (rev 213549) +++ PKGBUILD2017-02-22 19:53:27 UTC (rev 213550) @@ -3,7 +3,7 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=1.0.0 +pkgver=1.1.0 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -11,20 +11,17 @@ url="https://github.com/ldc-developers/ldc"; license=('BSD') depends=('libconfig') -makedepends=('git' 'cmake' 'llvm' 'dmd') -source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" +makedepends=('cmake' 'llvm' 'dmd') +source=("https://github.com/ldc-developers/ldc/releases/download/v$pkgver/ldc-$pkgver-src.tar.gz"; "ldc2.conf" ) -sha256sums=('SKIP' -'2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db' - ) +sha256sums=('3b95216cd664e140dca321a6364c2238c442c972d6ccca8b9a65cb02d2e47112' +'2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db') build() { mkdir -p $srcdir/tmp_install_dir -cd $srcdir/ldc +cd ldc-$pkgver-src -git submodule update --init --recursive - mkdir -p build && cd build # workaround for wrong ld flag format generated by cmake: @@ -37,16 +34,16 @@ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=ON \ .. -make -j 4 +make make install DESTDIR=$srcdir/tmp_install_dir } package_ldc() { -depends=('liblphobos' 'libconfig') +depends=('liblphobos' 'libconfig' 'llvm-libs') backup=("etc/ldc2.conf") provides=("d-compiler") -cd $srcdir/tmp_install_dir +cd tmp_install_dir # binaries install -D -m755 ./usr/bin/ldmd2 $pkgdir/usr/bin/ldmd @@ -55,10 +52,10 @@ ln -s /usr/bin/ldc $pkgdir/usr/bin/ldc2 # supplementaries -install -D -m644 $srcdir/ldc/bash_completion.d/ldc2 $pkgdir/usr/share/bash-completion/completions/ldc +install -D -m644 $srcdir/ldc-$pkgver-src/bash_completion.d/ldc2 $pkgdir/usr/share/bash-completion/completions/ldc # licenses -install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +install -D -m644 $srcdir/ldc-$pkgver-src/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE # default configuration files install -D -m644 $srcdir/ldc2.conf $pkgdir/etc/ldc2.conf @@ -71,9 +68,9 @@ depends=("curl") # licenses -install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +install -D -m644 $srcdir/ldc-$pkgver-src/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -cd $srcdir/tmp_install_dir +cd tmp_install_dir # libraries install -D -m644 ./usr/lib/libphobos2-ldc.so $pkgdir/usr/lib/liblphobos2.so
[arch-commits] Commit in ldc/trunk (PKGBUILD math.diff)
Date: Wednesday, June 8, 2016 @ 10:03:47 Author: dicebot Revision: 178187 upgpkg: ldc 1:1.0.0-1 LDC 1.0.0 release Modified: ldc/trunk/PKGBUILD Deleted: ldc/trunk/math.diff ---+ PKGBUILD | 12 +++ math.diff | 95 2 files changed, 6 insertions(+), 101 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-06-08 07:54:57 UTC (rev 178186) +++ PKGBUILD2016-06-08 08:03:47 UTC (rev 178187) @@ -3,7 +3,7 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=0.17.1 +pkgver=1.0.0 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -11,14 +11,12 @@ url="https://github.com/ldc-developers/ldc"; license=('BSD') depends=('libconfig') -makedepends=('git' 'cmake' 'llvm') +makedepends=('git' 'cmake' 'llvm' 'dmd') source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" "ldc2.conf" -"math.diff" ) sha256sums=('SKIP' '2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db' -'d870ede8c9fb9e631e109da9c04ceff89596e786855132ac574adfee91b557ff' ) build() { @@ -25,11 +23,13 @@ mkdir -p $srcdir/tmp_install_dir cd $srcdir/ldc -git apply $srcdir/math.diff - git submodule update --init --recursive mkdir -p build && cd build + +# workaround for wrong ld flag format generated by cmake: +export LDFLAGS="-L-O1 -L--sort-common -L--as-needed -L-z -Lrelro" + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ Deleted: math.diff === --- math.diff 2016-06-08 07:54:57 UTC (rev 178186) +++ math.diff 2016-06-08 08:03:47 UTC (rev 178187) @@ -1,95 +0,0 @@ -diff --git a/dmd2/root/port.c b/dmd2/root/port.c -index 2435400..ac23e8e 100644 a/dmd2/root/port.c -+++ b/dmd2/root/port.c -@@ -770,7 +770,7 @@ int Port::isNan(double r) - return isnan(r); - #else - #undef isnan --return ::isnan(r); -+return std::isnan(r); - #endif - } - -@@ -786,7 +786,7 @@ int Port::isNan(longdouble r) - return isnan(r); - #else - #undef isnan --return ::isnan(r); -+return std::isnan(r); - #endif - } - -@@ -814,13 +814,13 @@ int Port::isInfinity(double r) - return isinf(r); - #else - #undef isinf --return ::isinf(r); -+return std::isinf(r); - #endif - } - - longdouble Port::sqrt(longdouble x) - { --return ::sqrtl(x); -+return std::sqrt(x); - } - - longdouble Port::fmodl(longdouble x, longdouble y) -@@ -828,7 +828,7 @@ longdouble Port::fmodl(longdouble x, longdouble y) - #if __FreeBSD__ && __FreeBSD_version < 80 || __OpenBSD__ || __NetBSD__ || __DragonFly__ - return ::fmod(x, y);// hack for now, fix later - #else --return ::fmodl(x, y); -+return std::fmod(x, y); - #endif - } - -@@ -868,7 +868,7 @@ char *Port::strupr(char *s) - - while (*s) - { --*s = toupper(*s); -+*s = std::toupper(*s); - s++; - } - -@@ -886,7 +886,7 @@ int Port::memicmp(const char *s1, const char *s2, int n) - result = c1 - c2; - if (result) - { --result = toupper(c1) - toupper(c2); -+result = std::toupper(c1) - std::toupper(c2); - if (result) - break; - } -@@ -905,7 +905,7 @@ int Port::stricmp(const char *s1, const char *s2) - result = c1 - c2; - if (result) - { --result = toupper(c1) - toupper(c2); -+result = std::toupper(c1) - std::toupper(c2); - if (result) - break; - } -@@ -919,17 +919,17 @@ int Port::stricmp(const char *s1, const char *s2) - - float Port::strtof(const char *p, char **endp) - { --return ::strtof(p, endp); -+return std::strtof(p, endp); - } - - double Port::strtod(const char *p, char **endp) - { --return ::strtod(p, endp); -+return std::strtod(p, endp); - } - - longdouble Port::strtold(const char *p, char **endp) - { --return ::strtold(p, endp); -+return std::strtold(p, endp); - } - - #endif
[arch-commits] Commit in ldc/trunk (PKGBUILD math.diff)
Date: Saturday, April 2, 2016 @ 15:05:02 Author: dicebot Revision: 169213 upgpkg: ldc 1:0.17.1-1 LDC 0.17.1 Added: ldc/trunk/math.diff Modified: ldc/trunk/PKGBUILD ---+ PKGBUILD | 12 +-- math.diff | 95 2 files changed, 103 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-04-02 12:16:06 UTC (rev 169212) +++ PKGBUILD2016-04-02 13:05:02 UTC (rev 169213) @@ -3,7 +3,7 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=0.17.0 +pkgver=0.17.1 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -14,15 +14,19 @@ makedepends=('git' 'cmake' 'llvm') source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" "ldc2.conf" +"math.diff" ) -sha1sums=('SKIP' - '290689ded66a12a243666d0bac3ffb74180fa490' - ) +sha256sums=('SKIP' +'2ef3b1090e25187305f18ce6fbbbc45527dcbb33570afbe30e177790813948db' +'d870ede8c9fb9e631e109da9c04ceff89596e786855132ac574adfee91b557ff' + ) build() { mkdir -p $srcdir/tmp_install_dir cd $srcdir/ldc +git apply $srcdir/math.diff + git submodule update --init --recursive mkdir -p build && cd build Added: math.diff === --- math.diff (rev 0) +++ math.diff 2016-04-02 13:05:02 UTC (rev 169213) @@ -0,0 +1,95 @@ +diff --git a/dmd2/root/port.c b/dmd2/root/port.c +index 2435400..ac23e8e 100644 +--- a/dmd2/root/port.c b/dmd2/root/port.c +@@ -770,7 +770,7 @@ int Port::isNan(double r) + return isnan(r); + #else + #undef isnan +-return ::isnan(r); ++return std::isnan(r); + #endif + } + +@@ -786,7 +786,7 @@ int Port::isNan(longdouble r) + return isnan(r); + #else + #undef isnan +-return ::isnan(r); ++return std::isnan(r); + #endif + } + +@@ -814,13 +814,13 @@ int Port::isInfinity(double r) + return isinf(r); + #else + #undef isinf +-return ::isinf(r); ++return std::isinf(r); + #endif + } + + longdouble Port::sqrt(longdouble x) + { +-return ::sqrtl(x); ++return std::sqrt(x); + } + + longdouble Port::fmodl(longdouble x, longdouble y) +@@ -828,7 +828,7 @@ longdouble Port::fmodl(longdouble x, longdouble y) + #if __FreeBSD__ && __FreeBSD_version < 80 || __OpenBSD__ || __NetBSD__ || __DragonFly__ + return ::fmod(x, y);// hack for now, fix later + #else +-return ::fmodl(x, y); ++return std::fmod(x, y); + #endif + } + +@@ -868,7 +868,7 @@ char *Port::strupr(char *s) + + while (*s) + { +-*s = toupper(*s); ++*s = std::toupper(*s); + s++; + } + +@@ -886,7 +886,7 @@ int Port::memicmp(const char *s1, const char *s2, int n) + result = c1 - c2; + if (result) + { +-result = toupper(c1) - toupper(c2); ++result = std::toupper(c1) - std::toupper(c2); + if (result) + break; + } +@@ -905,7 +905,7 @@ int Port::stricmp(const char *s1, const char *s2) + result = c1 - c2; + if (result) + { +-result = toupper(c1) - toupper(c2); ++result = std::toupper(c1) - std::toupper(c2); + if (result) + break; + } +@@ -919,17 +919,17 @@ int Port::stricmp(const char *s1, const char *s2) + + float Port::strtof(const char *p, char **endp) + { +-return ::strtof(p, endp); ++return std::strtof(p, endp); + } + + double Port::strtod(const char *p, char **endp) + { +-return ::strtod(p, endp); ++return std::strtod(p, endp); + } + + longdouble Port::strtold(const char *p, char **endp) + { +-return ::strtold(p, endp); ++return std::strtold(p, endp); + } + + #endif
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, February 14, 2016 @ 21:52:32 Author: dicebot Revision: 161558 upgpkg: ldc 1:0.17.0-1 LDC 0.17.0 release. Reworked PKGBUILD to match upstream layout changes Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-02-14 20:00:01 UTC (rev 161557) +++ PKGBUILD2016-02-14 20:52:32 UTC (rev 161558) @@ -3,9 +3,9 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=0.16.1 +pkgver=0.17.0 epoch=1 -pkgrel=4 +pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -20,19 +20,21 @@ ) build() { +mkdir -p $srcdir/tmp_install_dir cd $srcdir/ldc git submodule update --init --recursive -mkdir -p pkg mkdir -p build && cd build cmake \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ --DCMAKE_INSTALL_PREFIX=../pkg/ \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=ON \ .. make -j 4 +make install DESTDIR=$srcdir/tmp_install_dir } package_ldc() { @@ -40,12 +42,12 @@ backup=("etc/ldc2.conf") provides=("d-compiler") -cd $srcdir/ldc/build +cd $srcdir/tmp_install_dir # binaries -install -D -m755 $srcdir/ldc/build/bin/ldmd2 $pkgdir/usr/bin/ldmd +install -D -m755 ./usr/bin/ldmd2 $pkgdir/usr/bin/ldmd ln -s /usr/bin/ldmd $pkgdir/usr/bin/ldmd2 -install -D -m755 $srcdir/ldc/build/bin/ldc2 $pkgdir/usr/bin/ldc +install -D -m755 ./usr/bin/ldc2 $pkgdir/usr/bin/ldc ln -s /usr/bin/ldc $pkgdir/usr/bin/ldc2 # supplementaries @@ -67,16 +69,15 @@ # licenses install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +cd $srcdir/tmp_install_dir + # libraries -install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc.so $pkgdir/usr/lib/liblphobos2.so -install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc.so $pkgdir/usr/lib/libldruntime.so -install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc-debug.so $pkgdir/usr/lib/liblphobos2-debug.so -install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc-debug.so $pkgdir/usr/lib/libldruntime-debug.so +install -D -m644 ./usr/lib/libphobos2-ldc.so $pkgdir/usr/lib/liblphobos2.so +install -D -m644 ./usr/lib/libdruntime-ldc.so $pkgdir/usr/lib/libldruntime.so +install -D -m644 ./usr/lib/libphobos2-ldc-debug.so $pkgdir/usr/lib/liblphobos2-debug.so +install -D -m644 ./usr/lib/libdruntime-ldc-debug.so $pkgdir/usr/lib/libldruntime-debug.so # imports -mkdir -p $pkgdir/usr/include/dlang/ldc -cp -r $srcdir/ldc/build/import/* $pkgdir/usr/include/dlang/ldc/ -cp$srcdir/ldc/build/runtime/gccbuiltins_x86.di $pkgdir/usr/include/dlang/ldc/ldc/ -cp -r $srcdir/ldc/runtime/phobos/std $pkgdir/usr/include/dlang/ldc/ -cp -r $srcdir/ldc/runtime/phobos/etc $pkgdir/usr/include/dlang/ldc/ +mkdir -p $pkgdir/usr/include/dlang +cp -r ./usr/include/dlang/ldc $pkgdir/usr/include/dlang/ldc }
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Friday, January 22, 2016 @ 03:11:25 Author: dicebot Revision: 158458 upgpkg: ldc 1:0.16.1-4 Fix gccbuiltins_x86 module path Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-01-22 02:09:36 UTC (rev 158457) +++ PKGBUILD2016-01-22 02:11:25 UTC (rev 158458) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.16.1 epoch=1 -pkgrel=3 +pkgrel=4 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -32,7 +32,7 @@ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=ON \ .. -make +make -j 4 } package_ldc() { @@ -76,7 +76,7 @@ # imports mkdir -p $pkgdir/usr/include/dlang/ldc cp -r $srcdir/ldc/build/import/* $pkgdir/usr/include/dlang/ldc/ +cp$srcdir/ldc/build/runtime/gccbuiltins_x86.di $pkgdir/usr/include/dlang/ldc/ldc/ cp -r $srcdir/ldc/runtime/phobos/std $pkgdir/usr/include/dlang/ldc/ cp -r $srcdir/ldc/runtime/phobos/etc $pkgdir/usr/include/dlang/ldc/ -cp $srcdir/ldc/build/runtime/gccbuiltins_x86.di $pkgdir/usr/include/dlang/ldc/ }
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Friday, January 22, 2016 @ 00:09:52 Author: dicebot Revision: 158450 upgpkg: ldc 1:0.16.1-3 Add gccbuiltins_x86.di to ldc runtime headers Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-01-21 21:24:44 UTC (rev 158449) +++ PKGBUILD2016-01-21 23:09:52 UTC (rev 158450) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.16.1 epoch=1 -pkgrel=2 +pkgrel=3 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -24,10 +24,11 @@ git submodule update --init --recursive -mkdir build && cd build +mkdir -p pkg +mkdir -p build && cd build cmake \ -DCMAKE_SKIP_RPATH=ON \ --DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_PREFIX=../pkg/ \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=ON \ .. @@ -39,6 +40,8 @@ backup=("etc/ldc2.conf") provides=("d-compiler") +cd $srcdir/ldc/build + # binaries install -D -m755 $srcdir/ldc/build/bin/ldmd2 $pkgdir/usr/bin/ldmd ln -s /usr/bin/ldmd $pkgdir/usr/bin/ldmd2 @@ -75,4 +78,5 @@ cp -r $srcdir/ldc/build/import/* $pkgdir/usr/include/dlang/ldc/ cp -r $srcdir/ldc/runtime/phobos/std $pkgdir/usr/include/dlang/ldc/ cp -r $srcdir/ldc/runtime/phobos/etc $pkgdir/usr/include/dlang/ldc/ +cp $srcdir/ldc/build/runtime/gccbuiltins_x86.di $pkgdir/usr/include/dlang/ldc/ }
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, December 7, 2015 @ 01:26:30 Author: foutrelis Revision: 149408 C++11 ABI rebuild Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-12-07 00:26:23 UTC (rev 149407) +++ PKGBUILD2015-12-07 00:26:30 UTC (rev 149408) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.16.1 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, October 29, 2015 @ 22:13:29 Author: dicebot Revision: 145259 upgpkg: ldc 1:0.16.1-1 LDC 0.16.1 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-10-29 18:58:39 UTC (rev 145258) +++ PKGBUILD2015-10-29 21:13:29 UTC (rev 145259) @@ -3,7 +3,7 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=0.16.0 +pkgver=0.16.1 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
[arch-commits] Commit in ldc/trunk (PKGBUILD mul.diff)
Date: Saturday, October 24, 2015 @ 09:50:23 Author: dicebot Revision: 144857 upgpkg: ldc 1:0.16.0-1 LDC 0.16.0 release with frontend 2.067 Modified: ldc/trunk/PKGBUILD Deleted: ldc/trunk/mul.diff --+ PKGBUILD | 18 -- mul.diff | 40 2 files changed, 4 insertions(+), 54 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-24 03:30:55 UTC (rev 144856) +++ PKGBUILD2015-10-24 07:50:23 UTC (rev 144857) @@ -3,22 +3,20 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=0.15.1 +pkgver=0.16.0 epoch=1 -pkgrel=7 +pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') depends=('libconfig') -makedepends=('git' 'cmake' 'llvm35') +makedepends=('git' 'cmake' 'llvm') source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" "ldc2.conf" -"mul.diff" ) sha1sums=('SKIP' '290689ded66a12a243666d0bac3ffb74180fa490' - '5a7f6c83285ab6a1ceb6ab93c68c6f2169564691' ) build() { @@ -26,14 +24,6 @@ git submodule update --init --recursive -# workaround for https://github.com/ldc-developers/ldc/issues/813 -if [ $CARCH != x86_64 ] -then -cd ./runtime/druntime -git apply $srcdir/mul.diff -cd $srcdir/ldc -fi - mkdir build && cd build cmake \ -DCMAKE_SKIP_RPATH=ON \ @@ -56,7 +46,7 @@ ln -s /usr/bin/ldc $pkgdir/usr/bin/ldc2 # supplementaries -install -D -m644 $srcdir/ldc/bash_completion.d/ldc $pkgdir/usr/share/bash-completion/completions/ldc +install -D -m644 $srcdir/ldc/bash_completion.d/ldc2 $pkgdir/usr/share/bash-completion/completions/ldc # licenses install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE Deleted: mul.diff === --- mul.diff2015-10-24 03:30:55 UTC (rev 144856) +++ mul.diff2015-10-24 07:50:23 UTC (rev 144857) @@ -1,40 +0,0 @@ -diff --git a/src/core/checkedint.d b/src/core/checkedint.d -index 18e19bf..ccaeec3 100644 a/src/core/checkedint.d -+++ b/src/core/checkedint.d -@@ -447,7 +447,7 @@ unittest - - int muls(int x, int y, ref bool overflow) - { --version(LDC) -+version(none) - { - auto res = llvm_smul_with_overflow(x, y); - overflow |= res.overflow; -@@ -485,7 +485,7 @@ unittest - /// ditto - long muls(long x, long y, ref bool overflow) - { --version(LDC) -+version(none) - { - auto res = llvm_smul_with_overflow(x, y); - overflow |= res.overflow; -@@ -536,7 +536,7 @@ unittest - - uint mulu(uint x, uint y, ref bool overflow) - { --version(LDC) -+version(none) - { - auto res = llvm_umul_with_overflow(x, y); - overflow |= res.overflow; -@@ -574,7 +574,7 @@ unittest - /// ditto - ulong mulu(ulong x, ulong y, ref bool overflow) - { --version(LDC) -+version(none) - { - auto res = llvm_umul_with_overflow(x, y); - overflow |= res.overflow;
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, September 10, 2015 @ 07:47:19 Author: allan Revision: 139760 ncurses 6.0 rebuild. Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-09-10 05:24:29 UTC (rev 139759) +++ PKGBUILD2015-09-10 05:47:19 UTC (rev 139760) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.15.1 epoch=1 -pkgrel=6 +pkgrel=7 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, April 9, 2015 @ 07:52:22 Author: dicebot Revision: 131006 upgpkg: ldc 1:0.15.1-6 Switch dependency to llvm35 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-04-09 02:52:31 UTC (rev 131005) +++ PKGBUILD2015-04-09 05:52:22 UTC (rev 131006) @@ -5,13 +5,13 @@ groups=('dlang' 'dlang-ldc') pkgver=0.15.1 epoch=1 -pkgrel=5 +pkgrel=6 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; license=('BSD') depends=('libconfig') -makedepends=('git' 'cmake' 'llvm') +makedepends=('git' 'cmake' 'llvm35') source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" "ldc2.conf" "mul.diff"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, December 23, 2014 @ 08:08:20 Author: dicebot Revision: 124382 LDC: apply intrinsic fix to arm too Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-12-23 03:58:47 UTC (rev 124381) +++ PKGBUILD2014-12-23 07:08:20 UTC (rev 124382) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.15.1 epoch=1 -pkgrel=4 +pkgrel=5 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -27,7 +27,7 @@ git submodule update --init --recursive # workaround for https://github.com/ldc-developers/ldc/issues/813 -if [ $CARCH = i686 ] +if [ $CARCH != x86_64 ] then cd ./runtime/druntime git apply $srcdir/mul.diff
[arch-commits] Commit in ldc/trunk (PKGBUILD mul.diff)
Date: Sunday, December 21, 2014 @ 11:42:52 Author: dicebot Revision: 124267 upgpkg: ldc 1:0.15.1-4 LDC workaround for missing intrinsic on i686 Added: ldc/trunk/mul.diff Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 12 +++- mul.diff | 40 2 files changed, 51 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-12-21 10:39:47 UTC (rev 124266) +++ PKGBUILD2014-12-21 10:42:52 UTC (rev 124267) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.15.1 epoch=1 -pkgrel=3 +pkgrel=4 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -14,9 +14,11 @@ makedepends=('git' 'cmake' 'llvm') source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" "ldc2.conf" +"mul.diff" ) sha1sums=('SKIP' '290689ded66a12a243666d0bac3ffb74180fa490' + '5a7f6c83285ab6a1ceb6ab93c68c6f2169564691' ) build() { @@ -24,6 +26,14 @@ git submodule update --init --recursive +# workaround for https://github.com/ldc-developers/ldc/issues/813 +if [ $CARCH = i686 ] +then +cd ./runtime/druntime +git apply $srcdir/mul.diff +cd $srcdir/ldc +fi + mkdir build && cd build cmake \ -DCMAKE_SKIP_RPATH=ON \ Added: mul.diff === --- mul.diff(rev 0) +++ mul.diff2014-12-21 10:42:52 UTC (rev 124267) @@ -0,0 +1,40 @@ +diff --git a/src/core/checkedint.d b/src/core/checkedint.d +index 18e19bf..ccaeec3 100644 +--- a/src/core/checkedint.d b/src/core/checkedint.d +@@ -447,7 +447,7 @@ unittest + + int muls(int x, int y, ref bool overflow) + { +-version(LDC) ++version(none) + { + auto res = llvm_smul_with_overflow(x, y); + overflow |= res.overflow; +@@ -485,7 +485,7 @@ unittest + /// ditto + long muls(long x, long y, ref bool overflow) + { +-version(LDC) ++version(none) + { + auto res = llvm_smul_with_overflow(x, y); + overflow |= res.overflow; +@@ -536,7 +536,7 @@ unittest + + uint mulu(uint x, uint y, ref bool overflow) + { +-version(LDC) ++version(none) + { + auto res = llvm_umul_with_overflow(x, y); + overflow |= res.overflow; +@@ -574,7 +574,7 @@ unittest + /// ditto + ulong mulu(ulong x, ulong y, ref bool overflow) + { +-version(LDC) ++version(none) + { + auto res = llvm_umul_with_overflow(x, y); + overflow |= res.overflow;
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Thursday, December 18, 2014 @ 11:11:11 Author: dicebot Revision: 124074 upgpkg: ldc 1:0.15.1-3 Add binary symlinks ldc -> ldc2 and ldmd -> ldmd2 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-12-18 08:19:22 UTC (rev 124073) +++ PKGBUILD2014-12-18 10:11:11 UTC (rev 124074) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.15.1 epoch=1 -pkgrel=2 +pkgrel=3 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -40,8 +40,10 @@ provides=("d-compiler") # binaries -install -D -m755 $srcdir/ldc/build/bin/ldmd2 $pkgdir/usr/bin/ldmd2 -install -D -m755 $srcdir/ldc/build/bin/ldc2 $pkgdir/usr/bin/ldc2 +install -D -m755 $srcdir/ldc/build/bin/ldmd2 $pkgdir/usr/bin/ldmd +ln -s /usr/bin/ldmd $pkgdir/usr/bin/ldmd2 +install -D -m755 $srcdir/ldc/build/bin/ldc2 $pkgdir/usr/bin/ldc +ln -s /usr/bin/ldc $pkgdir/usr/bin/ldc2 # supplementaries install -D -m644 $srcdir/ldc/bash_completion.d/ldc $pkgdir/usr/share/bash-completion/completions/ldc
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, December 16, 2014 @ 13:28:15 Author: dicebot Revision: 123958 upgpkg: ldc 1:0.15.1-2 add old lphobos package to 'conflicts' list Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-12-16 11:09:32 UTC (rev 123957) +++ PKGBUILD2014-12-16 12:28:15 UTC (rev 123958) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.15.1 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -56,6 +56,7 @@ package_liblphobos() { provides=("d-runtime" "d-stdlib") replaces=("liblphobos-devel") +conflicts=("liblphobos-devel") depends=("curl") # licenses
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, December 15, 2014 @ 10:55:21 Author: dicebot Revision: 123903 upgpkg: ldc 1:0.15.1-1 LDC 0.15.1, switch to shared standard library Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-12-15 07:50:46 UTC (rev 123902) +++ PKGBUILD2014-12-15 09:55:21 UTC (rev 123903) @@ -26,6 +26,7 @@ mkdir build && cd build cmake \ +-DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ -DBUILD_SHARED_LIBS=ON \ @@ -34,7 +35,7 @@ } package_ldc() { -depends=('liblphobos') +depends=('liblphobos' 'libconfig') backup=("etc/ldc2.conf") provides=("d-compiler") @@ -55,6 +56,7 @@ package_liblphobos() { provides=("d-runtime" "d-stdlib") replaces=("liblphobos-devel") +depends=("curl") # licenses install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, December 15, 2014 @ 07:47:33 Author: dicebot Revision: 123899 upgpkg: ldc 1:0.15.1-1 LDC 0.15.1, switch to shared standard library Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-12-15 06:42:31 UTC (rev 123898) +++ PKGBUILD2014-12-15 06:47:33 UTC (rev 123899) @@ -1,9 +1,9 @@ # $Id$ # Maintainer: Mihails Strasuns # Contributor: Sven-Hendrik Haase -pkgname=('ldc' 'liblphobos-devel') +pkgname=('ldc' 'liblphobos') groups=('dlang' 'dlang-ldc') -pkgver=0.14.0 +pkgver=0.15.1 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -28,12 +28,13 @@ cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ +-DBUILD_SHARED_LIBS=ON \ .. make } package_ldc() { -depends=('liblphobos-devel') +depends=('liblphobos') backup=("etc/ldc2.conf") provides=("d-compiler") @@ -51,18 +52,18 @@ install -D -m644 $srcdir/ldc2.conf $pkgdir/etc/ldc2.conf } -package_liblphobos-devel() { +package_liblphobos() { provides=("d-runtime" "d-stdlib") - options=("staticlibs") +replaces=("liblphobos-devel") # licenses install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE # libraries -install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc.a $pkgdir/usr/lib/liblphobos2.a -install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc.a $pkgdir/usr/lib/libldruntime.a -install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc-debug.a $pkgdir/usr/lib/liblphobos2-debug.a -install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc-debug.a $pkgdir/usr/lib/libldruntime-debug.a +install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc.so $pkgdir/usr/lib/liblphobos2.so +install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc.so $pkgdir/usr/lib/libldruntime.so +install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc-debug.so $pkgdir/usr/lib/liblphobos2-debug.so +install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc-debug.so $pkgdir/usr/lib/libldruntime-debug.so # imports mkdir -p $pkgdir/usr/include/dlang/ldc
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.rebuild.conf)
Date: Friday, August 15, 2014 @ 18:10:34 Author: dicebot Revision: 117441 upgpkg: ldc 1:0.14.0-1 LDC 0.14.0 : remove unused files Modified: ldc/trunk/PKGBUILD Deleted: ldc/trunk/ldc2.rebuild.conf ---+ PKGBUILD |9 + ldc2.rebuild.conf |2 -- 2 files changed, 1 insertion(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-08-15 15:37:08 UTC (rev 117440) +++ PKGBUILD2014-08-15 16:10:34 UTC (rev 117441) @@ -14,15 +14,11 @@ makedepends=('git' 'cmake' 'llvm') source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" "ldc2.conf" -"ldc2.rebuild.conf" ) sha1sums=('SKIP' '290689ded66a12a243666d0bac3ffb74180fa490' - '0e6e5e072ccc006a200a8fc918cb1ebeb2e12b7b' ) - - build() { cd $srcdir/ldc @@ -38,9 +34,7 @@ package_ldc() { depends=('liblphobos-devel') -backup=("etc/ldc2.conf" -"etc/ldc2.rebuild.conf" - ) +backup=("etc/ldc2.conf") provides=("d-compiler") # binaries @@ -55,7 +49,6 @@ # default configuration files install -D -m644 $srcdir/ldc2.conf $pkgdir/etc/ldc2.conf -install -D -m644 $srcdir/ldc2.rebuild.conf $pkgdir/etc/ldc2.rebuild.conf } package_liblphobos-devel() { Deleted: ldc2.rebuild.conf === --- ldc2.rebuild.conf 2014-08-15 15:37:08 UTC (rev 117440) +++ ldc2.rebuild.conf 2014-08-15 16:10:34 UTC (rev 117441) @@ -1,2 +0,0 @@ -[Environment] -DFLAGS=-I-I/usr/include/dlang/ldc/ldc -I/usr/include/dlang/ldc -L-L/usr/lib -defaultlib=lphobos2 -debuglib=lphobos2-debug
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf ldc2.rebuild.conf)
Date: Friday, August 15, 2014 @ 17:37:08 Author: dicebot Revision: 117440 upgpkg: ldc 1:0.14.0-1 LDC 0.14.0 release, with FE 2.065 Modified: ldc/trunk/PKGBUILD ldc/trunk/ldc2.conf ldc/trunk/ldc2.rebuild.conf ---+ PKGBUILD | 18 +++--- ldc2.conf |4 ++-- ldc2.rebuild.conf |2 +- 3 files changed, 14 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-08-15 15:21:28 UTC (rev 117439) +++ PKGBUILD2014-08-15 15:37:08 UTC (rev 117440) @@ -3,7 +3,7 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos-devel') groups=('dlang' 'dlang-ldc') -pkgver=0.13.0 +pkgver=0.14.0 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" @@ -17,10 +17,12 @@ "ldc2.rebuild.conf" ) sha1sums=('SKIP' - 'e4e2c9656a24a2433cfb00f792abdc247a845b46' + '290689ded66a12a243666d0bac3ffb74180fa490' '0e6e5e072ccc006a200a8fc918cb1ebeb2e12b7b' ) + + build() { cd $srcdir/ldc @@ -60,9 +62,14 @@ provides=("d-runtime" "d-stdlib") options=("staticlibs") +# licenses +install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + # libraries -install -D -m644 $srcdir/ldc/build/lib/libphobos-ldc.a $pkgdir/usr/lib/liblphobos.a -install -D -m644 $srcdir/ldc/build/lib/libphobos-ldc-debug.a $pkgdir/usr/lib/liblphobos-debug.a +install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc.a $pkgdir/usr/lib/liblphobos2.a +install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc.a $pkgdir/usr/lib/libldruntime.a +install -D -m644 $srcdir/ldc/build/lib/libphobos2-ldc-debug.a $pkgdir/usr/lib/liblphobos2-debug.a +install -D -m644 $srcdir/ldc/build/lib/libdruntime-ldc-debug.a $pkgdir/usr/lib/libldruntime-debug.a # imports mkdir -p $pkgdir/usr/include/dlang/ldc @@ -69,7 +76,4 @@ cp -r $srcdir/ldc/build/import/* $pkgdir/usr/include/dlang/ldc/ cp -r $srcdir/ldc/runtime/phobos/std $pkgdir/usr/include/dlang/ldc/ cp -r $srcdir/ldc/runtime/phobos/etc $pkgdir/usr/include/dlang/ldc/ - -# licenses -install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE } Modified: ldc2.conf === --- ldc2.conf 2014-08-15 15:21:28 UTC (rev 117439) +++ ldc2.conf 2014-08-15 15:37:08 UTC (rev 117440) @@ -12,7 +12,7 @@ "-L-L/usr/lib", "-L-L/usr/lib32", "-L--no-warn-search-mismatch", -"-defaultlib=lphobos", -"-debuglib=lphobos-debug" +"-defaultlib=lphobos2,ldruntime", +"-debuglib=lphobos2-debug,ldruntime-debug" ]; }; Modified: ldc2.rebuild.conf === --- ldc2.rebuild.conf 2014-08-15 15:21:28 UTC (rev 117439) +++ ldc2.rebuild.conf 2014-08-15 15:37:08 UTC (rev 117440) @@ -1,2 +1,2 @@ [Environment] -DFLAGS=-I-I/usr/include/dlang/ldc/ldc -I/usr/include/dlang/ldc -L-L/usr/lib -defaultlib=lphobos -debuglib=lphobos-debug +DFLAGS=-I-I/usr/include/dlang/ldc/ldc -I/usr/include/dlang/ldc -L-L/usr/lib -defaultlib=lphobos2 -debuglib=lphobos2-debug
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, June 24, 2014 @ 14:11:38 Author: dicebot Revision: 113508 upgpkg: ldc 1:0.13.0-1 LDC 0.13.0 release Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-06-24 11:51:16 UTC (rev 113507) +++ PKGBUILD2014-06-24 12:11:38 UTC (rev 113508) @@ -3,9 +3,9 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos-devel') groups=('dlang' 'dlang-ldc') -pkgver=0.12.1 +pkgver=0.13.0 epoch=1 -pkgrel=2 +pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, March 2, 2014 @ 23:29:05 Author: dicebot Revision: 106422 upgpkg: ldc 1:0.12.1-2 ldc: reverse stdlib dependency Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2014-03-02 21:50:06 UTC (rev 106421) +++ PKGBUILD2014-03-02 22:29:05 UTC (rev 106422) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.12.1 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -35,7 +35,7 @@ } package_ldc() { -optdepends=("liblphobos-devel: standard library, static one + imports, LDC version") +depends=('liblphobos-devel') backup=("etc/ldc2.conf" "etc/ldc2.rebuild.conf" ) @@ -57,7 +57,6 @@ } package_liblphobos-devel() { -depends=("ldc") provides=("d-runtime" "d-stdlib") options=("staticlibs")
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Monday, December 2, 2013 @ 16:56:55 Author: dicebot Revision: 101887 upgpkg: ldc 1:0.12.1-1 ldc bug-fix minor release 0.12.1 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-12-02 15:07:58 UTC (rev 101886) +++ PKGBUILD2013-12-02 15:56:55 UTC (rev 101887) @@ -3,7 +3,7 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos-devel') groups=('dlang' 'dlang-ldc') -pkgver=0.12.0 +pkgver=0.12.1 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, November 6, 2013 @ 14:03:24 Author: dicebot Revision: 100596 ldc description typo Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-11-06 12:54:48 UTC (rev 100595) +++ PKGBUILD2013-11-06 13:03:24 UTC (rev 100596) @@ -35,7 +35,7 @@ } package_ldc() { -optdepends=("liblphobos-devel: stadard library, static one + imports, LDC version") +optdepends=("liblphobos-devel: standard library, static one + imports, LDC version") backup=("etc/ldc2.conf" "etc/ldc2.rebuild.conf" )
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, October 23, 2013 @ 14:02:15 Author: dicebot Revision: 99047 upgpkg: ldc 1:0.12.0-1 new ldc release Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-10-23 12:00:03 UTC (rev 99046) +++ PKGBUILD2013-10-23 12:02:15 UTC (rev 99047) @@ -3,9 +3,9 @@ # Contributor: Sven-Hendrik Haase pkgname=('ldc' 'liblphobos-devel') groups=('dlang' 'dlang-ldc') -pkgver=0.11.0 +pkgver=0.12.0 epoch=1 -pkgrel=4 +pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -59,6 +59,7 @@ package_liblphobos-devel() { depends=("ldc") provides=("d-runtime" "d-stdlib") + options=("staticlibs") # libraries install -D -m644 $srcdir/ldc/build/lib/libphobos-ldc.a $pkgdir/usr/lib/liblphobos.a
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, October 2, 2013 @ 16:02:52 Author: dicebot Revision: 97979 upgpkg: ldc 1:0.11.0-4 ldc: missing pkgrel version bump Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-10-02 13:36:04 UTC (rev 97978) +++ PKGBUILD2013-10-02 14:02:52 UTC (rev 97979) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.11.0 epoch=1 -pkgrel=3 +pkgrel=4 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Wednesday, October 2, 2013 @ 13:57:02 Author: dicebot Revision: 97971 upgpkg: ldc 1:0.11.0-3 Add common values for D packages Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-10-02 11:26:53 UTC (rev 97970) +++ PKGBUILD2013-10-02 11:57:02 UTC (rev 97971) @@ -12,7 +12,6 @@ license=('BSD') depends=('libconfig') makedepends=('git' 'cmake' 'llvm') -backup=('etc/ldc2.conf') source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" "ldc2.conf" "ldc2.rebuild.conf" @@ -40,6 +39,7 @@ backup=("etc/ldc2.conf" "etc/ldc2.rebuild.conf" ) +provides=("d-compiler") # binaries install -D -m755 $srcdir/ldc/build/bin/ldmd2 $pkgdir/usr/bin/ldmd2 @@ -58,6 +58,7 @@ package_liblphobos-devel() { depends=("ldc") +provides=("d-runtime" "d-stdlib") # libraries install -D -m644 $srcdir/ldc/build/lib/libphobos-ldc.a $pkgdir/usr/lib/liblphobos.a
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, September 7, 2013 @ 03:54:16 Author: dicebot Revision: 96882 upgpkg: ldc 1:0.11.0-3 liblphobos-devel: add missing stdlib parts Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-09-07 01:19:48 UTC (rev 96881) +++ PKGBUILD2013-09-07 01:54:16 UTC (rev 96882) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.11.0 epoch=1 -pkgrel=2 +pkgrel=3 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc"; @@ -67,6 +67,7 @@ mkdir -p $pkgdir/usr/include/dlang/ldc cp -r $srcdir/ldc/build/import/* $pkgdir/usr/include/dlang/ldc/ cp -r $srcdir/ldc/runtime/phobos/std $pkgdir/usr/include/dlang/ldc/ +cp -r $srcdir/ldc/runtime/phobos/etc $pkgdir/usr/include/dlang/ldc/ # licenses install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Sunday, August 25, 2013 @ 20:27:42 Author: dicebot Revision: 96332 upgpkg: ldc 1:0.11.0-2 ldc has been split into compiler package and development library package. Naming/paths match dmd style Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-08-25 18:27:11 UTC (rev 96331) +++ PKGBUILD2013-08-25 18:27:42 UTC (rev 96332) @@ -5,7 +5,7 @@ groups=('dlang' 'dlang-ldc') pkgver=0.11.0 epoch=1 -pkgrel=1 +pkgrel=2 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') url="https://github.com/ldc-developers/ldc";
[arch-commits] Commit in ldc/trunk (PKGBUILD ldc2.conf ldc2.rebuild.conf)
Date: Sunday, August 25, 2013 @ 19:56:29 Author: dicebot Revision: 96329 upgpkg: ldc 1:0.11.0-1 ldc has been split into compiler package and development library package. Naming/paths match dmd style Added: ldc/trunk/ldc2.conf ldc/trunk/ldc2.rebuild.conf Modified: ldc/trunk/PKGBUILD ---+ PKGBUILD | 84 ++-- ldc2.conf | 18 +++ ldc2.rebuild.conf |2 + 3 files changed, 75 insertions(+), 29 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-08-25 17:44:32 UTC (rev 96328) +++ PKGBUILD2013-08-25 17:56:29 UTC (rev 96329) @@ -1,47 +1,73 @@ # $Id$ -# Maintainer: Sven-Hendrik Haase -pkgname=ldc +# Maintainer: Mihails Strasuns +# Contributor: Sven-Hendrik Haase +pkgname=('ldc' 'liblphobos-devel') +groups=('dlang' 'dlang-ldc') pkgver=0.11.0 epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') -url="http://www.dsource.org/projects/ldc"; +url="https://github.com/ldc-developers/ldc"; license=('BSD') -depends=('llvm' 'libconfig') -makedepends=('git' 'cmake') +depends=('libconfig') +makedepends=('git' 'cmake' 'llvm') backup=('etc/ldc2.conf') -source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}") -sha1sums=('SKIP') +source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}" +"ldc2.conf" +"ldc2.rebuild.conf" + ) +sha1sums=('SKIP' + 'e4e2c9656a24a2433cfb00f792abdc247a845b46' + '0e6e5e072ccc006a200a8fc918cb1ebeb2e12b7b' + ) -[[ $CARCH == "x86_64" ]] && _multilib="ON" -[[ $CARCH == "i686" ]] && _multilib="OFF" - build() { - cd "$srcdir"/ldc - git submodule update --init --recursive +cd $srcdir/ldc - mkdir build && cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DINCLUDE_INSTALL_DIR=/usr/include/d/std-ldc \ - -DMULTILIB=$_multilib \ - .. - make +git submodule update --init --recursive + +mkdir build && cd build +cmake \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DINCLUDE_INSTALL_DIR=/usr/include/dlang/ldc \ +.. +make } -package() { - cd "$srcdir"/ldc +package_ldc() { +optdepends=("liblphobos-devel: stadard library, static one + imports, LDC version") +backup=("etc/ldc2.conf" +"etc/ldc2.rebuild.conf" + ) - cd build - make DESTDIR=$pkgdir install - cd .. +# binaries +install -D -m755 $srcdir/ldc/build/bin/ldmd2 $pkgdir/usr/bin/ldmd2 +install -D -m755 $srcdir/ldc/build/bin/ldc2 $pkgdir/usr/bin/ldc2 - mkdir -p $pkgdir/usr/share/bash-completion/ - mv $pkgdir/etc/bash_completion.d $pkgdir/usr/share/bash-completion/completions +# supplementaries +install -D -m644 $srcdir/ldc/bash_completion.d/ldc $pkgdir/usr/share/bash-completion/completions/ldc - install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +# licenses +install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE - # We don't actually want the multilib libs in this package - rm -rf $pkgdir/usr/lib32 +# default configuration files +install -D -m644 $srcdir/ldc2.conf $pkgdir/etc/ldc2.conf +install -D -m644 $srcdir/ldc2.rebuild.conf $pkgdir/etc/ldc2.rebuild.conf } + +package_liblphobos-devel() { +depends=("ldc") + +# libraries +install -D -m644 $srcdir/ldc/build/lib/libphobos-ldc.a $pkgdir/usr/lib/liblphobos.a +install -D -m644 $srcdir/ldc/build/lib/libphobos-ldc-debug.a $pkgdir/usr/lib/liblphobos-debug.a + +# imports +mkdir -p $pkgdir/usr/include/dlang/ldc +cp -r $srcdir/ldc/build/import/* $pkgdir/usr/include/dlang/ldc/ +cp -r $srcdir/ldc/runtime/phobos/std $pkgdir/usr/include/dlang/ldc/ + +# licenses +install -D -m644 $srcdir/ldc/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE +} Added: ldc2.conf === --- ldc2.conf (rev 0) +++ ldc2.conf 2013-08-25 17:56:29 UTC (rev 96329) @@ -0,0 +1,18 @@ +// This configuration file uses libconfig. +// See http://www.hyperrealm.com/libconfig/ for syntax details. + +// The default group is required +default: +{ +// 'switches' holds array of string that are appends to the command line +// arguments before they are parsed. +switches = [ +"-I/usr/include/dlang/ldc/ldc", +"-I/usr/include/dlang/ldc", +"-L-L/usr/lib", +"-L-L/usr/lib32", +"-L--no-warn-search-mismatch", +"-defaultlib=lphobos", +"-debuglib=lphobos-debug" +]; +}; Added: ldc2.rebuild.conf === --- ldc2.rebuild.conf (rev 0) +++ ldc2.rebuild.conf 2013-08-25 17:56:29 UTC (rev 96329) @@ -0,0 +1,2 @@ +[Environment] +DFLAGS=-I-I/usr/include/dlang/ldc/ldc -
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Saturday, June 15, 2013 @ 03:02:15 Author: svenstaro Revision: 92772 upgpkg: ldc 1:0.11.0-1 Updating to 0.11.0 Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-06-15 00:51:49 UTC (rev 92771) +++ PKGBUILD2013-06-15 01:02:15 UTC (rev 92772) @@ -1,7 +1,8 @@ # $Id$ # Maintainer: Sven-Hendrik Haase pkgname=ldc -pkgver=20130604 +pkgver=0.11.0 +epoch=1 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') @@ -10,7 +11,7 @@ depends=('llvm' 'libconfig') makedepends=('git' 'cmake') backup=('etc/ldc2.conf') -source=("git://github.com/ldc-developers/ldc.git") +source=("git://github.com/ldc-developers/ldc.git#tag=v${pkgver}") sha1sums=('SKIP') [[ $CARCH == "x86_64" ]] && _multilib="ON"
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, June 4, 2013 @ 07:21:33 Author: svenstaro Revision: 92337 upgpkg: ldc 20130604-1 Bumping Modified: ldc/trunk/PKGBUILD --+ PKGBUILD | 30 ++ 1 file changed, 6 insertions(+), 24 deletions(-) Modified: PKGBUILD === --- PKGBUILD2013-06-04 05:10:18 UTC (rev 92336) +++ PKGBUILD2013-06-04 05:21:33 UTC (rev 92337) @@ -1,7 +1,7 @@ # $Id$ # Maintainer: Sven-Hendrik Haase pkgname=ldc -pkgver=20130219 +pkgver=20130604 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64') @@ -10,34 +10,16 @@ depends=('llvm' 'libconfig') makedepends=('git' 'cmake') backup=('etc/ldc2.conf') -source=() -md5sums=() +source=("git://github.com/ldc-developers/ldc.git") +sha1sums=('SKIP') -_gitroot=git://github.com/ldc-developers/ldc.git -_gitname=ldc -_gitbranch=master - [[ $CARCH == "x86_64" ]] && _multilib="ON" [[ $CARCH == "i686" ]] && _multilib="OFF" build() { - cd "$srcdir" - msg "Connecting to GIT server" + cd "$srcdir"/ldc + git submodule update --init --recursive - if [[ -d "$_gitname" ]]; then -cd "$_gitname" && git pull origin -msg "The local files are updated." - else -git clone --branch "$_gitbranch" "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - msg "Starting build..." - - rm -rf "$srcdir/$_gitname-build" - git clone --recursive "$srcdir/$_gitname" "$srcdir/$_gitname-build" - cd "$srcdir/$_gitname-build" - mkdir build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -48,7 +30,7 @@ } package() { - cd "$srcdir/$_gitname-build" + cd "$srcdir"/ldc cd build make DESTDIR=$pkgdir install
[arch-commits] Commit in ldc/trunk (PKGBUILD)
Date: Tuesday, February 19, 2013 @ 03:32:13 Author: svenstaro Revision: 84437 upgpkg: ldc 20130219-1 Bumping ldc Modified: ldc/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2013-02-19 02:25:46 UTC (rev 84436) +++ PKGBUILD2013-02-19 02:32:13 UTC (rev 84437) @@ -1,7 +1,7 @@ # $Id$ # Maintainer: Sven-Hendrik Haase pkgname=ldc -pkgver=20121225 +pkgver=20130219 pkgrel=1 pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2" arch=('i686' 'x86_64')