Julien Lepiller
67f16db183
Makefile: build for any architecture
2021-09-22 12:57:29 -04:00
Nathanaël Courant
a56c0cd4f0
Fix Makefile
2021-02-24 08:41:15 +01:00
Nathanaël Courant
bb7aac5fc8
Add missing build of .depend
2021-02-23 18:51:18 +01:00
Nathanaël Courant
4518830a46
Update top-level Makefile to reflect parallel compilation of interpopt.opt
2021-02-23 14:56:03 +01:00
Nathanaël Courant
913e169a4d
Add fullboot target for testing DDC
2021-02-22 10:08:25 +01:00
Julien Lepiller
11dfdff978
Fix last steps
2021-02-20 19:36:16 +01:00
Julien Lepiller
cd06e55449
Fix parallel build with -j
.
2021-02-20 10:07:33 +01:00
Nathanaël Courant
f8ed42b26d
Parallel compilation
2021-02-19 12:07:54 +01:00
Nathanaël Courant
92037d7271
Parallel build
2021-02-18 22:51:50 +01:00
Nathanaël Courant
2579ce96e3
Use interpopt.opt for bootstrap
2021-02-17 15:21:13 +01:00
Nathanaël Courant
5c53d505c1
Fix Makefile
2021-02-17 08:40:41 +01:00
Nathanaël Courant
7969c70193
Changes to make Makefile work
2021-02-16 14:05:22 +01:00
Nathanaël Courant
bc417c81a3
Timings in Makefile
2021-02-15 17:44:43 +01:00
Nathanaël Courant
641e1d22b3
Break dependency loop in Makefile
2021-02-15 17:40:34 +01:00
Nathanaël Courant
4caff306bd
Add makefile for make_opcodes
2021-02-15 15:59:07 +01:00
Gabriel Scherer
19255bce2c
split the test file into several testfiles
2020-12-12 12:04:37 +01:00
Gabriel Scherer
c61d94ed0e
turn hello.ml into a more convenient test
...
Now you can run
make compiler-test
from the root of the repository to run hello.ml, and compare its
output to a version-controlled reference output.
If the output changes for good reasons, you can update the reference
file with
make compiler-test-promote
Note: it may sound unpleasant to version-control program-generated
outputs, but in fact (as long as those outputs are kept
human-readable) this is an excellent idea for testing: it means that
any change to the testing output will be part of the commits/diffs,
making it easier for reviewers to understand the impact of a change.
2020-12-11 18:42:18 +01:00
Gabriel Scherer
13f0fd4c5d
Makefile: track dependencies to avoid reconfiguring ocaml-src all the time
2020-12-11 13:18:34 +01:00
Nathanaël Courant
74bdd147aa
Move interpreter to its own folder
2020-11-30 16:31:12 +01:00
Gabriel Scherer
8670dcae7a
add a minimal test framework
2020-11-24 14:38:53 +01:00
Gabriel Scherer
7309b8a8a3
[minor] improve Makefile 'run' target
2020-11-24 14:38:53 +01:00
Gabriel Scherer
9e0f247eec
Makefile: use ocaml-src/stdlib rather than (ocamlc -where)
...
This is necessary to get the Format fixes to un-break the bootstrap.
2020-11-24 14:38:53 +01:00
Gabriel Scherer
f92d987a7c
Makefile: add RUNARGS variable for 'run' target
2020-11-24 14:38:53 +01:00
Gabriel Scherer
db8f1d088b
Makefile: 'run' target for quick testing (and documentation of environment variables)
2020-11-24 14:38:53 +01:00
Gabriel Scherer
9cb0563c96
Make the apply_ref forward-reference more local
2020-11-24 14:38:21 +01:00
Gabriel Scherer
1b122ba961
primitives: proper treatment of exceptions raised by primitives
2020-11-24 14:38:21 +01:00
Gabriel Scherer
52d0350bb3
move part of interp.ml into a new eval.ml file
2020-11-24 14:38:21 +01:00
Gabriel Scherer
0094228128
split the code in several modules
2020-11-24 14:38:21 +01:00
Gabriel Scherer
362f4c1948
use ocamlformat for formatting
2020-11-24 14:37:00 +01:00
Gabriel Scherer
baef4b8807
use environment variables instead of hardcoded filesystem paths
2020-11-24 14:37:00 +01:00
Gabriel Scherer
e978122afe
Makefile: remove -annot, add a clean target
2020-11-24 14:37:00 +01:00
Ekdohibs
3fff42d128
Fix copy of byterun
2019-06-19 11:54:18 +02:00
Ekdohibs
0a365052bb
Fix Makefile to compile dependencies
2019-06-12 14:03:42 +02:00
Ekdohibs
f3cdf68f11
Fix incorrect location of dynlink.mli in Makefile
2019-06-12 13:54:40 +02:00
Ekdohibs
0f7df4fd14
Fix a few errors in the ocamlc compile script
2019-06-08 22:13:35 +02:00
Ekdohibs
1c0c729c96
Add script to compile ocamlc
2019-06-08 16:43:41 +02:00
Gabriel Scherer
0385b37172
fix minor Makefile bug
2019-06-01 17:45:53 +02:00
Ekdohibs
63223672bf
Allow compilation with ocamlopt
2018-09-23 21:34:49 +02:00
Ekdohibs
cdf32f1b47
Able to compile stdlib, and probably compiler itself
2018-09-23 21:28:44 +02:00