Commit Graph

96 Commits

Author SHA1 Message Date
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
Vladimír Čunát
1549705430
hdf5: fix a typo in the previous x86_64-darwin commit 2024-07-04 10:54:13 +02:00
Vladimír Čunát
1a386e193d
hdf5: fixup x86_64-darwin build, hopefully
https://hydra.nixos.org/build/264567971/nixlog/4/tail
2024-07-04 09:36:08 +02:00
Markus Kowalewski
22f7cc0aeb
Merge pull request #309595 from markuskowa/upd-hdf5
hdf5: 1.14.3 -> 1.14.4.3
2024-06-20 09:58:04 +00:00
Markus Kowalewski
c4e0154f80 hdf5-fortran: move F90 mod files to dev output; remove refs to gfortran 2024-06-03 10:28:27 +02:00
Markus Kowalewski
38c661b1aa hdf5: 1.14.4.2 -> 1.14.4.3 2024-05-23 23:09:59 +02:00
Markus Kowalewski
20eab24a92 hdf5: 1.14.3 -> 1.14.4.2
Switch downloads to GitHub
2024-05-23 23:09:59 +02:00
Martin Weinelt
937f490e74
hdf5: remove -shared suffix only from existing files 2024-03-17 20:58:23 +01:00
Ivan Mincik
72c0a74096
Merge pull request #277224 from r-burns/hdf5-closure-size
hdf5: refactor to reduce downstream closure size
2024-03-05 07:32:22 +00:00
Ryan Burns
9046690c73 hdf5: refactor to reduce downstream closure size
* Only build static libs by default when stdenv.hostPlatform.isStatic
* Add separate -bin output
* Move h5hlcc/c++ dev binaries to -dev output
* Default to building with C++ support to cut down
  on duplicated hdf5/hdf5-cpp in downstream closures
2024-03-01 17:14:34 -08:00
Markus Kowalewski
2f44799d84 hdf5: remove unneded path to mpi compiler 2024-02-01 11:08:56 +01:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
Nick Cao
1707bcc94e
Merge pull request #268889 from jiegec/hdf5
hdf5_1_10: 1.10.9 -> 1.10.11
2023-11-21 08:57:25 -05:00
Jiajie Chen
0f4845f397 hdf5_1_10: 1.10.9 -> 1.10.11
According to
https://www.hdfgroup.org/2023/09/release-of-hdf5-1-10-11-library-and-tools-newsletter-198/,
HDF5 v1.10.11 fixes the CVEs. Closes #268883.
2023-11-21 15:20:55 +08:00
R. Ryantm
11595eb346 hdf5: 1.14.2 -> 1.14.3 2023-10-31 14:54:05 +00:00
Weijia Wang
7570b91f68 hdf5: fix runtime error on darwin 2023-10-23 15:12:42 +02:00
Phillip Seeber
cbd4d659e3 hdf5: switch to cmake build 2023-09-15 13:21:33 +02:00
Markus Kowalewski
bae6f6346f
hdf5: 1.14.1-2 -> 1.14.2 2023-08-21 22:22:57 +02:00
figsoda
f1ec434848 pkgs/tools/misc: remove dead code
with the help of deadnix & nil
2023-07-13 17:37:07 +03:00
markuskowa
436b66aa39
Merge pull request #232215 from markuskowa/upd-hdf5
hdf5: 1.14.0 -> 1.14.1-2
2023-06-17 22:43:55 +02:00
Martin Weinelt
04b8795d8e hdf5_1_10: mark vulnerable
Closes: #128374
2023-06-04 09:52:34 +02:00
Markus Kowalewski
d11f03622f
hdf5: 1.14.0 -> 1.14.1-2 2023-05-16 13:12:36 +02:00
Markus Kowalewski
1030709e0f
hdf5: add maintainer markuskowa 2023-04-17 10:51:39 +02:00
Markus Kowalewski
4fbc3190f5
hdf: enable parallel builds 2023-04-17 10:51:39 +02:00
Markus Kowalewski
b89323329c
hdf5: fix dev output, remove refs to /build from compiler wrappers 2023-04-17 10:51:39 +02:00
Vladimír Čunát
0eb467c342
Merge #217601: python310Packages.h5py: 3.7.0 -> 3.8.0
...into staging-next
2023-02-22 09:05:53 +01:00
Robert Schütz
4bd8b542eb hdf5: add h5py to passthru.tests 2023-02-21 16:23:29 -08:00
R. Ryantm
bd33397607 hdf5: 1.12.2 -> 1.14.0 2023-01-19 23:03:46 +00:00
Robert Scott
84403d9477
Merge pull request #180083 from jiegec/hdf5
hdf5: 1.12.1 -> 1.12.2
2022-07-11 01:40:07 +01:00
Jiajie Chen
8a84ef7972 hdf5: 1.12.1 -> 1.12.2
The bin-mv.patch is applied upstream.
2022-07-10 19:29:16 +08:00
Jiajie Chen
b3aee32add hdf5_1_10: 1.10.6 -> 1.10.9
pythonPackages.tables is updated, the version pin is removed.

