mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 03:39:59 +00:00
xtensor: always build tests
This commit is contained in:
@@ -32,7 +32,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck )
|
||||
# Always build the tests, even if not running them, because testing whether
|
||||
# they can be built is a test in itself.
|
||||
(lib.cmakeBool "BUILD_TESTS" true)
|
||||
(lib.cmakeBool "XTENSOR_ENABLE_ASSERT" enableAssertions)
|
||||
(lib.cmakeBool "XTENSOR_CHECK_DIMENSION" enableBoundChecks)
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user