mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
xsimd: 13.0.0 -> 13.2.0 (#414349)
This commit is contained in:
commit
1d5b5e77d1
1 changed files with 15 additions and 24 deletions
|
@ -2,37 +2,28 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
doctest,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xsimd";
|
||||
version = "13.0.0";
|
||||
version = "13.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xtensor-stack";
|
||||
repo = "xsimd";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-qElJYW5QDj3s59L3NgZj5zkhnUMzIP2mBa1sPks3/CE=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-L4ttJxP46uNwQAEUMoJ8rsc51Le2GeIGbT1kX7ZzcPA=";
|
||||
};
|
||||
patches =
|
||||
[
|
||||
# Fix of https://github.com/xtensor-stack/xsimd/pull/1024 for
|
||||
# https://github.com/xtensor-stack/xsimd/issues/456 and
|
||||
# https://github.com/xtensor-stack/xsimd/issues/807,
|
||||
(fetchpatch {
|
||||
url = "https://github.com/xtensor-stack/xsimd/commit/c8a87ed6e04b6782f48f94713adfb0cad6c11ddf.patch";
|
||||
hash = "sha256-2/FvBGdqTPcayD7rdHPSzL+F8IYKAfMW0WBJ0cW9EZ0=";
|
||||
})
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# https://github.com/xtensor-stack/xsimd/issues/1030
|
||||
./disable-test_error_gamma.patch
|
||||
|
||||
# https://github.com/xtensor-stack/xsimd/issues/1063
|
||||
./relax-asin-precision.diff
|
||||
];
|
||||
patches = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# https://github.com/xtensor-stack/xsimd/issues/1030
|
||||
./disable-test_error_gamma.patch
|
||||
|
||||
# https://github.com/xtensor-stack/xsimd/issues/1063
|
||||
./relax-asin-precision.diff
|
||||
];
|
||||
|
||||
# strictDeps raises the chance that xsimd will be able to be cross compiled
|
||||
strictDeps = true;
|
||||
|
@ -54,17 +45,17 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
doCheck = true;
|
||||
checkTarget = "xtest";
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
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;
|
||||
maintainers = with maintainers; [
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
tobim
|
||||
doronbehar
|
||||
];
|
||||
platforms = platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue