File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change
1
+
2
+ # This file builds everything using vendor/ocaml/ocamlopt
3
+ # it is only for temporary testing
4
+ # we in general do `ninja snapshot && ninja -f vendor.ninja`
5
+
6
+ ocamlopt = ../vendor/ocaml/bin/ocamlopt.opt
7
+ # we relies on its dynamic behavior for finding a proper ocamlopt
8
+ rule cc
9
+ command = $ocamlopt $flags -o $out $in
10
+ build ../lib/bsc.exe : cc ../lib/whole_compiler.mli ../lib/whole_compiler.ml
11
+ flags = -I ../lib -g -w -a ../jscomp/stubs/ext_basic_hash_stubs.c
12
+ subninja runtime/build.ninja
13
+ subninja others/build.ninja
14
+ subninja stdlib-402/build.ninja
15
+ subninja test/build.ninja
16
+ build all : phony runtime others stdlib-402 test
Original file line number Diff line number Diff line change 1
1
2
2
flags = -g -w -a ../jscomp/stubs/ext_basic_hash_stubs.c
3
3
4
- ocamlopt = ../vendor/ocaml/bin/ocamlopt.opt
4
+ # ocamlopt = ../vendor/ocaml/bin/ocamlopt.opt
5
+ ocamlopt = ocamlopt.opt
6
+ # we relies on its dynamic behavior for finding a proper ocamlopt
5
7
rule cc
6
8
command = $ocamlopt $flags -o $out $in
7
9
You can’t perform that action at this time.
0 commit comments