* gnu/packages/dlang.scm (d-tools)[#:phases]: Build test executables for the
target bit size.
Change-Id: I49ea559c857757abb217ff896ebd6994ea4a90c0
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/patches/ldc-i686-int128-alignment.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/dlang.scm (ldc-bootstrap)[patches]: Use it.
Change-Id: I21671c2a54634c284d8832f0627fe28494e1b0b8
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit was made by running this command:
sed -e's/modify-inputs (package-\([a-z-]*\)inputs [a-zA-Z0-9-]\+)/modify-inputs \1inputs/g' -i gnu/packages/*.scm
… and then reverting individual hunks where the change would trigger unbound
variable warnings or other issues (such as ‘native-inputs’ is bound in the
body of the ‘inputs’ field, but it refers to the ‘native-inputs’ thunk defined
just above).
Change-Id: I6d94819f2809313fa1fbefc61897502ee7d66fab
* gnu/packages/dlang.scm (dmd-bootstrap)[#:phases]: In 'patch-tests skip a
test on 32bit systems that tries to execute 64bit executable.
Change-Id: If87b95b63ac145865e7a8dcf2a219d6bd055981f
Signed-off-by: Andreas Enge <andreas@enge.fr>
gnu/packages/dlang.scm (d-demangler) [synopsis, description]: Remove mention
of a non-existent command. Refer to the package as a library. Note that this
only wraps D's ‘std.demangle’.
Change-Id: I8fe98d4bb031f8f50468a4c1a5b907d3ff24de0c
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/dlang.scm (dmd-bootstrap)
[#:make-flags]: Remove unneeded “DFLAGS=-L--allow-multiple-definition”.
[#:modules]: Move here from dmd. Add (srfi srfi-26).
[#:phases]: Add ‘patch-git-ls-tree’, ‘patch-paths-in-phobos‘.
Remove ‘copy-phobos-source-and-chdir’ in favor of custom ‘unpack’.
Remove ‘adjust-phobos-install-dirs’, ‘install-druntime’, ‘install-includes’,
‘install-dmd’, ‘refine-install-layout’, ‘patch-dmd.conf’ in favor of custom
‘install’.
<unpack>: Replace with a copy of the gnu phase, but unpack the 2 sources to
“source/dmd” and “source/phobos”.
<build>: Replace. Run gnu ‘build’ in dmd subdir.
<build-phobos>: New phase. Run gnu ‘build’ in phobos subdir.
<check>: Replace. Run gnu ‘check’ in dmd subdir.
<check-phobos>: New phase. Run gnu ‘check’ in phobos subdir.
<install>: Replace with custom install script, that gets everything right the
first time. Shared libraries get installed to “lib/lib“, static libraries to
“out/lib”. Include files are installed to “out/include/d/dmd” to avoid
conflicts with other compilers.
<install-license-files>: Replace. Run gnu ‘install-license-files’ in the dmd
subdir.
[inputs]: Add bash-minimal (for std.process).
* gnu/packages/dlang.scm (dmd)
[#:modules]: Move to dmd-bootstrap.
[#:make-flags]: Don't delete “DFLAGS=-L--allow-multiple-definition” as it no
longer exists.
[#:phases]<rewrite-references-to-bootstrap>: Rebase the ‘add-after’ on the
‘install’ phase. Simplify discovery of the executable.
[native-inputs]: Substitute replacing gdmd with dmd-bootstrap for remove and
append.
[outputs]: Add “lib” (for “.so” files) and “debug”.
Change-Id: If0d5e1a2e4a45a26252b886aaa0ac91d9814e4fe
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu/packages/dlang.scm (gdmd): Move from here ...
* gnu/packages/gcc.scm: ... to here.
Change-Id: I43fa2f66f812edc6c74442c7d911fe902265f5e0
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This reverts commit a7db92d9b3, this time with
the more careful command, to avoid a world rebuild:
grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \
--exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
The change was automated via:
git grep -l maxim.cournoyer@gmail.com |
xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g'
* .mailmap: New entry.
Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
* gnu/packages/dlang.scm (ldc)[arguments]: Add a configure-flag to link
the executables with -latomic. Adjust the 'disable-problematic-tests
phase to disable 2 tests which fail on riscv64-linux and delete some
tests which fail on riscv64-linux. Adjust the custom 'check phase to
skip several tests when building on riscv64-linux.
Change-Id: I38a87b053c1399fa7762b4843555d6e2afc20427
* gnu/packages/dlang.scm (ldc)[arguments]: Don't delete tests which
don't fail on aarch64-linux. Adjust custom 'check phase to skip some
tests known to fail on aarch64-linux.
Change-Id: I84ea2f356a44e12952dbb852e41921895605176a
* gnu/packages/dlang.scm (ldc-bootstrap)[arguments]: Adjust custom
'build phase to check parallel-build? and not parallel-tests?.
Change-Id: I84b5f5153fea89d80564f5a55c8df57ff201ee69
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.38.0.
(ldc)[arguments]: Adjust 'patch-paths-in-tests phase for changes in the
test suite. Adjust 'disable-problematic-tests phase to change the
skipped tests.
Change-Id: I5315ed5d3fc7d08a97aa0b5677692fbf221bf0c1
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.35.0.
[arguments]: Adjust configure-flags to not build shared libraries.
(ldc)[arguments]: Adjust configure-flags to remove defaults. Adjust
'patch-paths-in-tests phase for another hardcoded /bin/bash. Delete
another test.
Change-Id: Ie284a97ecda2689e6ed84a902eff990cfae8c195
* gnu/packages/dlang.scm (ldc)[arguments]: In the custom phase
'fix-compiler-rt-library-discovery rewrite gnu-triplet->clang-arch to
pass-through unmatched architectures.
The previous version 2.100 was failing in `check` due to changes to the Phobos stdlib
* gnu/packages/dlang.scm (d-tools): Update to 2.105.3.
Change-Id: Id9e4580d555c735fb0eebe880928ef2f558f959e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/dlang.scm (ldc-bootstrap)[native-inputs]: Use lld-14 for
lld-wrapper in place of lld-11. Replace llvm-11 with llvm-14.
(ldc)[native-inputs]: Replace clang-11 with clang-14.
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 1.30.0.
[native-inputs]: Remove ld-gold-wrapper, Add lld-wrapper with lld-11.
(ldc)[arguments]: Adjust 'fix-compiler-rt-library-discovery phase to
change the order of linked libraries. Adjust 'disable-problematic-tests
phase to work around more GDB tests. Adjust custom 'check phase for race
condition in one of the tests.
* gnu/packages/dlang.scm (ldc)[arguments]: Adjust configure-flags to not
dynamically compile. Adjust custom 'fix-compiler-rt-library-discovery
phase to add a case for aarch64. Adjust custom'disable-problematic-tests
phase to remove some tests for aarch64-linux.
* gnu/packages/dlang.scm (ldc-bootstrap-1.27)[native-inputs]: Replace
ldc-bootstrap-1.24 with gdmd.
[supported-systems]: Mark all systems supported.
Co-authored-by: Efraim Flashner <efraim@flashner.co.il>