Skip to content

Commit

Permalink
Use mono's AOT compiler on Setting.dll, saving ~1.5s on each run
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan O'Rear committed Jul 14, 2010
1 parent d7f3d96 commit 528927c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,6 +1,7 @@
Program.exe
Program.cs
Setting.dll
Setting.dll.so
Setting.cs
setting_ast.store
*.swp
Expand Down
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -9,6 +9,7 @@ test: all
all: Niecza/Grammar.pmc
perl -MCompilerDriver=:all -e 'header; setting' > Setting.cs
gmcs /target:library /out:Setting.dll Kernel.cs Setting.cs
mono --aot Setting.dll

Niecza/Grammar.pmc: Niecza/Grammar.pm6
STD5PREFIX=$(STDBASE)/ $(STDENV) $(STDBASE)/viv -5 -o Niecza/Grammar.pmc Niecza/Grammar.pm6

0 comments on commit 528927c

Please sign in to comment.