From f3ce9a64670ef896f614ab844a23cdfbfad594c1 Mon Sep 17 00:00:00 2001 From: Jhen Date: Fri, 13 Oct 2023 18:00:03 +0800 Subject: [PATCH] chore(scripts): replace GGMLMetalClass with prefix --- scripts/bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 36e0a88..ff9eed5 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -35,9 +35,11 @@ for file in "${files[@]}"; do if [ "$OS" = "Darwin" ]; then sed -i '' 's/GGML_/WSP_GGML_/g' $file sed -i '' 's/ggml_/wsp_ggml_/g' $file + sed -i '' 's/GGMLMetalClass/WSPGGMLMetalClass/g' $file else sed -i 's/GGML_/WSP_GGML_/g' $file sed -i 's/ggml_/wsp_ggml_/g' $file + sed -i 's/GGMLMetalClass/WSPGGMLMetalClass/g' $file fi done