gpt4all: update

This commit is contained in:
Simon Gardling 2024-10-04 14:40:57 -04:00
parent 94c61311f2
commit 08d288b48e
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -50,7 +50,7 @@ let
in in
{ {
NIX_CFLAGS_COMPILE = "${oldflags} ${newflags}"; NIX_CFLAGS_COMPILE = "${oldflags} ${newflags}";
stdenv = pkgs.clangStdenv; stdenv = pkgs.clang18Stdenv;
} }
); );
@ -70,7 +70,7 @@ let
owner = "nomic-ai"; owner = "nomic-ai";
repo = "gpt4all"; repo = "gpt4all";
rev = "HEAD"; rev = "HEAD";
sha256 = "vzAfWLyljR0Cg6pCeeyQJZNeOJh5xOILlbJnwDWu62o="; sha256 = "7pUgCZJC5goMvpUNBQ3ssmwdWt3TnaQQ7RF98VdYzM8=";
}; };
patches = old.patches ++ [ patches = old.patches ++ [
@ -83,7 +83,6 @@ let
"-Ofast" "-Ofast"
"-march=native" "-march=native"
"-mtune=native" "-mtune=native"
"-fno-protect-parens"
"-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461 "-fno-finite-math-only" # https://github.com/ggerganov/llama.cpp/pull/7154#issuecomment-2143844461
] ]
); );