Commit Graph

21 Commits

Author SHA1 Message Date
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
superherointj
fb83696690 cntk: mark broken 2022-09-23 10:01:29 -03:00
Frederik Rietdijk
1d63f89caa cudaPackages: overhaul of how we package cuda packages
There are many different versions of the `cudatoolkit` and related
cuda packages, and it can be tricky to ensure they remain compatible.

- `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist");
- expressions should now use `cudaPackages` as parameter instead of the individual cuda packages;
- `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version;
- `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
2022-04-09 08:50:22 +02:00
Felix Buehler
f8684d34e9 cntk: switch to fetchFromGitHub 2022-03-16 23:23:09 +01:00
Ryan Burns
813c400edc cntk: fix build with protobuf 3.18+ 2021-09-23 02:16:17 -07:00
Austin Butler
66201e2c1d cntk: fix build 2021-05-16 20:03:06 -07: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
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Matthew Bauer
1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Nikolay Amiantov
de171ba0c6 cntk: partially unbreak
* Use GCC 7 to unbreak the build;
* Mark CUDA build as broken due to cub incompatibility.
2019-10-05 16:18:20 +03:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Nikolay Amiantov
1260b05279 cntk: 2.4 -> 2.7
Restrict platforms to x86_64-linux.
2019-06-02 19:40:49 +03:00
Jan Malakhovski
4bc66b1994 cntk: move defaults to package file 2019-02-03 15:32:16 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Nikolay Amiantov
7f1b8d744f cntk: fix build without CUDA 2018-02-25 22:50:20 +03:00
Nikolay Amiantov
1bfca90bf7 cntk: 2.2 -> 2.4
Comment for `broken` indicates that it never worked at all, which is strange
since on my machine it did. Anyway it works now for me.
2018-02-25 22:24:09 +03:00
Nikolay Amiantov
08f8ad26b3 treewide: unquote homepage in my packages
I don't like this personally but we have #27809 as a precedent.
2018-02-25 22:24:08 +03:00
Orivej Desh
e87a82b010 cntk: mark as broken
It never succeeded to build.  @abbradar did not respond at
94dc37d622
2017-12-31 08:14:14 +00:00
Tuomas Tynkkynen
a4833730c4 cntk: Disable parallel building
https://hydra.nixos.org/build/62781346
2017-10-22 18:19:03 +03:00
Nikolay Amiantov
94dc37d622 cntk: init at 2.2 2017-10-19 13:24:24 +03:00