From 5f0c823a61850b42a74372336fefa2afe2649b4f Mon Sep 17 00:00:00 2001 From: Thomas Mader Date: Sat, 13 Jan 2018 13:27:35 +0100 Subject: [PATCH] ldc: Disable cdvecfill test to fix build on older processors https://github.com/NixOS/nixpkgs/pull/33830 --- pkgs/development/compilers/ldc/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/compilers/ldc/default.nix b/pkgs/development/compilers/ldc/default.nix index 5fc8c7837a4a..bdb74680b134 100644 --- a/pkgs/development/compilers/ldc/default.nix +++ b/pkgs/development/compilers/ldc/default.nix @@ -110,6 +110,13 @@ let substituteInPlace dmd2/root/port.c --replace __inline_isnanl __inline_isnan '' + + stdenv.lib.optionalString (!bootstrapVersion) '' + # TODO Can be removed with the next ldc version > 1.7.0 + # https://github.com/ldc-developers/ldc/issues/2493 + substituteInPlace tests/d2/dmd-testsuite/Makefile \ + --replace "# disable tests based on arch" "DISABLED_TESTS += test_cdvecfill" + '' + + stdenv.lib.optionalString (bootstrapVersion) '' substituteInPlace runtime/${datetimePath} \ --replace "import std.traits;" "import std.traits;import std.path;"