Skip to content

Commit 3042909

Browse files
committed
fixed zipping on ubuntu and fixed copying files to include symlinks.
1 parent 7d83304 commit 3042909

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -687,25 +687,10 @@ jobs:
687687
cp -v $rocm_lib_path/llvm/lib/libLLVM.so* "$build_bin_path/" 2>/dev/null || true
688688
cp -v $rocm_lib_path/llvm/lib/libclang-cpp.so* "$build_bin_path/" 2>/dev/null || true
689689

690-
- name: Copy Project Artifacts (libwhisper, libggml)
691-
run: |
692-
build_bin_path="build/bin"
693-
mkdir -p "$build_bin_path"
694-
695-
echo "Searching for built shared libraries..."
696-
# Find libwhisper.so (and versioned symlinks)
697-
find build -type f -name "libwhisper.so*" -exec cp -v {} "$build_bin_path/" \;
698-
699-
# Find libggml shared libs (ggml.so, ggml-base.so, ggml-cpu.so, etc.)
700-
find build -type f -name "libggml*.so*" -exec cp -v {} "$build_bin_path/" \;
701-
702-
echo "Project libraries copied to $build_bin_path"
703-
ls -l "$build_bin_path"
704-
- name: Copy libs to build directory # <--- Renamed from "Copy ROCm core libs..."
690+
- name: Copy libs to build directory
705691
run: |
706692
echo "Copying built project libraries..."
707-
find build -type f -name "libwhisper.so*" -exec cp -v {} "$build_bin_path/" \;
708-
find build -type f -name "libggml*.so*" -exec cp -v {} "$build_bin_path/" \;
693+
find build \( -name "libwhisper.so*" -o -name "libggml*.so*" \) -exec cp -vP {} "$build_bin_path/" \;
709694
710695
- name: Set RPATH for portable distribution
711696
run: |

0 commit comments

Comments
 (0)