-
Notifications
You must be signed in to change notification settings - Fork 695
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
Optimize sandbox performance #1045
Changes from 1 commit
58819fd
a184280
de46564
0eca147
186178b
b2ac8db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,41 @@ | ||
package(default_visibility = ['//visibility:public']) | ||
|
||
filegroup( | ||
name = "all", | ||
srcs = glob(["**"]), | ||
name = "includes", | ||
srcs = glob([ | ||
"emscripten/cache/sysroot/include/c++/v1/**", | ||
"emscripten/cache/sysroot/include/compat/**", | ||
"emscripten/cache/sysroot/include/**", | ||
"lib/clang/15.0.0/include/**", | ||
]), | ||
) | ||
|
||
filegroup( | ||
name = "compiler_files", | ||
srcs = [ | ||
"emscripten/emcc.py", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where do |
||
"bin/clang", | ||
"bin/clang++", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On windows all these executables need to have the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for this hint! I've taken the templated |
||
":includes", | ||
], | ||
) | ||
|
||
filegroup( | ||
name = "linker_files", | ||
srcs = [ | ||
"emscripten/emcc.py", | ||
"bin/llvm-nm", | ||
"bin/llvm-objcopy", | ||
"bin/wasm-emscripten-finalize", | ||
"bin/wasm-ld", | ||
"bin/wasm-opt", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about the libraries (from the sysroot) that are used during linking? Are they handled separately? |
||
], | ||
) | ||
|
||
filegroup( | ||
name = "ar_files", | ||
srcs = [ | ||
"emscripten/emar.py", | ||
"bin/llvm-ar", | ||
], | ||
) |
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.
Is all_files even needed at all anymore?