@@ -20,7 +20,7 @@ lam_fold.ml: lambda_fold.mlp lambda.mlp
20
20
@echo " Regenrating lambda_map.ml"
21
21
$(CAMLP4OF ) -filter map -filter trash -impl $< -printer o > $@
22
22
23
- ./bin/bsc : _build/compiler .cmxa
23
+ ./bin/bsc : _build/ext/ext.cmxa _build/common/common.cmxa _build/syntax/syntax.cmxa _build/core .cmxa
24
24
echo " Linking"
25
25
$(NATIVE ) -g -linkall -o $@ -I +compiler-libs ocamlcommon.cmxa $^ 2>> build.compile
26
26
# Note: we can remove main.cmx since we have js_main.cmx which use [js_implementation.implementation],
@@ -42,17 +42,17 @@ release:snapshot
42
42
snapshot : ./bin/ocaml_pack snapshotcmj
43
43
make snapshotml
44
44
45
- snapshotml :./bin/ocaml_pack
45
+ snapshotml :./bin/ocaml_pack ./bin/compiler.mllib
46
46
@echo " Snapshot ml"
47
- $< compiler.mllib > bin/compiler.ml
47
+ $< bin/ compiler.mllib > bin/compiler.ml
48
48
snapshotcmj :
49
49
@echo " Collecting cmj files"
50
50
ocamlbuild -cflags $(OCAMLBUILD_CFLAGS ) js_pack.native --
51
51
52
52
53
53
releasebuild :
54
54
@echo " Make release compiler"
55
- $(NATIVE ) -g -inline 100 -linkall -w -a -I +compiler-libs -I bin ocamlcommon.cmxa bin/compiler.mli bin/compiler.ml -o bin/bsc
55
+ $(NATIVE ) -g -inline 1000 -linkall -w -a -I +compiler-libs -I bin ocamlcommon.cmxa bin/compiler.mli bin/compiler.ml -o bin/bsc
56
56
57
57
stdlib :
58
58
cd stdlib && ./build.sh
@@ -67,7 +67,7 @@ stdlib:
67
67
68
68
world :
69
69
@echo " Making compiler"
70
- $(NATIVE ) -g -inline 100 -linkall -w -a -I +compiler-libs -I bin ocamlcommon.cmxa bin/compiler.mli bin/compiler.ml -o bin/bsc
70
+ $(NATIVE ) -g -inline 1000 -linkall -w -a -I +compiler-libs -I bin ocamlcommon.cmxa bin/compiler.mli bin/compiler.ml -o bin/bsc
71
71
@echo " Making compiler finished"
72
72
73
73
@echo "Making stdlib cmis"
@@ -103,7 +103,7 @@ TMP_OCAMLLIB=$(shell ocamlopt.opt -where)
103
103
104
104
big-world :bin/big_compiler.ml bin/big_compiler.mli
105
105
@echo " Making compiler"
106
- ocamlopt.opt -g -inline 100 -linkall -w -a -I bin bin/big_compiler.mli bin/big_compiler.ml -o bin/bsc
106
+ ocamlopt.opt -g -inline 1000 -linkall -w -a -I bin bin/big_compiler.mli bin/big_compiler.ml -o bin/bsc
107
107
@echo " Making compiler finished"
108
108
109
109
@echo "Making runtime"
@@ -118,7 +118,7 @@ big-world:bin/big_compiler.ml bin/big_compiler.mli
118
118
travis-world-test :./bin/ocaml_pack
119
119
@echo " Generating the compiler"
120
120
rm -f bin/compiler.ml
121
- ./bin/ocaml_pack ./compiler.mllib > bin/compiler.ml
121
+ ./bin/ocaml_pack ./bin/ compiler.mllib > bin/compiler.ml
122
122
@echo " Generating the compiler finished"
123
123
make world-test
124
124
0 commit comments