diff options
author | Doron Behar <doron.behar@gmail.com> | 2024-05-19 00:05:16 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2024-05-21 08:29:26 +0300 |
commit | 3558ec4b9d2eeee0f396d91e638e957f0bf36904 (patch) | |
tree | 2854fa05707464b25f85360cb2da697e7887fc05 /pkgs/development/libraries/xsimd/default.nix | |
parent | f98356812553eb23b62295ea82b5dbc6553d93b2 (diff) |
xsimd: always build the tests
Diffstat (limited to 'pkgs/development/libraries/xsimd/default.nix')
-rw-r--r-- | pkgs/development/libraries/xsimd/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/xsimd/default.nix b/pkgs/development/libraries/xsimd/default.nix index 78be55a804a7f..db761aae70941 100644 --- a/pkgs/development/libraries/xsimd/default.nix +++ b/pkgs/development/libraries/xsimd/default.nix @@ -30,7 +30,9 @@ stdenv.mkDerivation (finalAttrs: { ]; cmakeFlags = [ - "-DBUILD_TESTS=${if (finalAttrs.finalPackage.doCheck && stdenv.hostPlatform == stdenv.buildPlatform) then "ON" else "OFF"}" + # Always build the tests, even if not running them, because testing whether + # they can be built is a test in itself. + "-DBUILD_TESTS=ON" ]; doCheck = true; |