about summary refs log tree commit diff
path: root/pkgs/development/libraries/range-v3
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-01-25 00:33:31 +0100
committerMichael Weiss <dev.primeos@gmail.com>2020-01-25 11:59:55 +0100
commitcb6e9970edc676b560c927bd665c3f401f20ed0e (patch)
tree3a252b9c155c2ef8ee912527193877aa0ef51f9b /pkgs/development/libraries/range-v3
parentae09f2a6718591ba2fc34657b1853c8475009c28 (diff)
range-v3: Fix the AArch64 build by disabling the tests
Another reference for working AArch64 builds:
https://git.alpinelinux.org/aports/tree/community/range-v3/APKBUILD

Co-Authored-By: Ilya Fedin <fedin-ilja2010@ya.ru>
Diffstat (limited to 'pkgs/development/libraries/range-v3')
-rw-r--r--pkgs/development/libraries/range-v3/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/range-v3/default.nix b/pkgs/development/libraries/range-v3/default.nix
index 56c5754831ef9..ca2c7d9b70fb1 100644
--- a/pkgs/development/libraries/range-v3/default.nix
+++ b/pkgs/development/libraries/range-v3/default.nix
@@ -13,7 +13,11 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
 
-  doCheck = true;
+  # Building the tests currently fails on AArch64 due to internal compiler
+  # errors (with GCC 9.2):
+  cmakeFlags = stdenv.lib.optional stdenv.isAarch64 "-DRANGE_V3_TESTS=OFF";
+
+  doCheck = !stdenv.isAarch64;
   checkTarget = "test";
 
   enableParallelBuilding = true;