Commit Graph

21 Commits

Author SHA1 Message Date
Tom Westerhout
12eb3a5731 arrayfire: avoid FetchContent downloading stuff 2023-11-26 11:02:41 +01:00
Tom Westerhout
dbe957d773 arrayfire: remove darwin from the list of supported platforms 2023-11-25 14:50:38 +01:00
Tom Westerhout
91a24f08c7 arrayfire: explain why 64-bit BLAS is not supported; explain how to use nvidiaComputDrivers 2023-11-25 14:50:38 +01:00
Tom Westerhout
f32e19928e arrayfire: try compiling with 64-bit openblas 2023-11-25 14:50:38 +01:00
Tom Westerhout
8fc2536265 arrayfire: 3.9.0-pre -> 3.9.0 2023-11-25 14:50:37 +01:00
Tom Westerhout
fab8a8fe38 arrayfire: rename input some inputs; add comments
- Rename withCPU, withOpenCL, withCUDA to cpuSupport, openclSupport,
  cudaSupport, since cudaSupport is already used in Nixpkgs.
- Replace clblast with one from Nixpkgs.
- Get rid of the assets attribute.
- Add some explanatory note.
2023-11-25 14:50:37 +01:00
Tom Westerhout
1519be1234 arrayfire: use cudaPackages.cuda_cccl instead of manually cloning cub 2023-11-25 14:50:37 +01:00
Tom Westerhout
a9379d0b03 arrayfire: 3.7.3 -> 3.9.0-pre 2023-11-25 14:50:37 +01: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
bf9e6fe9b8
tree-wide: rm cudaSupport ? false formal parameters
'cudaSupport ? false' -> 'cudaSupport ? config.cudaSupport or false' to respect global defaults

Packages expressions that take `cudaSupport ? false` are likely to
ignore `config.cudaSupport`. Instead, we want them to make `cudaSupport`
a required argument, or to explicitly refer to `config`
2023-07-20 17:27:07 +03:00
figsoda
f7c59ea08c arrayfire: fix build on darwin 2023-05-19 11:41:51 -04:00
Harrison Houghton
0610ac7ab0 arrayfire: 3.6.4 -> 3.7.3
Seems the code is now on GitHub, so fetch it from there.
2022-01-15 13:38:44 -05:00
Frederik Rietdijk
afd5d23779 arrayfire: use python3 2021-03-25 10:24:48 +01:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Matthew Bauer
98fb0ede70 arrayfire: remove mkl
This is unfree.
2020-04-17 16:24:30 -05: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
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
chessai
61dda301bf arrayfire: update
- Depend on `clfft`, `clblas`, and `opencl-clhpp` from nixpkgs (do not
fetch their sources)
- Add `buildDocs` flag. When set to true, arrayfire's docs will be
built using `doxygen`.
- Ensure that `cudatoolkit` is not evaluated on darwin.
- Move `python` from `buildInputs` to `nativeBuildInputs`.
- Meta: Shrink `description` and add `longDescription`.
- Meta: `homepage` formatting now adheres to nixpkgs manual.
- Meta: remove version
- A few minour syntactic-only changes.
2019-11-06 17:34:50 -05:00
chessai
ed3ccf4d2f arrayfire: add package 2019-10-19 22:29:48 -04:00