forked from rems-project/asl-interpreter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add scala lifter compilation (#104)
* ci: add scala lifter compilation * use coursier/setup-action * java 17 * add note about notimplemented [no ci] * fix readme steps and remove sbt
- Loading branch information
1 parent
6fcda77
commit 5eaf73c
Showing
2 changed files
with
34 additions
and
8 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
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
Build standalone Scala lifter interface | ||
Build standalone Scala lifter interface. | ||
|
||
Requires Mill (e.g. installed by Coursier). Run in parent directory: | ||
```bash | ||
mkdir -p offlineASL-scala/lifter/src/generated | ||
echo ':gen A64 aarch64.+ scala true offlineASL-scala/lifter/src/generated' | dune exec asli | ||
cd offlineASL-scala | ||
mill lifter.assembly | ||
mill main.run --opcode 0x8b031041 | ||
``` | ||
# (in parent direictory) | ||
~ echo ':gen A64 aarch64.+ scala true scalaOfflineASL/lifter/generated' | dune exec asli | ||
~ cd scalaOfflineASL | ||
~ ./mill lifter.assembly | ||
~ ./mill main.run | ||
``` | ||
This should compile successfully. However, the last command will fail since | ||
the default instruction-building interface simply throws "not implemented" | ||
on all methods. |