This commit is contained in:
2024-09-19 13:01:52 -04:00
parent 6786cc9092
commit ca6c83ebc3
4 changed files with 20 additions and 15 deletions

View File

@@ -30,6 +30,7 @@
in
{
NIX_CFLAGS_COMPILE = "${oldflags} ${newflags}";
stdenv = pkgs.clangStdenv;
}
);
in
@@ -135,6 +136,7 @@
"-Ofast"
"-march=native"
"-mtune=native"
"-fno-protect-parens"
"-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461
]
)