-
Notifications
You must be signed in to change notification settings - Fork 710
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
Add missing binaries for bazel #1082
Conversation
Head branch was pushed to by a user without write access
d72f598
to
0e341ef
Compare
Can this be rebased and merged? |
bazel/emscripten_deps.bzl
Outdated
@@ -54,12 +54,17 @@ filegroup( | |||
"bin/clang{bin_extension}", | |||
"bin/llc{bin_extension}", | |||
"bin/llvm-ar{bin_extension}", | |||
"bin/llvm-dwarfdump{bin_extension}", | |||
"bin/llvm-mc{bin_extension}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to remove this line to get it to work on an apple silicon mac. The error was
ERROR: /Users/greg/dev/repo/BUILD.bazel:39:10: Linking app failed: missing input file '@emscripten_bin_mac_arm64//:bin/llvm-mc'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that file was removed from the prebuilt binaries. It should not be needed by emscripten.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
I removed @sbc100 |
Added some files to linker filegroup so that Bazel can build successfully in certain scenarios.
-gsource-map
)--embed-file
)-sEVAL_CTORS=1
)-sSPLIT_MODULE=1
)-sWASM=0
)