local-ai: use defaults from config and stdenv

This commit is contained in:
Christian Kögler 2024-04-07 15:36:57 +02:00
parent 45acd0adb5
commit 673216d6eb
1 changed files with 4 additions and 3 deletions

View File

@ -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