Skip to content

Commit f4ed884

Browse files
committed
Enable windows rocm build of whisper.cpp
Add ROCm support and CI improvements ci: automate library bundling in ROCm build workflow Replace manual copying of ROCm libraries and shared objects with an automated CMake-based bundling step using GET_RUNTIME_DEPENDENCIES. This ensures all linked libraries (e.g., libamdhip64, librocm_sysdeps) are recursively detected and bundled into build/bin, filtering out system libs like libc.so, while improving portability and reducing maintenance for dependency management. build: enhance library bundling to handle symlinks for portable distribution - Updated CMake script to resolve and copy real targets of symlinks, then recreate symlinks in build dir - Modified chmod to only affect real .so* files, ignoring symlinks - Removed outdated comments and improved script clarity for better portability of whisper-cli binaries Replaced file(CREATE_LINK): We now use execute_process(COMMAND ln -sf ...) which is standard on Linux Changing Bundle Linked Libraries to use linux based ldd instead of cmake, I am trying to make the smallest changes to whisper.cpp as possible without modifying existing things like cmake files or adding more files.
1 parent 7aa8818 commit f4ed884

1 file changed

Lines changed: 568 additions & 7 deletions

File tree

0 commit comments

Comments
 (0)