mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
local-ai: use defaults from config and stdenv
This commit is contained in:
parent
45acd0adb5
commit
673216d6eb
@ -1,4 +1,5 @@
|
||||
{ stdenv
|
||||
{ config
|
||||
, stdenv
|
||||
, lib
|
||||
, fetchpatch
|
||||
, fetchFromGitHub
|
||||
@ -21,7 +22,7 @@
|
||||
# CPU extensions
|
||||
, enable_avx ? true
|
||||
, enable_avx2 ? true
|
||||
, enable_avx512 ? false
|
||||
, enable_avx512 ? stdenv.hostPlatform.avx512Support
|
||||
, enable_f16c ? true
|
||||
, enable_fma ? true
|
||||
|
||||
@ -31,7 +32,7 @@
|
||||
, with_openblas ? false
|
||||
, openblas
|
||||
|
||||
, with_cublas ? false
|
||||
, with_cublas ? config.cudaSupport
|
||||
, cudaPackages
|
||||
|
||||
, with_clblas ? false
|
||||
|
Loading…
Reference in New Issue
Block a user