Commit b1613170 authored by Adkins, Cameron's avatar Adkins, Cameron
Browse files

range-v3: skip tests on mingw target platform

parent 45160575
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -13,10 +13,10 @@ stdenv.mkDerivation rec {

  nativeBuildInputs = [ cmake ];

  # Building the tests currently fails on AArch64 due to internal compiler
  # errors (with GCC 9.2):
  # Building the tests currently fails on AArch64 / MingW due to internal compiler
  # errors (with GCC 9.2 - 13):
  cmakeFlags = [ "-DRANGES_ENABLE_WERROR=OFF" ]
    ++ lib.optional stdenv.hostPlatform.isAarch64 "-DRANGE_V3_TESTS=OFF";
    ++ lib.optional (stdenv.isAarch64 || stdenv.targetPlatform.isMinGW) "-DRANGE_V3_TESTS=OFF";

  doCheck = !stdenv.hostPlatform.isAarch64;
  checkTarget = "test";