3
0
Fork 0
forked from mirrors/nixpkgs

ldc: Disable cdvecfill test to fix build on older processors

https://github.com/NixOS/nixpkgs/pull/33830
This commit is contained in:
Thomas Mader 2018-01-13 13:27:35 +01:00
parent ed250d8093
commit 5f0c823a61

View file

@ -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;"