From 86d286cb9ef5d1d26b5c35add35be80269c03a5c Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Sun, 30 Jul 2023 16:18:21 +0300 Subject: xsimd: 9.0.1 -> 11.1.0 Diff: https://github.com/xtensor-stack/xsimd/compare/9.0.1...11.1.0 --- pkgs/development/libraries/xsimd/default.nix | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) (limited to 'pkgs/development/libraries/xsimd') diff --git a/pkgs/development/libraries/xsimd/default.nix b/pkgs/development/libraries/xsimd/default.nix index cfaf2182686..b1365a28f62 100644 --- a/pkgs/development/libraries/xsimd/default.nix +++ b/pkgs/development/libraries/xsimd/default.nix @@ -1,12 +1,12 @@ -{ lib, stdenv, fetchFromGitHub, cmake, gtest }: +{ lib, stdenv, fetchFromGitHub, cmake, doctest }: stdenv.mkDerivation rec { pname = "xsimd"; - version = "9.0.1"; + version = "11.1.0"; src = fetchFromGitHub { owner = "xtensor-stack"; repo = "xsimd"; rev = version; - sha256 = "sha256-onALN6agtrHWigtFlCeefD9CiRZI4Y690XTzy2UDnrk="; + sha256 = "sha256-l6IRzndjb95hIcFCCm8zmlNHWtKduqy2t/oml/9Xp+w="; }; nativeBuildInputs = [ cmake ]; @@ -16,22 +16,8 @@ stdenv.mkDerivation rec { ]; doCheck = true; - nativeCheckInputs = [ gtest ]; + nativeCheckInputs = [ doctest ]; checkTarget = "xtest"; - GTEST_FILTER = - let - # Upstream Issue: https://github.com/xtensor-stack/xsimd/issues/456 - filteredTests = lib.optionals stdenv.hostPlatform.isDarwin [ - "error_gamma_test/*" - ]; - in - "-${builtins.concatStringsSep ":" filteredTests}"; - - # https://github.com/xtensor-stack/xsimd/issues/748 - postPatch = '' - substituteInPlace xsimd.pc.in \ - --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ - ''; meta = with lib; { description = "C++ wrappers for SIMD intrinsics"; -- cgit 1.4.1