xsimd10: remove
Was needed only for xtensor, which now supports (current) latest xsimd 11.
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, doctest
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xsimd";
|
||||
version = "10.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xtensor-stack";
|
||||
repo = "xsimd";
|
||||
rev = finalAttrs.version;
|
||||
sha256 = "sha256-+ewKbce+rjNWQ0nQzm6O4xSwgzizSPpDPidkQYuoSTU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
patches = lib.optionals stdenv.isDarwin [
|
||||
# https://github.com/xtensor-stack/xsimd/issues/807
|
||||
./disable-test_error_gamma-test.patch
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
# https://github.com/xtensor-stack/xsimd/issues/798
|
||||
./disable-polar-test.patch
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTS=${if (finalAttrs.doCheck && stdenv.hostPlatform == stdenv.buildPlatform) then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
doctest
|
||||
];
|
||||
checkTarget = "xtest";
|
||||
|
||||
meta = with lib; {
|
||||
description = "C++ wrappers for SIMD intrinsics";
|
||||
homepage = "https://github.com/xtensor-stack/xsimd";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ tobim ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
||||
@@ -25669,8 +25669,6 @@ with pkgs;
|
||||
|
||||
xsimd = callPackage ../development/libraries/xsimd { };
|
||||
|
||||
xsimd10 = callPackage ../development/libraries/xsimd/10.nix { };
|
||||
|
||||
xtensor = callPackage ../development/libraries/xtensor { };
|
||||
|
||||
xtl = callPackage ../development/libraries/xtl { };
|
||||
|
||||
Reference in New Issue
Block a user