mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/ldc to 1.36.0-3
This commit is contained in:
parent
5387c258fe
commit
76787a11d4
2 changed files with 6 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = ldc
|
pkgbase = ldc
|
||||||
pkgdesc = A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2
|
pkgdesc = A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2
|
||||||
pkgver = 1.36.0
|
pkgver = 1.36.0
|
||||||
pkgrel = 1
|
pkgrel = 3
|
||||||
epoch = 3
|
epoch = 3
|
||||||
url = https://github.com/ldc-developers/ldc
|
url = https://github.com/ldc-developers/ldc
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -11,6 +11,7 @@ pkgbase = ldc
|
||||||
makedepends = git
|
makedepends = git
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
makedepends = llvm
|
makedepends = llvm
|
||||||
|
makedepends = lld
|
||||||
makedepends = ldc
|
makedepends = ldc
|
||||||
makedepends = ninja
|
makedepends = ninja
|
||||||
options = !lto
|
options = !lto
|
||||||
|
|
|
@ -13,14 +13,14 @@ groups=('dlang' 'dlang-ldc')
|
||||||
pkgver=1.36.0
|
pkgver=1.36.0
|
||||||
_pkgcommit=530d41be11e92901f797ebbbc1dc695df4af06e9
|
_pkgcommit=530d41be11e92901f797ebbbc1dc695df4af06e9
|
||||||
_dversion=2.106.1
|
_dversion=2.106.1
|
||||||
_clangversion=16 # related to where ldc2 looks for compiler-rt sanitizers
|
_clangversion=17 # related to where ldc2 looks for compiler-rt sanitizers
|
||||||
epoch=3
|
epoch=3
|
||||||
pkgrel=1
|
pkgrel=3
|
||||||
pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
|
pkgdesc="A D Compiler based on the LLVM Compiler Infrastructure including D runtime and libphobos2"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/ldc-developers/ldc"
|
url="https://github.com/ldc-developers/ldc"
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
makedepends=('git' 'cmake' 'llvm' 'ldc' 'ninja')
|
makedepends=('git' 'cmake' 'llvm' 'lld' 'ldc' 'ninja')
|
||||||
# Disable lto as linking the ldc2 binary fails
|
# Disable lto as linking the ldc2 binary fails
|
||||||
options=(!lto)
|
options=(!lto)
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ prepare() {
|
||||||
git config submodule.phobos.url "$srcdir/ldc-phobos"
|
git config submodule.phobos.url "$srcdir/ldc-phobos"
|
||||||
git -c protocol.file.allow=always submodule update
|
git -c protocol.file.allow=always submodule update
|
||||||
|
|
||||||
# Set version used for path construction in getFullClangCompilerRTLibPath()
|
# Set version used for path construction in getRelativeClangCompilerRTLibPath()
|
||||||
sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp
|
sed -i "s/ldc::llvm_version_base/\"$_clangversion\"/" driver/linker-gcc.cpp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue