Commit graph

1452 commits

Author SHA1 Message Date
Mauricio Collares 2701d140df treewide: fetch sage patches from github instead of now-defunct trac 2023-09-02 08:46:11 -07:00
Connor Baker d5e5246e76 cudaPackages: split outputs
This change which involves creating multiple outputs for CUDA
redistributable packages.

We use a script to find out, ahead of time, the outputs each redist
package provides. From that, we are able to create multiple outputs for
supported redist packages, allowing users to specify exactly which
components they require.

Beyond the script which finds outputs ahead of time, there is some custom
code involved in making this happen. For example, the way Nixpkgs
typically handles multiple outputs involves making `dev` the default
output when available, and adding `out` to `dev`'s
`propagatedBuildInputs`.

Instead, we make each output independent of the others. If a user wants
only to include the headers found in a redist package, they can do so by
choosing the `dev` output. If they want to include dynamic libraries,
they can do so by specifying the `lib` output, or `static` for static
libraries.

To avoid breakages, we continue to provide the `out` output, which
becomes the union of all other outputs, effectively making the split
outputs opt-in.
2023-08-31 03:31:55 +00:00
Connor Baker 9f0d35dabd
Merge pull request #251872 from ConnorBaker/feat/magma-2_7_2
magma: 2.7.1 -> 2.7.2
2023-08-28 15:38:03 -04:00
Connor Baker 31ab8e1df0
Merge pull request #251856 from ConnorBaker/feat/nccl-update-script
cudaPackages.nccl: 2.18.3-1 -> 2.18.5-1; add updateScript
2023-08-28 15:37:26 -04:00
Connor Baker d9faf957f4 magma: 2.7.1 -> 2.7.2 2023-08-28 00:59:28 +00:00
Connor Baker 5a5d095526 cudaPackages.nccl: 2.18.3-1 -> 2.18.5-1; add updateScript 2023-08-27 23:04:47 +00:00
K900 da9271825d
Merge pull request #250882 from lopsided98/or-tools-protobuf
or-tools: use protobuf 3.21
2023-08-27 09:04:52 +03:00
markuskowa 212d454c2a
Merge pull request #246867 from markuskowa/add-mpi-hook
add mpiCheckPhaseHook
2023-08-26 11:54:56 +02:00
Connor Baker 109f7e09c0 nccl: 2.16.5-1 -> 2.18.3-1 2023-08-23 03:10:48 +00:00
Ben Wolsieffer c58bcce320 or-tools: use protobuf 3.21
OR-Tools 9.4 is not compatible with Protobuf 3.23. 9.7 is the latest
version, but it requires quite a bit of work to package, so we should just
pin Protobuf 3.21 for now to get things building again.
2023-08-22 21:20:51 -04:00
Markus Kowalewski ac48985e0d dbcsr: use mpiCheckPhaseHook 2023-08-22 23:27:47 +02:00
Markus Kowalewski 4e1e4b6f3e p4est-sc: use mpiCheckPhaseHook 2023-08-22 23:27:47 +02:00
Markus Kowalewski ab963a1597 scalapack: use mpiCheckPhaseHook 2023-08-22 23:27:47 +02:00
Connor Baker 82086023d6 nccl: use packages from cudaPackages
The previous usage of `cudaPackages` ensured that we only ever saw packages from
the default version of `cudaPackages` Nixpkgs uses.
2023-08-22 19:00:05 +00:00
R. Ryantm 81dfcaff3c dftd4: 3.5.0 -> 3.6.0 2023-08-22 07:46:59 +00:00
Connor Baker 23144ffa59
Merge pull request #240015 from jmillerpdt/init-nccl-tests
nccl-tests: init at 2.13.6
2023-08-21 10:33:19 -04:00
OTABI Tomoya ccf844e0a9
Merge pull request #249508 from r-ryantm/auto-update/htslib
htslib: 1.17 -> 1.18
2023-08-21 17:25:30 +09:00
Jason Miller c19e4174fb apply pr comments 2023-08-16 20:23:20 +00:00
Nicolas Benes bf6c1577a9 libxisf: 0.2.8 -> 0.2.9 2023-08-16 14:24:57 +02:00
R. Ryantm 852288c32f htslib: 1.17 -> 1.18 2023-08-16 10:10:40 +00:00
github-actions[bot] dd48ee46cf
Merge master into staging-next 2023-08-07 12:00:52 +00:00
R. Ryantm 918a0a5d87 indilib: 2.0.2 -> 2.0.3 2023-08-07 02:46:44 +00:00
github-actions[bot] e985f375f2
Merge master into staging-next 2023-08-02 12:01:27 +00:00
R. Ryantm e5719ffb0d simple-dftd3: 0.7.0 -> 1.0.0 2023-08-02 01:21:37 +00:00
Doron Behar cc63e791bf Merge branch 'master' into staging-next
* master: (77 commits)
  containerd: 1.7.2 -> 1.7.3
  python310Packages.transformers: 4.30.2 -> 4.31.0
  plasma-sdk: unbreak build, again
  stellarium: add patch for indi 2.0 compatibility
  indi-full: 1.9.8 -> 2.0.2, reenable Atik, Pentax and SX drivers
  indilib: 1.9.8 -> 2.0.2
  plasma: 5.27.6 -> 5.27.7
  alsa-scarlett-gui: light refactoring
  alsa-scarlett-gui: Change icons path back to relative in desktop entry file
  alsa-scarlet-gui: light refactoring Done some light refactoring for better consitence in the code.
  alsa-scarlett-gui: fix for deskop integration
  alsa-scarlett-gui: fixed desktop entry
  release-notes: note breaking woodpecker update
  woodpecker-*: 0.15.11 -> 1.0.0
  pnpm-lock-export: use fork with v6 support
  suricata: 6.0.13 -> 7.0.0
  rubyfmt: add support for macos arm64/x86
  rubyfmt: init at 0.8.1
  dayon: init at 11.0.7
  nixos/atuin: harden systemd unit
  ...
2023-08-01 16:52:24 +03:00
sheepforce 63b07e8d66 indi-full: 1.9.8 -> 2.0.2, reenable Atik, Pentax and SX drivers 2023-08-01 11:12:10 +00:00
sheepforce fc6eaa7b36 indilib: 1.9.8 -> 2.0.2 2023-08-01 11:12:10 +00:00
Martin Weinelt 167f6dfee4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/libraries/science/astronomy/cfitsio/default.nix
2023-07-30 03:54:27 +02:00
Pol Dellaiera 9a6290bf9b
cfitsio: fix Darwin builds 2023-07-29 08:13:34 +02:00
R. Ryantm f8f83ebe64 cfitsio: 4.2.0 -> 4.3.0 2023-07-28 13:03:44 +00:00
github-actions[bot] dc058faf6b
Merge staging-next into staging 2023-07-27 00:02:38 +00:00
Samuel Ainsworth 3cfc4cff26
Merge pull request #243729 from ogoid/fixup-missing-cudnn
cudaPackages.cudnn: fixes libcublas not found error #236070
2023-07-26 11:42:05 -07:00
Jan Tojnar ce6bf3bb54 cfitsio: clean up
- format the expression
- change spacing and split some attributes into multiple lines for cleaner diffs and blames
- move `patches` atributes to a more conventional place
2023-07-26 20:54:47 +03:00
Connor Baker 5825210d3f
Merge pull request #233581 from SomeoneSerge/CUDAToolkit_ROOT
cudaPackages.setupCudaHook: init
2023-07-25 14:24:12 -04:00
ogoid 9325a80a11
fix libcudnn also on cuda12
Co-authored-by: Samuel Ainsworth <skainsworth@gmail.com>
2023-07-24 23:35:54 +00:00
Someone Serge 471dbe9bcf
treewide: consume config.cudaSupport as required
Eliminate uses of `config.cudaSupport or false` and alike, since the
option is now declared in config.nix with a default value

fd .nix -t f -x sed 's/config\.cudaSupport or false, cudaPackages [?] [{][}]/config.cudaSupport, cudaPackages ? { }/' '{}' -i
fd .nix -t f -x sed 's/config\.cudaSupport or false/config.cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = pkgs.config.cudaSupport/inherit (pkgs.config) cudaSupport/' '{}' -i
fd .nix -t f -x sed 's/cudaSupport = config.cudaSupport/inherit (config) cudaSupport/' '{}' -i
2023-07-20 18:08:19 +03:00
Someone Serge 74549ec63b
tree-wide: 'enableCuda ? false' -> 'config.cudaSupport or false' to respect global defaults 2023-07-20 17:27:07 +03:00
Someone Serge 4fafb3b90b
tree-wide: incorporate common out-of-tree cudaSupport overlays 2023-07-20 17:26:45 +03:00
ogoid e1c91b2301
improve cudnn fix
Co-authored-by: Samuel Ainsworth <skainsworth@gmail.com>
2023-07-20 00:57:10 +00:00
Someone Serge 4df8614c04
magma: symlinkJoin -> CUDAToolkit_ROOT 2023-07-20 02:17:56 +03:00
ogoid c519ceaa21
patch all cudnn libraries to require libcublas
more libcudnn_*.so libraries may require libcublas.so
2023-07-19 19:22:49 +00:00
Sandro e2c84aafc0
Merge pull request #240333 from mschwaig/tflite-bazel 2023-07-18 14:24:20 +02:00
Martin Schwaighofer a9bef3d296
tensorflow-lite: 2.5.0 -> 2.13.0, switch build to bazel 2023-07-18 13:34:02 +02:00
ogoid 504676a454
cudaPackages.cudnn: fix missing libcublas paths
adds missing paths to libculas, fixes #236070
2023-07-15 21:21:21 +00:00
R. Ryantm c84d0c72e3 dbcsr: 2.5.0 -> 2.6.0 2023-07-14 13:08:56 +00:00
Weijia Wang a4fce07383
Merge pull request #242784 from r-ryantm/auto-update/wcslib
wcslib: 7.12 -> 8.1
2023-07-11 22:20:03 +03:00
R. Ryantm 0528a46ed6 clblast: 1.6.0 -> 1.6.1 2023-07-11 14:17:10 +00:00
Luis-Hebendanz b2bbed2f79 ns-3: v35 -> v39 2023-07-11 11:49:56 +02:00
R. Ryantm 6be818a24c wcslib: 7.12 -> 8.1 2023-07-11 07:49:33 +00:00
Gabriel Gouvine de3cc6244a coloquinte: init at version 0.3.1 2023-07-10 17:21:01 +02:00