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

unable to build on apple m4 #431

Open
madelaney opened this issue Dec 4, 2024 · 0 comments
Open

unable to build on apple m4 #431

madelaney opened this issue Dec 4, 2024 · 0 comments

Comments

@madelaney
Copy link

While trying to build a sample project; see gist.

However, when I try to build with cargo run, I get the following error:

ERROR: /Users/mdelaney/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tensorflow-sys-0.24.0/target/source-v2.13.0/tensorflow/BUILD:1134:21: declared output 'tensorflow/libtensorflow_framework.2.dylib' was not created by genrule. This is probably because the genrule actually didn't create this output, or because the output was a directory and the genrule was run remotely (note that only the contents of declared file outputs are copied from genrules run remotely)
  ERROR: /Users/mdelaney/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tensorflow-sys-0.24.0/target/source-v2.13.0/tensorflow/BUILD:1134:21: Executing genrule //tensorflow:libtensorflow_framework.2.dylib_sym failed: not all outputs were created or valid
  realpath: illegal option -- -
  usage: realpath [-q] [path ...]
  Target //tensorflow:libtensorflow.dylib failed to build
  Use --verbose_failures to see the command lines of failed build steps.
  INFO: Elapsed time: 0.477s, Critical Path: 0.05s
  INFO: 14 processes: 13 internal, 1 local.
  FAILED: Build did NOT complete successfully
  FAILED: Build did NOT complete successfully

Environment:

  • Apple M4
  • Xcode 16.1
  • rust/cargo rustc 1.83.0 (90b35a623 2024-11-26)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant