Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: failed to run custom build command for `bloop v0.6.3 #1246

Open
sgch1982 opened this issue Mar 8, 2024 · 3 comments
Open

error: failed to run custom build command for `bloop v0.6.3 #1246

sgch1982 opened this issue Mar 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@sgch1982
Copy link

sgch1982 commented Mar 8, 2024

when i run : npm run start-app
output :error: failed to run custom build command for bloop v0.6.3 caused by: process didn't exit successfully: /Users/Documents/myhome/bloop/target/debug/build/bloop-27e30b02a4c3c088/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=TAURI_CONFIG
cargo:rerun-if-changed=tauri.conf.json
cargo:rustc-cfg=desktop
cargo:rustc-cfg=dev
cargo:rerun-if-changed=bin/qdrant-aarch64-apple-darwin
cargo:rerun-if-changed=model/ggml/tokenizer.json
cargo:rerun-if-changed=model/ggml/ggml-model-q4_0.bin
cargo:rerun-if-changed=model/model.onnx
cargo:rerun-if-changed=model/special_tokens_map.json
cargo:rerun-if-changed=model/tokenizer.json
cargo:rerun-if-changed=model/tokenizer_config.json
cargo:rerun-if-changed=model/vocab.txt
cargo:rerun-if-changed=dylibs/.keep
cargo:rerun-if-changed=config/config.json
Library not found: frameworks/libonnxruntime.dylib
warning: build failed, waiting for other jobs to finish...

@sgch1982 sgch1982 added the bug Something isn't working label Mar 8, 2024
@ggordonhall
Copy link
Contributor

Did you run git lfs install? See https://github.com/BloopAI/bloop/tree/oss/apps/desktop#setup

@drewbitt
Copy link

I also got this. git lfs install does not install libonnxruntime.dylib for me. I had to install it myself brew install onnxruntime (and this repo does correctly list it as a dependency) and changed the path in

"frameworks/libonnxruntime.dylib"
to point to my version.

@jameshiew
Copy link

Going by build.rs, is libonnxruntime.dylib required if running on Apple Silicon?

// we do not require libonnx for apple silicon
if !is_apple_silicon() {
if env::var("ORT_DYLIB_PATH").is_err() {

I tried removing the "frameworks" field entirely from tauri.conf.json at first to work around this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants