2022-11-29T02:18:48 lapack-reference 3.10.1 -> 3.11.0 https://github.com/Reference-LAPACK/lapack/releases 2022-11-29T02:18:50 attrpath: lapack-reference 2022-11-29T02:18:50 Checking auto update branch... 2022-11-29T02:18:50 No auto update branch exists 2022-11-29T02:18:51 Old version 3.10.1" not present in staging derivation file with contents: { lib , stdenv , fetchFromGitHub , gfortran , cmake , shared ? true # Compile with ILP64 interface , blas64 ? false }: stdenv.mkDerivation rec { pname = "liblapack"; version = "3.11"; src = fetchFromGitHub { owner = "Reference-LAPACK"; repo = "lapack"; rev = "v${version}"; sha256 = "sha256-AYD78u70y8cY19hmM/aDjQEzxO8u9lPWhCFxRe5cqXI="; }; nativeBuildInputs = [ gfortran cmake ]; # Configure stage fails on aarch64-darwin otherwise, due to either clang 11 or gfortran 10. hardeningDisable = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ "stackprotector" ]; cmakeFlags = [ "-DCMAKE_Fortran_FLAGS=-fPIC" "-DLAPACKE=ON" "-DCBLAS=ON" "-DBUILD_TESTING=ON" ] ++ lib.optional shared "-DBUILD_SHARED_LIBS=ON" ++ lib.optional blas64 "-DBUILD_INDEX64=ON"; passthru = { inherit blas64; }; postInstall = let canonicalExtension = if stdenv.hostPlatform.isLinux then "${stdenv.hostPlatform.extensions.sharedLibrary}.${lib.versions.major version}" else stdenv.hostPlatform.extensions.sharedLibrary; in lib.optionalString blas64 '' ln -s $out/lib/liblapack64${canonicalExtension} $out/lib/liblapack${canonicalExtension} ln -s $out/lib/liblapacke64${canonicalExtension} $out/lib/liblapacke${canonicalExtension} ''; doCheck = true; # Some CBLAS related tests fail on Darwin: # 14 - CBLAS-xscblat2 (Failed) # 15 - CBLAS-xscblat3 (Failed) # 17 - CBLAS-xdcblat2 (Failed) # 18 - CBLAS-xdcblat3 (Failed) # 20 - CBLAS-xccblat2 (Failed) # 21 - CBLAS-xccblat3 (Failed) # 23 - CBLAS-xzcblat2 (Failed) # 24 - CBLAS-xzcblat3 (Failed) # # Upstream issue to track: # * https://github.com/Reference-LAPACK/lapack/issues/440 ctestArgs = lib.optionalString stdenv.isDarwin "-E '^(CBLAS-(x[sdcz]cblat[23]))$'"; checkPhase = '' runHook preCheck ctest ${ctestArgs} runHook postCheck ''; meta = with lib; { description = "Linear Algebra PACKage"; homepage = "http://www.netlib.org/lapack/"; maintainers = with maintainers; [ markuskowa ]; license = licenses.bsd3; platforms = platforms.all; }; } 2022-11-29T05:04:39 liblapack 3.10.1 -> 3.11.0 https://github.com/Reference-LAPACK/lapack/releases 2022-11-29T05:04:41 attrpath: lapack-reference 2022-11-29T05:04:42 Checking auto update branch... 2022-11-29T05:04:42 No auto update branch exists 2022-11-29T05:04:42 Old version 3.10.1" not present in staging derivation file with contents: { lib , stdenv , fetchFromGitHub , gfortran , cmake , shared ? true # Compile with ILP64 interface , blas64 ? false }: stdenv.mkDerivation rec { pname = "liblapack"; version = "3.11"; src = fetchFromGitHub { owner = "Reference-LAPACK"; repo = "lapack"; rev = "v${version}"; sha256 = "sha256-AYD78u70y8cY19hmM/aDjQEzxO8u9lPWhCFxRe5cqXI="; }; nativeBuildInputs = [ gfortran cmake ]; # Configure stage fails on aarch64-darwin otherwise, due to either clang 11 or gfortran 10. hardeningDisable = lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ "stackprotector" ]; cmakeFlags = [ "-DCMAKE_Fortran_FLAGS=-fPIC" "-DLAPACKE=ON" "-DCBLAS=ON" "-DBUILD_TESTING=ON" ] ++ lib.optional shared "-DBUILD_SHARED_LIBS=ON" ++ lib.optional blas64 "-DBUILD_INDEX64=ON"; passthru = { inherit blas64; }; postInstall = let canonicalExtension = if stdenv.hostPlatform.isLinux then "${stdenv.hostPlatform.extensions.sharedLibrary}.${lib.versions.major version}" else stdenv.hostPlatform.extensions.sharedLibrary; in lib.optionalString blas64 '' ln -s $out/lib/liblapack64${canonicalExtension} $out/lib/liblapack${canonicalExtension} ln -s $out/lib/liblapacke64${canonicalExtension} $out/lib/liblapacke${canonicalExtension} ''; doCheck = true; # Some CBLAS related tests fail on Darwin: # 14 - CBLAS-xscblat2 (Failed) # 15 - CBLAS-xscblat3 (Failed) # 17 - CBLAS-xdcblat2 (Failed) # 18 - CBLAS-xdcblat3 (Failed) # 20 - CBLAS-xccblat2 (Failed) # 21 - CBLAS-xccblat3 (Failed) # 23 - CBLAS-xzcblat2 (Failed) # 24 - CBLAS-xzcblat3 (Failed) # # Upstream issue to track: # * https://github.com/Reference-LAPACK/lapack/issues/440 ctestArgs = lib.optionalString stdenv.isDarwin "-E '^(CBLAS-(x[sdcz]cblat[23]))$'"; checkPhase = '' runHook preCheck ctest ${ctestArgs} runHook postCheck ''; meta = with lib; { description = "Linear Algebra PACKage"; homepage = "http://www.netlib.org/lapack/"; maintainers = with maintainers; [ markuskowa ]; license = licenses.bsd3; platforms = platforms.all; }; }