Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/ggml-omega/blob/main/tests/exports.sh # ggml-omega aien-dev/ggml-omega Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `ggml-omega / tests / exports.sh` 14 lines ยท 534 bytes Raw Blame History 1 #!/bin/sh 2 # Only the ggml loader entry point is public. Private helpers must not bind to 3 # same-named functions in the host process (e.g. libmtmd's incompatible SHA ABI). 4 set -eu 5 case "$(uname -s)" in 6 Darwin) symbols=$(nm -gU "$1" | awk '{sub(/^_/, "", $NF); print $NF}') ;; 7 *) symbols=$(nm -D --defined-only "$1" | awk '{print $NF}') ;; 8 esac 9 test "$symbols" = ggml_backend_init || { 10 echo 'FAIL unexpected exported backend symbols' >&2 11 printf '%s\n' "$symbols" >&2 12 exit 1 13 } 14 echo 'PASS only ggml_backend_init exported'