-
Notifications
You must be signed in to change notification settings - Fork 833
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
713: Add AArch64 support for singlepass. r=syrusakbary a=losfair This PR includes: - Support for AArch64 (ARM64) in Singlepass backend. Implemented with a combination of x86_64 instruction translation and native code generation. - State tracing and backtraces on AArch64/Singlepass. (Tiering is not implemented for this pair because there's no other backend supporting AArch64 yet) - Debugging tools: `BlockTrace` middleware, and support for reading states of previous WebAssembly stack frames from middlewares. Co-authored-by: losfair <[email protected]>
- Loading branch information
Showing
32 changed files
with
4,522 additions
and
1,117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
arch: | ||
- arm64 | ||
|
||
language: rust | ||
rust: | ||
- nightly-2019-08-15 | ||
|
||
cache: | ||
directories: | ||
- /home/travis/.sccache/ | ||
- /home/travis/.cargo/bin/ | ||
|
||
script: | ||
# Sccache | ||
# - curl -L https://github.com/mozilla/sccache/releases/download/0.2.10/sccache-0.2.10-x86_64-unknown-linux-musl.tar.gz | tar xzf - | ||
# - export RUSTC_WRAPPER=`pwd`/sccache-0.2.10-x86_64-unknown-linux-musl/sccache | ||
- test -f /home/travis/.cargo/bin/sccache || cargo install sccache | ||
- export RUSTC_WRAPPER=/home/travis/.cargo/bin/sccache | ||
- mkdir -p /home/travis/.sccache/ | ||
- export SCCACHE_DIR="/home/travis/.sccache/" | ||
- SCCACHE_ERROR_LOG=`pwd`/sccache.log RUST_LOG=debug $RUSTC_WRAPPER --start-server | ||
- $RUSTC_WRAPPER -s | ||
|
||
# Tests | ||
- make spectests-singlepass | ||
|
||
before_deploy: | ||
# Release | ||
- make release-singlepass | ||
- make wapm | ||
- make build-install | ||
- mkdir -p artifacts | ||
- cp ./wasmer.tar.gz ./artifacts/$(./scripts/binary-name.sh) | ||
|
||
# before_deploy: | ||
# # Set up git user name and tag this commit | ||
# - git config --local user.name "Syrus Akbary" | ||
# - git config --local user.email "[email protected]" | ||
# - export TRAVIS_TAG="0.10.2" | ||
# # - git tag $TRAVIS_TAG | ||
|
||
deploy: | ||
provider: releases | ||
file_glob: true | ||
file: artifacts/* | ||
api_key: $GITHUB_OAUTH_TOKEN | ||
# This is set to the previous artifacts are not deleted by travis | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
# branch: feature/singlepass-aarch64 | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- cmake | ||
|
||
branches: | ||
only: | ||
- master | ||
- staging | ||
- trying |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.