You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
Build failure on Windows cross compilation for aarch64-linux #383
Im compiling using 'cargo build' with '--target=aarch64-unknown-linux-gnu', and the compilation fails as it doesn't detect bazel.
I have installed bazel and added it to path on windows.
As the script ./configure seems to run from 'bash' i have installed bazel in the bash too, using './bazel-5.3.1-installer-linux-x86_64.sh'.
Also the ./configure file had to be changed using dos2unix, as it was run from bash.
Full log:
cargo build --target=aarch64-unknown-linux-gnu
Compiling tensorflow-sys v0.21.0
error: failed to run custom build command for tensorflow-sys v0.21.0
--- stderr
thread 'main' panicked at 'failed to execute "bash" "-c" "yes ''|./configure"', C:\Users\ugav.cargo\registry\src\github.com-1ecc6299db9ec823\tensorflow-sys-0.21.0\build.rs:422:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Activity