python312Packages.llama-cpp-python: add passthru.test to build with CUDA

support
This commit is contained in:
Kirill Radzikhovskyy
2024-11-03 08:05:38 +11:00
parent 17c58cde16
commit cc1ac71df5
@@ -10,6 +10,7 @@
pytestCheckHook,
pythonOlder,
scikit-build-core,
llama-cpp-python,
config,
cudaSupport ? config.cudaSupport,
@@ -86,6 +87,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "llama_cpp" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
passthru.tests.llama-cpp-python = llama-cpp-python.override { cudaSupport = true; };
meta = {
description = "Python bindings for llama.cpp";