xsimd: fix cross compilation, enable strictDeps
This commit is contained in:
parent
667f4bf852
commit
a6894fba42
@ -28,10 +28,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
./disable-test_error_gamma.patch
|
||||
];
|
||||
|
||||
# strictDeps raises the chance that xsimd will be able to be cross compiled
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
doctest
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
# Always build the tests, even if not running them, because testing whether
|
||||
# they can be built is a test in itself.
|
||||
@ -39,9 +46,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
doctest
|
||||
];
|
||||
checkTarget = "xtest";
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user