Re-add dropped Darwin-only flag.
Whoops! I didn't notice this at first because I'm not on Darwin. Can somebody test this, please?
This commit is contained in:
parent
14a4fc874b
commit
fe14e7c522
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
|||
buildInputs = with pkgs; lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Accelerate
|
||||
];
|
||||
makeFlags = with pkgs; lib.optionals (system == "aarch64-darwin") [
|
||||
"CFLAGS=-D__ARM_FEATURE_DOTPROD=1"
|
||||
];
|
||||
buildPhase = ''
|
||||
make main quantize quantize-stats perplexity embedding vdot libllama.so
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue