Skip to content
This repository
Newer
Older
100644 140 lines (118 sloc) 5.522 kb
923eae54 »
2011-01-14 Redo build system; bootstrapped niecza is live
1 ### CONFIGURATION
2
3 # How to run CLR programs; can be blank for Win32
4 RUN_CLR=mono
7451754a »
2011-10-29 Finish implementation of -gen-app function
5 CSC=gmcs /debug+
923eae54 »
2011-01-14 Redo build system; bootstrapped niecza is live
6 RM=rm -f
7 CP=cp
8
ef344dfb »
2011-04-03 Split basic object stuff into ObjModel.cs
9 cskernel=Kernel.cs Builtins.cs Cursor.cs JSYNC.cs NieczaCLR.cs Utils.cs \
94e99689 »
2011-09-29 Merge remote branch 'origin/master' into serialize
10 ObjModel.cs BigInteger.cs Printf.cs CodeGen.cs \
841c18e2 »
2011-12-17 Start on Unicode property data reader
11 GeneratedTrigFunctions.cs Serialize.cs UCD.cs
923eae54 »
2011-01-14 Redo build system; bootstrapped niecza is live
12
c58db17b » mberends
2011-03-19 [Makefile] add targets aot spectest clean realclean and help
13 # Tell make to regard the following targets as not being filenames
14 .PHONY: all aot test spectest clean realclean
15 .PHONY: help
16
82bb6370 »
2011-03-09 Update bootstrap to one built against the 2.0 runtime
17 libunits=CORE JSYNC
51e9a265 »
2011-10-30 Remove no longer used "NAMOutput" and "Metamodel" modules
18 srcunits=CClass CgOp Op OpHelpers Sig RxOp STD NieczaGrammar OptRxSimple \
19 Operator NieczaActions NieczaFrontendSTD NieczaPassSimplifier \
20 OptBeta NieczaPathSearch NieczaBackendDotnet NieczaCompiler GetOptLong
923eae54 »
2011-01-14 Redo build system; bootstrapped niecza is live
21
9083142a »
2011-10-26 Switch to single-AppDomain execution
22 all: run/Niecza.exe obj/Run.Kernel.dll obj/Run.CORE.dll
c58db17b » mberends
2011-03-19 [Makefile] add targets aot spectest clean realclean and help
23 @git describe --tags > VERSION
eab7f8a9 »
2011-01-14 Add test and p6eval make targets
24
0417e673 »
2011-10-29 Switch build to using a /serialize bootstrap image
25 $(patsubst %,boot/obj/Run.%.ser,$(srcunits)): boot/obj/Run.%.ser: .fetch-stamp src/%.pm6 boot/obj/Run.CORE.ser
26 cd src && NIECZA_KEEP_IL=1 $(RUN_CLR) ../boot/run/Niecza.exe -C $*
ac88a902 »
2011-05-04 Use Makefile to control building of compiler modules
27
9083142a »
2011-10-26 Switch to single-AppDomain execution
28 obj/Run.CORE.dll: run/Niecza.exe obj/Run.Kernel.dll lib/CORE.setting
1b13b318 »
2011-02-17 Auto-compile setting on make to end p6eval timeouts
29 $(RUN_CLR) run/Niecza.exe -C CORE
30
0417e673 »
2011-10-29 Switch build to using a /serialize bootstrap image
31 run/Niecza.exe: .fetch-stamp $(patsubst %,boot/obj/Run.%.ser,$(srcunits)) src/niecza
32 cd src && NIECZA_KEEP_IL=1 $(RUN_CLR) ../boot/run/Niecza.exe -c niecza
33 $(CP) boot/obj/Kernel.dll run/
34 $(CSC) /target:library /out:run/CompilerBlob.dll /r:Kernel \
35 /lib:run src/CompilerBlob.cs
36 $(RUN_CLR) run/Kernel.dll -gen-app Niecza boot/obj
923eae54 »
2011-01-14 Redo build system; bootstrapped niecza is live
37
38 .fetch-stamp: FETCH_URL
39 -rm -rf boot/
40 mkdir boot
bfba5a35 »
2011-12-26 Revert "github.com has a valid SSL certificate now"
41 wget --no-check-certificate -Oboot/niecza.zip $$(cat FETCH_URL)
923eae54 »
2011-01-14 Redo build system; bootstrapped niecza is live
42 cd boot && unzip niecza.zip
0417e673 »
2011-10-29 Switch build to using a /serialize bootstrap image
43 NIECZA_KEEP_IL=1 $(RUN_CLR) boot/run/Niecza.exe -C $(libunits)
44 $(CP) boot/run/Kernel.dll boot/obj/
923eae54 »
2011-01-14 Redo build system; bootstrapped niecza is live
45 touch .fetch-stamp
46
0417e673 »
2011-10-29 Switch build to using a /serialize bootstrap image
47 boot/obj/Run.CompilerBlob.dll: .fetch-stamp src/CompilerBlob.cs
48 $(CSC) /target:library /out:boot/obj/Run.CompilerBlob.dll /r:Run.Kernel \
876ee084 »
2011-09-17 Fix build
49 /lib:boot/obj src/CompilerBlob.cs
e0d294d7 »
2011-12-19 Embed unidata into Kernel.dll, check in a working quasi-finalized ver…
50 obj/Run.Kernel.dll: $(patsubst %,lib/%,$(cskernel)) lib/unidata
9083142a »
2011-10-26 Switch to single-AppDomain execution
51 $(CSC) /target:exe /out:obj/Run.Kernel.dll /lib:obj /unsafe+ \
e0d294d7 »
2011-12-19 Embed unidata into Kernel.dll, check in a working quasi-finalized ver…
52 /res:lib/unidata $(patsubst %,lib/%,$(cskernel))
53 obj/Kernel.dll: $(patsubst %,lib/%,$(cskernel)) lib/unidata
000cc772 »
2011-10-29 Checkpoint new bootstrap attempt
54 $(CSC) /target:exe /out:obj/Kernel.dll /lib:obj /unsafe+ \
e0d294d7 »
2011-12-19 Embed unidata into Kernel.dll, check in a working quasi-finalized ver…
55 /res:lib/unidata $(patsubst %,lib/%,$(cskernel))
eab7f8a9 »
2011-01-14 Add test and p6eval make targets
56
1e1a24ea » pmurias
2011-09-23 Eval runs basic perl5 code. The Makefile needs review to check if it can
57 perl5: obj/Perl5Interpreter.dll obj/p5embed.so
e5a3ec51 » pmurias
2011-09-23 Evaling perl5 code loads the Perl5Interpreter class.
58 obj/Perl5Interpreter.dll: obj/Kernel.dll lib/Perl5Interpreter.cs
1c5bb046 »
2011-10-15 Small refactor to AssemblyBuilder setup, start thaw coding
59 $(CSC) /target:library /lib:obj /out:obj/Perl5Interpreter.dll /r:Kernel.dll lib/Perl5Interpreter.cs
eab7f8a9 »
2011-01-14 Add test and p6eval make targets
60
1e1a24ea » pmurias
2011-09-23 Eval runs basic perl5 code. The Makefile needs review to check if it can
61 obj/p5embed.so: lib/p5embed.c
6c081033 » pmurias
2011-10-15 remove unnecessary -soname option when compiling the perl5 wrapper
62 cc -shared -o obj/p5embed.so lib/p5embed.c `perl -MExtUtils::Embed -e ccopts -e ldopts`
1e1a24ea » pmurias
2011-09-23 Eval runs basic perl5 code. The Makefile needs review to check if it can
63
88519387 » mberends
2011-04-14 [now] refactor the underlying function names and tweak 'make aot'
64 aot: all
f5dc966e »
2011-10-26 Rename Cursor.new to avoid conflicting with code that pretends gramma…
65 mono --aot run/*.dll obj/Run.CORE.dll run/Niecza.exe
c58db17b » mberends
2011-03-19 [Makefile] add targets aot spectest clean realclean and help
66
eab7f8a9 »
2011-01-14 Add test and p6eval make targets
67 test: all
68 $(RUN_CLR) run/Niecza.exe -c test.pl
9ceaa8e1 »
2011-10-26 Regularize Any/Mu variable handling
69 prove -e "$(RUN_CLR)" obj/Run.MAIN.exe
eab7f8a9 »
2011-01-14 Add test and p6eval make targets
70
c58db17b » mberends
2011-03-19 [Makefile] add targets aot spectest clean realclean and help
71 spectest: all
72 @t/run_spectests
73
74 clean:
e66416cc » pmurias
2011-10-02 make clean now removes .so files from obj
75 @rm -f obj/*.dll obj/*.exe obj/*.nam obj/*.so
185c4356 »
2011-05-05 Add a Makefile rule to build and test release tarballs
76 @rm -f run/Niecza.exe
77 @rm -f run/*.dll
78 @rm -f run/*.dll.so
79 @rm -fr *~
80
000cc772 »
2011-10-29 Checkpoint new bootstrap attempt
81 # uses the current niecza to set up a build area for the next stage
0417e673 »
2011-10-29 Switch build to using a /serialize bootstrap image
82 mkpackage:
83 rm -rf package/
84 mkdir package/ package/run/ package/lib/ package/obj/
85 cp -a docs/ README.pod LICENSE package/
86 cp -a run/Niecza.exe run/Niecza.ser run/Kernel.dll \
87 run/CompilerBlob.dll package/run/
88 cp lib/*.pm6 lib/*.setting package/lib/
89 cp obj/Run.Kernel.dll package/obj/
90
000cc772 »
2011-10-29 Checkpoint new bootstrap attempt
91 mknext: run/Niecza.exe obj/Run.Kernel.dll obj/Kernel.dll
92 rm -rf next/
93 mkdir -p next next/boot next/obj next/run next/boot next/boot/obj/
94 touch next/FETCH_URL next/.fetch-stamp
0417e673 »
2011-10-29 Switch build to using a /serialize bootstrap image
95 cp -a src/ lib/ docs/ README.pod LICENSE Makefile test.pl next/
000cc772 »
2011-10-29 Checkpoint new bootstrap attempt
96 cp -a run/ lib/ next/boot/
97 cp obj/Run.Kernel.dll obj/Kernel.dll next/boot/obj/
98 NIECZA_KEEP_IL=1 $(RUN_CLR) next/boot/run/Niecza.exe -C $(libunits)
99
c58db17b » mberends
2011-03-19 [Makefile] add targets aot spectest clean realclean and help
100 realclean: clean
101 @rm .fetch-stamp
102
103 help:
104 @echo ''
105 @echo 'You can make the following targets in this Niecza Makefile:'
106 @echo ''
107 @echo 'all the main Niecza compiler and runtime files (default)'
108 @echo 'aot Ahead of Time compile run/Niecza.exe and run/*.dll (increases speed)'
109 @echo 'test run/Niecza.exe test.pl'
110 @echo 'spectest t/run_spectests'
111 @echo 'clean remove all generated files'
112 @echo 'realclean clean and also require new download of bootstrap files'
113 @echo 'help this list of targets'
114 @echo ''
115
0417e673 »
2011-10-29 Switch build to using a /serialize bootstrap image
116 boot/obj/Run.NieczaBackendDotnet.ser: boot/obj/Run.CompilerBlob.dll
117
118 # grep -r '^use' src/*.pm6 | sed 's|src/\(.*\)\.pm6:use \(.*\);|boot/obj/Run.\1.ser: boot/obj/Run.\2.ser|' | grep -v MONKEY_TYPING
119 boot/obj/Run.NieczaActions.ser: boot/obj/Run.CgOp.ser
120 boot/obj/Run.NieczaActions.ser: boot/obj/Run.Op.ser
121 boot/obj/Run.NieczaActions.ser: boot/obj/Run.RxOp.ser
122 boot/obj/Run.NieczaActions.ser: boot/obj/Run.Sig.ser
123 boot/obj/Run.NieczaActions.ser: boot/obj/Run.CClass.ser
124 boot/obj/Run.NieczaActions.ser: boot/obj/Run.OpHelpers.ser
125 boot/obj/Run.NieczaActions.ser: boot/obj/Run.Operator.ser
126 boot/obj/Run.NieczaBackendDotnet.ser: boot/obj/Run.JSYNC.ser
127 boot/obj/Run.NieczaBackendDotnet.ser: boot/obj/Run.NieczaPassSimplifier.ser
128 boot/obj/Run.NieczaCompiler.ser: boot/obj/Run.JSYNC.ser
129 boot/obj/Run.NieczaFrontendSTD.ser: boot/obj/Run.STD.ser
130 boot/obj/Run.NieczaFrontendSTD.ser: boot/obj/Run.NieczaGrammar.ser
131 boot/obj/Run.NieczaFrontendSTD.ser: boot/obj/Run.NieczaActions.ser
132 boot/obj/Run.NieczaGrammar.ser: boot/obj/Run.STD.ser
133 boot/obj/Run.Operator.ser: boot/obj/Run.Sig.ser
134 boot/obj/Run.Operator.ser: boot/obj/Run.OpHelpers.ser
135 boot/obj/Run.Op.ser: boot/obj/Run.CgOp.ser
136 boot/obj/Run.OptBeta.ser: boot/obj/Run.CgOp.ser
137 boot/obj/Run.OptRxSimple.ser: boot/obj/Run.RxOp.ser
138 boot/obj/Run.RxOp.ser: boot/obj/Run.CgOp.ser
139 boot/obj/Run.RxOp.ser: boot/obj/Run.CClass.ser
140 boot/obj/Run.Sig.ser: boot/obj/Run.CgOp.ser
Something went wrong with that request. Please try again.