Commit Graph

177 Commits

Author SHA1 Message Date
K900
45ae10c84d Merge remote-tracking branch 'origin/master' into staging-next 2026-07-15 10:52:37 +03:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
Grimmauld
b96ed4d602 treewide: add checkPhaseThreadLimitHook to more things used in parallel checks 2026-07-10 00:47:06 +02:00
Atemu
fef886e90e openblas: disable checks on i686-linux
(cherry picked from commit 89e0f58061)
2026-06-24 14:51:02 +02:00
Liam Murphy
d0551bc010 openblas: 0.3.32 -> 0.3.33
This release fixes build failures for linbox on aarch64
(https://hydra.nixos.org/build/327030681,
https://hydra.nixos.org/build/327030680); see
https://github.com/OpenMathLib/OpenBLAS/issues/5763.

(cherry picked from commit 2ba029a78e)
(cherry picked from commit af26b2500d)
2026-06-22 08:16:16 +02:00
Marcin Serwin
85ac6ca088 maintainers: drop ttuegel
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2026-05-31 20:27:39 +02:00
Vladimír Čunát
30df21068d Merge staging-next into staging
There was a conflict - not complex but it wasn't auto-resolved by git:
	pkgs/development/libraries/science/math/openblas/default.nix
2026-04-14 15:52:29 +02:00
Yureka
3997337eed openblas: fully revert commit causing miscompilations 2026-04-14 15:09:57 +02:00
Vladimír Čunát
88fa9f0fe0 Revert "openblas: avoid rebuilds on non-aarch64 temporarily"
This reverts commit 9a5be924c4.
2026-04-11 12:03:01 +02:00
Vladimír Čunát
9a5be924c4 openblas: avoid rebuilds on non-aarch64 temporarily
The patch only affects "arm64" at a glance, and the rebuilds are high:
> Rebuild: linux 17590, darwin 11238
2026-04-11 08:40:25 +02:00
Yureka
659e5caba3 openblas: backport fix for ARM64 non-SVE DDOT kernel 2026-04-10 12:38:51 +02:00
Weijia Wang
9a1936095b openblas: 0.3.31 -> 0.3.32 2026-04-02 14:27:14 +02:00
Luna Nova
03c069fb70 Revert "openblas: avoid rebuilds except aarch64-darwin for now"
This reverts commit 7e95ebf6d4.

Commit was rebuild avoidance for staging-next cycle
2026-03-13 11:54:03 -07:00
Vladimír Čunát
7e95ebf6d4 openblas: avoid rebuilds except aarch64-darwin for now
This simply brings back the old .nix expression into a different file.
2026-03-13 08:38:59 -07:00
Luna Nova
a3569ecabd openblas: swap to CMake build to resolve duplicate symbols on aarch64 2026-03-13 08:38:59 -07:00
Luna Nova
f0210e2e27 openblas: add flint and R to tests 2026-03-13 08:38:58 -07:00
Luna Nova
02d96bd277 openblas: test pkg-config and cmake module presence 2026-03-13 08:38:58 -07:00
K900
6d5a86ccdd openblas: another patch to fix more single threaded builds
This time it's aarch64 specific.
2026-03-08 21:32:05 +03:00
K900
f7a0cb0e96 openblas: nixfmt 2026-03-08 18:49:37 +03:00
K900
c126dcd170 openblas: fix single threaded build
Patch conditional on single threadedness to avoid mass rebuilds;
moved to finalAttrs to avoid dynamic attrs in rec warnings.
2026-03-08 18:43:42 +03:00
Yureka
654b6d6197 openblas: fix build on aarch64-linux
Fixes https://github.com/NixOS/nixpkgs/issues/497522
2026-03-07 14:05:11 +01:00
Doron Behar
e015f2cc80 openblas: use --replace-fail substitution 2026-01-19 18:53:13 +02:00
Peter Collingbourne
4306b245f9 openblas: 0.3.30 -> 0.3.31
Diff: https://github.com/OpenMathLib/OpenBLAS/compare/v0.3.30...v0.3.31

Should also fix cross compilation
2026-01-19 18:53:13 +02:00
Ihar Hrachyshka
a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
OPNA2608
0cb6bb8d6f openblas: Fetch patch to fix SCAL on POWER4 kernel 2025-10-08 22:15:24 +02:00
Alex James
fec607a9e3 openblas: add patch to disable buggy SME SGEMM kernel
OpenBLAS 0.3.30 added a SGEMM kernel for Arm's Scalable Matrix Extension
(SME). Unfortunately the SME SGEMM kernel produces incorrect results on
Apple M4, which manifests as test failures while building OpenBLAS [1]
and numpy [2]. Add a patch to disable the buggy SME kernel for now.

[1]: hxxps://github.com/OpenMathLib/OpenBLAS/issues/5414
[2]: hxxps://github.com/numpy/numpy/issues/29393
2025-09-10 15:51:02 +01:00
Alex James
f16a133fcd openblas: avoid building tests with doCheck=false 2025-09-10 15:51:02 +01:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Aleksana
3d6b5e2984 openblas: Add config for powerpc64-linux (#422756) 2025-07-15 22:02:08 +08:00
OPNA2608
521f729120 openblas: Add config for powerpc64-linux 2025-07-05 19:54:07 +02:00
R. Ryantm
64e3a5d1d2 openblas: 0.3.29 -> 0.3.30 2025-06-19 14:25:40 +00:00
Weijia Wang
6314b68988 openblas: add x86_64-windows support 2025-06-10 05:59:58 +02:00
Weijia Wang
b1ff9702f9 openblas: fix loongarch64-linux build 2025-04-28 12:35:41 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Audrey Dutcher
f094dbd787 openblas: enable support for x86_64-freebsd 2025-03-05 23:57:54 +01:00
R. Ryantm
3f8f35ae43 openblas: 0.3.28 -> 0.3.29 2025-01-13 01:12:30 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Jörg Thalheim
0066cbe7bf openblas: Enable s390x-linux (#337907) 2024-09-02 16:28:34 +02:00
bl0v3
230fed8ac5 openblas: Enable s390x-linux 2024-08-28 08:52:47 +00:00
Sergei Trofimovich
05f55a6c13 openblas: 0.3.27 -> 0.3.28
Changes: https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.28
2024-08-10 22:08:43 +01:00
Robert Scott
ca4011b853 openblas: disable trivialautovarinit on aarch64 2024-06-16 18:03:24 +01:00
Robert Scott
14069907d9 openblas: add scikit-learn to passthru.tests 2024-04-13 13:20:51 +01:00
R. Ryantm
5032948d03 openblas: 0.3.26 -> 0.3.27 2024-04-13 13:20:41 +01:00
Vladimír Čunát
038df3062e Merge #284960: openblas: update URLs, upstream repo was moved
...into staging
2024-02-03 07:52:27 +01:00
Niklas Hambüchen
292478f780 Merge pull request #264194 from nh2/issue-79818-clang-openmp-fixes
Fix clang OpenMP build of openblas and suitesparse
2024-02-02 18:48:40 +01:00
Niklas Hambüchen
64fe348123 openblas: Fix OpenMP build with clang. See #79818 2024-02-01 20:28:08 +00:00
Nicolas Benes
48dc1dba06 openblas: update URLs, upstream repo was moved 2024-01-30 10:26:25 +01:00