-
Notifications
You must be signed in to change notification settings - Fork 70
Clarify split for cross-compiled applications #704
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
Conversation
| { | ||
| faabric::util::initLogging(); | ||
|
|
||
| // Define command line arguments |
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.
Moved this to runner_utils.cpp to be used both by func_runner and local_pool_runner.
| REQUIRE(!moduleRefA1.exports.empty()); | ||
| REQUIRE(!moduleRefB1.exports.empty()); | ||
| REQUIRE(moduleRefA1.memories.defs[0].type.size.max == MAX_WASM_MEMORY_PAGES); | ||
| REQUIRE(moduleRefA1.memories.defs[0].type.size.max == |
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.
Formatting
| # Wrapper script for running invoke in virtual env | ||
|
|
||
| source bin/workon.sh && inv -r faasmcli/faasmcli $@ | ||
| source bin/workon.sh && inv -r faasmcli/faasmcli "$@" |
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.
Added quotes, as otherwise if we pass a command with quotes they would not be preserved.
pool_runner from the CLI41845f4 to
892646f
Compare
892646f to
0f6e796
Compare
After an offline discussion, we agreed on the split for cross-compiled example applications: libraries belonging to the sysroot live in
faasm/cppand everything else will live infasm/examples. The goal is to keep the cross-compiled applications together, but let them die if necessary. As a consequence, things likeFFmpegorImageMagickshould not be tested here.In this PR, I remove the
ffmpegtests and add a couple of features that we need for the newfaasm/examplesrepo:./bin/inv_wrapper.sh.As a consequence of the first point, we can now run:
See the main PR in faasm/examples#1