From d9087aab1b2192edd7e6fc20dfed124fb1e87d50 Mon Sep 17 00:00:00 2001 From: happysalada Date: Sat, 4 Sep 2021 09:35:25 +0900 Subject: [PATCH] aws-sdk-cpp: disabale parallel checking data races suspected in aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp and aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp --- pkgs/development/libraries/aws-sdk-cpp/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix index 2af3ec29367b..69cb1cc22ae9 100644 --- a/pkgs/development/libraries/aws-sdk-cpp/default.nix +++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix @@ -64,10 +64,10 @@ stdenv.mkDerivation rec { # fix build with gcc9, can be removed after bumping to current version NIX_CFLAGS_COMPILE = [ "-Wno-error" ]; - preConfigure = '' - rm aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp - rm aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp - ''; + # aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp + # aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp + # seem to have a datarace + enableParallelChecking = false; postFixupHooks = [ # This bodge is necessary so that the file that the generated -config.cmake file