Merge pull request #321288 from superherointj/xsimd-fix-cross-compilation

xsimd: fix cross compilation
This commit is contained in:
Doron Behar
2024-06-21 08:28:43 +03:00
committed by GitHub
3 changed files with 10 additions and 5 deletions
@@ -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;
-2
View File
@@ -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 { };