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>
This commit is contained in:
Michael Weiss 2020-01-25 00:33:31 +01:00
parent ae09f2a671
commit cb6e9970ed
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -13,7 +13,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ]; 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"; checkTarget = "test";
enableParallelBuilding = true; enableParallelBuilding = true;