aws-sdk-cpp: disable tests on cross
This commit is contained in:
parent
5a802afb75
commit
ee4f04dcd7
@ -33,6 +33,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
lib.optional (!customMemoryManagement) "-DCUSTOM_MEMORY_MANAGEMENT=0"
|
||||||
|
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "-DENABLE_TESTING=OFF"
|
||||||
++ lib.optional (apis != ["*"])
|
++ lib.optional (apis != ["*"])
|
||||||
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
"-DBUILD_ONLY=${lib.concatStringsSep ";" apis}";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user