mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +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,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
|
||||||
cmake,
|
cmake,
|
||||||
doctest,
|
doctest,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "xsimd";
|
pname = "xsimd";
|
||||||
version = "13.0.0";
|
version = "13.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xtensor-stack";
|
owner = "xtensor-stack";
|
||||||
repo = "xsimd";
|
repo = "xsimd";
|
||||||
rev = finalAttrs.version;
|
tag = finalAttrs.version;
|
||||||
hash = "sha256-qElJYW5QDj3s59L3NgZj5zkhnUMzIP2mBa1sPks3/CE=";
|
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
|
patches = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
./relax-asin-precision.diff
|
# 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 raises the chance that xsimd will be able to be cross compiled
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
@ -54,17 +45,17 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkTarget = "xtest";
|
checkTarget = "xtest";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
changelog = "https://github.com/xtensor-stack/xsimd/blob/${finalAttrs.version}/Changelog.rst#${
|
changelog = "https://github.com/xtensor-stack/xsimd/blob/${finalAttrs.version}/Changelog.rst#${
|
||||||
builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version
|
builtins.replaceStrings [ "." ] [ "" ] finalAttrs.version
|
||||||
}";
|
}";
|
||||||
description = "C++ wrappers for SIMD intrinsics";
|
description = "C++ wrappers for SIMD intrinsics";
|
||||||
homepage = "https://github.com/xtensor-stack/xsimd";
|
homepage = "https://github.com/xtensor-stack/xsimd";
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
tobim
|
tobim
|
||||||
doronbehar
|
doronbehar
|
||||||
];
|
];
|
||||||
platforms = platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue