We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aa588c commit e1ef3aaCopy full SHA for e1ef3aa
pkgs/by-name/ll/llama-cpp/package.nix
@@ -131,7 +131,10 @@ effectiveStdenv.mkDerivation (finalAttrs: {
131
# Should likely use `rocmPackages.clr.gpuTargets`.
132
"-DAMDGPU_TARGETS=gfx803;gfx900;gfx906:xnack-;gfx908:xnack-;gfx90a:xnack+;gfx90a:xnack-;gfx940;gfx941;gfx942;gfx1010;gfx1012;gfx1030;gfx1100;gfx1101;gfx1102"
133
]
134
- ++ optionals metalSupport [ (cmakeFeature "CMAKE_C_FLAGS" "-D__ARM_FEATURE_DOTPROD=1") ];
+ ++ optionals metalSupport [
135
+ (cmakeFeature "CMAKE_C_FLAGS" "-D__ARM_FEATURE_DOTPROD=1")
136
+ (cmakeBool "LLAMA_METAL_EMBED_LIBRARY" true)
137
+ ];
138
139
# upstream plans on adding targets at the cmakelevel, remove those
140
# additional steps after that
0 commit comments