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.
new offline lifter & asli packages, make dune build offline lifter
We now define two packages, asli and aslp_offline. The offline lifter library gets a different name depending on whether its built with pc support which is enabled by default in offlineASL/gen-command (breaking offline-coverage). libASL/dune now invokes asli to generate the lifter into the build directory. This makes everything buildable so the offline lifter should be useable as an opam pin dependency. Asli can generate the dune to build the offline lifter, but there is a little bit bit of manual mess, e.g. regarding the command to build asli. We also don't properly invalidate the cached marshalled generated lifter (which appears in _build/default/marshalled-offline-lifter-*) when we rebuild asli; to regenerate the lifter you must first run `dune clean`.
- Loading branch information
Showing
12 changed files
with
888 additions
and
40 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 |
---|---|---|
|
@@ -10,11 +10,11 @@ interactive execution of ASL statements and expressions, | |
executing opcodes one at a time, | ||
loading ELF files and executing Arm binaries. | ||
""" | ||
maintainer: ["Alastair Reid <[email protected]>"] | ||
authors: ["Alastair Reid"] | ||
maintainer: ["UQ-PAC"] | ||
authors: ["UQ-PAC"] | ||
license: "BSD-3-Clause" | ||
homepage: "https://github.com/alastairreid/asl-interpreter" | ||
bug-reports: "https://github.com/alastairreid/asl-interpreter/issues" | ||
homepage: "https://github.com/UQ-PAC/aslp" | ||
bug-reports: "https://github.com/UQ-PAC/aslp/issues" | ||
depends: [ | ||
"dune" {>= "2.8"} | ||
"ocaml" {>= "4.14"} | ||
|
@@ -46,4 +46,4 @@ build: [ | |
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/alastairreid/asl-interpreter.git" | ||
dev-repo: "git+https://github.com/UQ-PAC/aslp.git" |
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,31 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
version: "0.2.0" | ||
synopsis: "AArch64 Offline lifter" | ||
description: "" | ||
maintainer: ["UQ-PAC"] | ||
authors: ["UQ-PAC"] | ||
license: "BSD-3-Clause" | ||
homepage: "https://github.com/UQ-PAC/aslp" | ||
bug-reports: "https://github.com/UQ-PAC/aslp/issues" | ||
depends: [ | ||
"dune" {>= "2.8"} | ||
"ocaml" {>= "4.14"} | ||
"asli" | ||
"odoc" {with-doc} | ||
] | ||
build: [ | ||
["dune" "subst"] {dev} | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
] | ||
dev-repo: "git+https://github.com/UQ-PAC/aslp.git" |
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
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 |
---|---|---|
|
@@ -31,12 +31,22 @@ | |
) | ||
) | ||
|
||
(package | ||
(name aslp_offline) | ||
(synopsis "AArch64 Offline lifter") | ||
(description "" ) | ||
(depends | ||
("ocaml" (>= "4.14")) | ||
"asli" | ||
) | ||
) | ||
|
||
(license BSD-3-Clause) | ||
(authors "Alastair Reid") | ||
(maintainers "Alastair Reid <[email protected]>") | ||
(source (github alastairreid/asl-interpreter)) | ||
(bug_reports "https://github.com/alastairreid/asl-interpreter/issues") | ||
(homepage "https://github.com/alastairreid/asl-interpreter") | ||
(authors "UQ-PAC") | ||
(maintainers "UQ-PAC") | ||
(source (github UQ-PAC/aslp)) | ||
(bug_reports "https://github.com/UQ-PAC/aslp/issues") | ||
(homepage "https://github.com/UQ-PAC/aslp") | ||
; (documentation ...) | ||
|
||
(generate_opam_files true) | ||
|
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.