Merge pull request #321288 from superherointj/xsimd-fix-cross-compilation
xsimd: fix cross compilation
This commit is contained in:
@@ -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,12 +46,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
doctest
|
||||
];
|
||||
checkTarget = "xtest";
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/xtensor-stack/xsimd/blob/${finalAttrs.version}/Changelog.rst#${
|
||||
builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version
|
||||
}";
|
||||
description = "C++ wrappers for SIMD intrinsics";
|
||||
homepage = "https://github.com/xtensor-stack/xsimd";
|
||||
license = licenses.bsd3;
|
||||
@@ -24896,8 +24896,6 @@ with pkgs;
|
||||
|
||||
xlslib = callPackage ../development/libraries/xlslib { };
|
||||
|
||||
xsimd = callPackage ../development/libraries/xsimd { };
|
||||
|
||||
xtensor = callPackage ../development/libraries/xtensor { };
|
||||
|
||||
xtl = callPackage ../development/libraries/xtl { };
|
||||
|
||||
Reference in New Issue
Block a user