Merge pull request #6562 from ollama/mxyng/build-artifacts
remove any unneeded build artifacts
This commit is contained in:
commit
c41f0b9e6c
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ apply_patches() {
|
||||||
build() {
|
build() {
|
||||||
cmake -S ${LLAMACPP_DIR} -B ${BUILD_DIR} ${CMAKE_DEFS}
|
cmake -S ${LLAMACPP_DIR} -B ${BUILD_DIR} ${CMAKE_DEFS}
|
||||||
cmake --build ${BUILD_DIR} ${CMAKE_TARGETS} -j8
|
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() {
|
compress() {
|
||||||
|
|
Loading…
Reference in a new issue