Explorar o código

remove any unneeded build artifacts

Michael Yang hai 8 meses
pai
achega
11018196e0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      llm/generate/gen_common.sh

+ 2 - 0
llm/generate/gen_common.sh

@@ -87,6 +87,8 @@ apply_patches() {
 build() {
     cmake -S ${LLAMACPP_DIR} -B ${BUILD_DIR} ${CMAKE_DEFS}
     cmake --build ${BUILD_DIR} ${CMAKE_TARGETS} -j8
+    # remove unnecessary build artifacts
+    rm -f ${BUILD_DIR}/bin/ggml-common.h ${BUILD_DIR}/bin/ggml-metal.metal
 }
 
 compress() {