Commit Graph

11 Commits

Author SHA1 Message Date
qbisi
161892e932 petsc: use mpiCheckPhaseHook to bypass check in sandbox 2024-10-21 07:20:52 +08: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
Alexander Kiselyov
1bd56ac6fb petsc: moved mpiSupport flag to passthru 2024-08-24 12:10:31 +00:00
Alexander Kiselyov
dc622dce81 petsc: removed default unfree dependencies 2024-08-24 12:10:31 +00:00
Randy Eckenrode
f9b7f4ec09
tree-wide: use top-level cctools 2024-07-17 22:36:19 -04:00
Weijia Wang
ed05c2b412
Merge pull request #325138 from r-ryantm/auto-update/petsc
petsc: 3.21.0 -> 3.21.3
2024-07-15 16:47:31 +02:00
R. Ryantm
7fa522446b petsc: 3.21.0 -> 3.21.3 2024-07-06 23:18:57 +00:00
Max Hausch
c6451fafd8
petsc: Filter out more errors during tests 2024-07-03 10:45:11 +02:00
Max Hausch
4b0f3c2db5
petsc: 3.19.4 -> 3.21.0
This also allows building PETSc with hdf5 support.
2024-06-29 23:10:01 +02:00
Max Hausch
d4499d288a
petsc: reformat with nixfmt-rfc-style 2024-06-26 16:48:56 +02:00
Max Hausch
0b98597ace
petsc: migrate to by-name 2024-06-26 12:46:32 +02:00