summaryrefslogtreecommitdiff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorJonas Meeuws <jonas.meeuws@gmail.com>2026-08-02 21:47:32 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-08-22 16:49:15 +0200
commit6f6e3abf8d105660c2958a670da41d59e138271d (patch)
tree6e1f4fd87bd3a9757d05e45741c58ed6b3324b29 /gnu/local.mk
parent2658c53e40ef5a0178b2b66b430a9eb6f98fc95e (diff)
gnu: ldc: Improve packaging.
* gnu/packages/dlang.scm (ldc-bootstrap)[source] <patches>: Add “ldc-phobos-support-TZDIR.patch”. [#:configure-flags]: Add “-DCMAKE_INSTALL_RPATH” and “-DINCLUDE_INSTALL_DIR”. [#:build-type]: Change to “Debug”. [#:phases]: Add target-bin-sh, target-bin-clang, target-clang-runtime, target-lib-curl, native-bin-clang and native-bin-clang++ helpers. <patch-default-cc, patch-importc-float128, patch-paths-in-phobos> <patch-getInstalledTZNames-infinite-symlink, create-lib-output>: New phases. <patch-compiler-rt-library-discover>: Adjust accordingly. <disable-problematic-tests>: Rename to… <patch-tests>: … this. Enable more tests. <set-cc-and-cxx-to-use-clang>: Rename to… <set-cc>: … this. Use native-bin-clang and native-bin-clang++. <check>: Define run-tests helper and use it. [inputs]: Add ‘clang-runtime-18’, ‘libconfig’, ‘llvm-18’, ‘clang’ and ‘curl’. [native-inputs]: Remove ‘make-lld-wrapper’ and ‘unzip’. Replace ‘clang-17’ with ‘clang’. Add ’lld-as-ld-wrapper’, ‘ld-gold-wrapper’ and ‘gdb’. [description]: Replace with a modern description. Add a frontend version note. [license]: Update comment with druntime and phobos licensing info. [properties]<max-silent-time>: Only apply this ARMv7-specific timeout to arm32. (ldc)[#:make-flags]: Remove. [#:disallowed-references]: Add ‘gdmd’ and ‘tzdata-for-tests’. [#:configure-flags]: Remove deletion of “-DBUILD_SHARED_LIBS=OFF”. Remove “-DBUILD_SHARED_LIBS=ON” (is the default). Add deletion of “-DD_COMPILER_FLAGS=-fPIC” TODO needed?. [#:build-type]: Set to “RelWithDebInfo”. [native-inputs]: Run ‘modify-inputs’ on ‘package-native-inputs’ of ‘base’ instead. * gnu/packages/patches/ldc-phobos-support-TZDIR.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 836a8d60200..10ab386e580 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1783,7 +1783,8 @@ dist_patch_DATA = \
1783 %D%/packages/patches/kwin-unwrap-executable-name-for-dot-desktop-search.patch\ 1783 %D%/packages/patches/kwin-unwrap-executable-name-for-dot-desktop-search.patch\
1784 %D%/packages/patches/laby-make-install.patch \ 1784 %D%/packages/patches/laby-make-install.patch \
1785 %D%/packages/patches/laby-use-tmpdir-from-runtime.patch \ 1785 %D%/packages/patches/laby-use-tmpdir-from-runtime.patch \
1786 %D%/packages/patches/ldc-i686-int128-alignment.patch \ 1786 %D%/packages/patches/ldc-i686-int128-alignment.patch \
1787 %D%/packages/patches/ldc-phobos-support-TZDIR.patch \
1787 %D%/packages/patches/ldns-drill-examples.patch \ 1788 %D%/packages/patches/ldns-drill-examples.patch \
1788 %D%/packages/patches/leela-zero-gtest.patch \ 1789 %D%/packages/patches/leela-zero-gtest.patch \
1789 %D%/packages/patches/less-hurd-path-max.patch \ 1790 %D%/packages/patches/less-hurd-path-max.patch \