diff options
author | superherointj <5861043+superherointj@users.noreply.github.com> | 2024-06-20 13:46:43 -0300 |
---|---|---|
committer | superherointj <5861043+superherointj@users.noreply.github.com> | 2024-06-20 19:50:57 -0300 |
commit | 2488605670f0ca83fdbe340d4adb3c9a740fb630 (patch) | |
tree | 47f914b35cb76817781458ccc6e166340af70942 /pkgs/development/libraries/xsimd/default.nix | |
parent | a6894fba4218663ab455cbaec645cd3a4d718a93 (diff) |
xsimd: move package to by-name
Diffstat (limited to 'pkgs/development/libraries/xsimd/default.nix')
-rw-r--r-- | pkgs/development/libraries/xsimd/default.nix | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/pkgs/development/libraries/xsimd/default.nix b/pkgs/development/libraries/xsimd/default.nix deleted file mode 100644 index 4e4583af69171..0000000000000 --- a/pkgs/development/libraries/xsimd/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, cmake -, doctest -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "xsimd"; - version = "13.0.0"; - src = fetchFromGitHub { - owner = "xtensor-stack"; - repo = "xsimd"; - rev = finalAttrs.version; - hash = "sha256-qElJYW5QDj3s59L3NgZj5zkhnUMzIP2mBa1sPks3/CE="; - }; - 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.isDarwin [ - # https://github.com/xtensor-stack/xsimd/issues/1030 - ./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. - "-DBUILD_TESTS=ON" - ]; - - doCheck = true; - 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 doronbehar ]; - platforms = platforms.all; - }; -}) |