Debian Codegraph @

lib/mlrisc-lib/MLRISC/make.sml

raw
1 (*
2 * Regenerates all the machine description generated files.
3 * This works for only 110.39+
4 *)
5 (* val () = #set(CM.symval "UNSHARED_MLRISC") (SOME 1); *)
6
7 (* From 110.57 on, we need the following new magic *)
8
9 fun set f = #set(CM.Anchor.anchor f) (SOME "cm");
10 val _ = app set ["Control.cm", "Lib.cm", "Graphs.cm", "MLRISC.cm",
11 "MLTREE.cm"];
12
13 fun b() = CM.make "Tools/MDL/sources.cm";
14 val _ = b();
15 fun c f = MDLGen.gen(f^"/"^f^".mdl");
16 val _ = app c
17 [ "x86"
18 , "amd64"
19 , "sparc"
20 , "alpha"
21 , "hppa"
22 , "ppc"
23 (* , "mips" *)
24 ];