git.iko.soy/typeable/nixpkgs
on master help sign in
ldc: Disable cdvecfill test to fix build on older processors

https://github.com/NixOS/nixpkgs/pull/33830

commit5f0c823a61850b42a74372336fefa2afe2649b4f authorThomas Mader <thomas.mader@gmail.com> dateSat 13 Jan 2018, 13:27 (9 years ago) parented250d8
1 file changed+7
pkgs/development/compilers/ldc/default.nix+7
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;"