Merge pull request #33830 from ThomasMader/disable_test_cdvecfill
ldc: Disable cdvecfill test to fix build on older processors
commit4b75d0ab4a6c9a47b5ea2e543b0c9a2efd52729f
authorJoachim F <joachifm@users.noreply.github.com>
dateSat 13 Jan 2018, 14:16 (9 years ago)
parent1e2b7d35f0c823
pkgs/development/compilers/ldc/default.nix+7
@@ -110,6 +110,13 @@ let
110110 substituteInPlace dmd2/root/port.c --replace __inline_isnanl __inline_isnan
111111 ''
112112
113+ + stdenv.lib.optionalString (!bootstrapVersion) ''
114+ # TODO Can be removed with the next ldc version > 1.7.0
115+ # https://github.com/ldc-developers/ldc/issues/2493
116+ substituteInPlace tests/d2/dmd-testsuite/Makefile \
117+ --replace "# disable tests based on arch" "DISABLED_TESTS += test_cdvecfill"
118+ ''
119+
113120 + stdenv.lib.optionalString (bootstrapVersion) ''
114121 substituteInPlace runtime/${datetimePath} \
115122 --replace "import std.traits;" "import std.traits;import std.path;"