summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/llama-cpp-python
diff options
context:
space:
mode:
authorkirillrdy <kirillrdy@gmail.com>2025-02-24 11:58:39 +1100
committerGitHub <noreply@github.com>2025-02-24 11:58:39 +1100
commit79c09b739d5ef2d4f72b49472a23062a72c95381 (patch)
tree793e83bd267e09377df6fa5ecfedc24393e7270d /pkgs/development/python-modules/llama-cpp-python
parentbb02ea967e177867d0852e2508fa8b2ba9ccb2fb (diff)
parentfaf75b65ae18408c249be32019f800de5a90c7c3 (diff)
python312Packages.llama-cpp-python: enable parallel building (#384598)
Diffstat (limited to 'pkgs/development/python-modules/llama-cpp-python')
-rw-r--r--pkgs/development/python-modules/llama-cpp-python/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/llama-cpp-python/default.nix b/pkgs/development/python-modules/llama-cpp-python/default.nix
index 90e2d9f7d0cb..12ee8778bebb 100644
--- a/pkgs/development/python-modules/llama-cpp-python/default.nix
+++ b/pkgs/development/python-modules/llama-cpp-python/default.nix
@@ -80,9 +80,7 @@ buildPythonPackage rec {
]
);
- preBuild = ''
- export CMAKE_BUILD_PARALLEL_LEVEL="$NIX_BUILD_CORES"
- '';
+ enableParallelBuilding = true;
nativeBuildInputs = [
cmake