* 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>
This also fixes Dub's build, which was previously failing because of how
ancient it was.
* gnu/packages/dlang.scm (dub): Update to 1.23.0.
[arguments]: Set target CC & LD environment variables.
Invoke build.d. Don't explicitly return #t from phases.
[native-inputs]: Add d-tools and ld-gold-wrapper.
Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
* gnu/packages/dlang.scm (ldc-bootstrap-0.17)[supported-systems]: Add
aarch64-linux.
[arguments]: When building targeting aarch64-linux build for armhf-linux.
* gnu/packages/dlang.scm (ldc-bootstrap): Rename to...
(ldc-bootstrap-0.17): ... this. Fix indentation. Disable tests.
[phases]: Remove test related patching.
{patch-phobos}: Rename to ...
{patch-paths}: ... this.
[inputs]: Remove llvm-6, which is propagated by clang-6.
(ldc-bootstrap-1.12): New variable, based on the previous ldc.
[source]: Use the official release tarball.
[build-type]: Set the build type to Release.
[configure-flags]: Pass the -GNinja configure flag.
[phases]{patch-paths}: Override to adjust for changed paths.
{build, install}: Override to use ninja.
[native-inputs]: Add ld-gold-wrapper. Update llvm to version 11 and use
ldc-bootstrap-0.17 as the bootstrapping D compiler. Add ninja. Remove the
phobos-src, druntime-src and dmd-testsuite-src source inputs, now included in
the official release.
(ldc-bootstrap-1.24): Other intermediate variant for bootstrapping purposes.
(ldc): Update to 1.27.1.
[make-flags]: New argument.
[configure-flags]: Adjust.
[phases]{fix-compiler-rt-library-discovery}: New phase.
{patch-paths-in-tests}: Likewise.
{disable-problematic-tests}: Likewise. Compared to before, many GDB tests are
reinstated.
{set-cc-and-cxx-to-use-clang}: New phase.
{tests}: Override.
[inputs]: Update clang to version 11. Bootstrap from a stage 1 version of
itself.
* gnu/packages/patches/ldc-bootstrap-disable-tests.patch: Delete file.
* gnu/packages/patches/ldc-disable-phobos-tests.patch: Likewise.
* gnu/local.mk: De-register them.
* gnu/packages/dlang.scm (ldc-bootstrap): Update to 0.17.6.
[arguments]: Remove 'patch-dmd2 phase. Enable one test from
'patch-phobos.
[native-inputs]: Replace llvm-3.8, clang-3.8 with llvm-6, clang-6.