The bin-mv.patch is applied upstream.
2022-07-04 14:54:43 +08:00
Felix Buehler
8250f0f4ea hdf5-mpi,hdf5-cpp,hdf5-fortran,hdf5-threadsafe: remove appendToName to
have a consistent package name for repology
2022-02-15 14:14:39 +01:00
Sergei Trofimovich
0f0faddb8d hdf5: fix non-determinism by removing timestamps from .data
$ diffoscope '...-hdf5-1.12.1' '...-hdf5-1.12.1.check'
    --- ...-hdf5-1.12.1/lib/libhdf5.settings
    +++ ...-hdf5-1.12.1.check/lib/libhdf5.settings
     -1,17 +1,17 @@
                      HDF5 Version: 1.12.1
    -                Configured on: Thu Oct 28 17:42:30 UTC 2021
    +                Configured on: Sat Nov  6 19:02:02 UTC 2021
                     Configured by: nixbld@
                       Host system: x86_64-unknown-linux-gnu
    -            Uname information: Linux localhost 5.10.76 #1-NixOS SMP Wed Oct 27 07:56:57 UTC 2021 x86_64 GNU/Linux
    +            Uname information: Linux localhost 5.14.15 #1-NixOS SMP Wed Oct 27 07:59:56 UTC 2021 x86_64 GNU/Linux

The patch removes `Configured on`, `Configured by` and `Uname information` fields.
2021-11-06 19:28:55 +00:00
Doron Behar
72a4341129 hdf5: consistently use *Support arguments 2021-10-05 00:19:56 +08:00
Markus Kowalewski
550ffc4513
misc: move gfortran to nativeBuildInputs 2021-09-03 13:33:34 +02:00
R. RyanTM
a22fd3f4bb hdf5-cpp: 1.12.0 -> 1.12.1 2021-07-24 15:19:28 +02:00
Sandro
ef9a1d4c57
Merge pull request #119258 from drewrisinger/dr-pr-fix-python-tables 2021-05-25 03:38:59 +02:00
Stefan Frijters
36cce52a78 hdf5_1_10: Add java support 2021-05-07 10:48:26 -07:00
Drew Risinger
19acc797c7 hdf5_1_10: rollback 1.10.7 -> 1.10.6
This package only exists for compatibility with
``python3Packages.tables``, as far as I can tell based on usage in
nixpkgs.

``tables`` tests fail on hdf5 > v1.10.5, so we are reverting this to
the last "good" version of hdf5 that works with ``tables``.
``hdf5_1_10`` should hopefully be unpinned on the next release of
``python3Packages.tables``.
https://github.com/PyTables/PyTables/issues/845
2021-04-28 10:43:04 -04:00
Thomas Gerbet
b9fcaefeb3 hdf5_1_10: init at 1.10.7
Introduce hdf5_1_10 so it can be used by packages encountering issues
hdf5 1.12.0.
2021-04-08 08:35:45 +02:00
Thomas Gerbet
7187949817 hdf5: make possible to use the v1.10 API 2021-04-04 13:27:51 +02:00
Thomas Gerbet
6696362562 hdf5: 1.10.7 -> 1.12.0
Fixes CVE-2020-10809, CVE-2020-10810, CVE-2020-10811 and CVE-2020-10812.
Changes: https://github.com/HDFGroup/hdf5/blob/hdf5-1_12_0/release_docs/RELEASE.txt
2021-03-25 13:03:33 +01:00
Astro
a419187458 hdf4, hdf5: add javaSupport flag 2021-02-17 22:34:49 +01:00
Astro
d1ca6bd23e hdf5: 1.10.6 -> 1.10.7 2021-02-17 22:34:49 +01:00
Markus Kowalewski
6dba41fbcb
mpi: use mpi attribute consistently as the default MPI implementations
Use the attribute mpi to provide a system wide default MPI
implementation. The default is openmpi (as before).
This now allows for overriding the MPI implentation by using
the overlay mechanism. Build all packages with mpich instead
of the default openmpi can now be achived like this:
self: super:
 {
   mpi = super.mpich;
 }

All derivations that have been using "mpi ? null" to provide optional
building with MPI have been change in the following way to allow for
optional builds with MPI:
{ ...
, mpi
, useMpi ? false
}
2021-01-23 12:15:13 +01:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
John Ericson
f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
Ben Darwin
95439a7e7d hdf5_1_8: remove
- no longer needed as `libminc` has been updated to use the default hdf5
2020-10-06 15:31:20 -04:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
tviti
2cfad8fa28
Revert "hdf5-fortran: Mark broken on Darwin" (#80419)
This reverts commit 8836c4d71b.

Closes #79952
2020-02-18 14:52:22 -05:00