-
Notifications
You must be signed in to change notification settings - Fork 70
Update to use new Faabric dirty tracking #561
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
| CONAN_CACHE_MOUNT_SOURCE: ~/.conan/ | ||
| - name: Get Conan Version - Show Log | ||
| if: always() | ||
| run: cat /tmp/conan-ver-log |
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.
This was broken and the caching wasn't working before, now it does AFAICT.
| FetchContent_Declare(wavm_ext | ||
| GIT_REPOSITORY "https://github.com/faasm/WAVM.git" | ||
| GIT_TAG "faasm" | ||
| GIT_TAG "2434b3b170404b63afbd2103eecbf510dd1665f4" |
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.
This update is crucial and I don't trust using a branch name in FetchContent.
| ./bin/cli.sh faasm | ||
|
|
||
| # Faabric | ||
| ./bin/cli.sh faabric |
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.
No longer in this repo. Done directly in Faabric checkout.
| # Build CPP functions and lib required for the tests | ||
| inv func.local | ||
| inv libfake | ||
| inv func.local libfake |
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.
Changed these to one-liners to be more copy-pasteable
| return std::span<uint8_t>(memBase, currentSize); | ||
| } | ||
|
|
||
| static std::string getAppSnapshotKey(const faabric::Message& msg) |
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.
All of this logic has been moved into the Executor class in Faabric now.
| // thread number | ||
| m.set_groupidx(i); | ||
| m.set_groupsize(nextLevel->numThreads); | ||
| } |
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.
This logic has also been absorbed into the Executor class in Faabric.
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.
LGTM. Just remember to:
- Merge CPP PR first.
- Re-tag (force) CPP code when merged.
- Merge faabric first.
- Update submodules for faabric and cpp in this PR.
- Finally merge this PR.
Updates for Faabric dirty tracking changes in faasm/faabric#210