-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate compiler build from ocamlbuild to dune
- Loading branch information
1 parent
aae1897
commit 3190103
Showing
22 changed files
with
84 additions
and
208 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
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.
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
(env | ||
(dev | ||
(flags (:standard -w +Z+Y+28-23+32+33+34-58@8))) | ||
(release | ||
(flags (:standard -w +Z+Y+28-23+32+33+34-58@8)))) | ||
|
||
(dirs src CIL entry) | ||
(include_subdirs unqualified) | ||
|
||
(executable | ||
(public_name jasminc) | ||
(name jasminc) | ||
(modules jasminc) | ||
(flags -rectypes) | ||
(modes byte exe) | ||
(libraries jasmin)) | ||
|
||
(executable | ||
(public_name jazz2tex) | ||
(name jazz2tex) | ||
(modules jazz2tex) | ||
(flags -rectypes) | ||
(modes byte exe) | ||
(libraries cmdliner jasmin)) | ||
|
||
(library | ||
(name jasmin) | ||
(public_name jasmin.jasmin) | ||
(modules :standard \ jasminc jazz2tex) | ||
(flags -rectypes) | ||
(libraries batteries zarith menhirLib yojson apron.octMPQ apron.ppl apron.boxMPQ)) |
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,5 @@ | ||
(lang dune 3.2) | ||
(name jasmin) | ||
(license MIT) | ||
(authors "The Jasmin development team") | ||
(using menhir 2.1) |
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,4 +1,4 @@ | ||
JASMINC?=../../jasminc.native | ||
JASMINC?=../../jasminc | ||
|
||
.SUFFIXES: .s .o .jazz .jinc | ||
|
||
|
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,4 +1,4 @@ | ||
JASMINC?=../../jasminc.native | ||
JASMINC?=../../jasminc | ||
|
||
all: run | ||
./run | ||
|
This file was deleted.
Oops, something went wrong.
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.
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
set -ex | ||
|
||
exec $(dirname $0)/../jasminc.native -checkCT "$@" | ||
exec $(dirname $0)/../jasminc -checkCT "$@" |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
set -ex | ||
|
||
exec $(dirname $0)/../jasminc.native -checksafety "$@" | ||
exec $(dirname $0)/../jasminc -checksafety "$@" |
Oops, something went wrong.