Created
August 5, 2010 11:42
-
-
Save snarkyboojum/509612 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From cc5f0c7764aead438eee8f692a9a908bf1484dba Mon Sep 17 00:00:00 2001 | |
From: snarkyboojum <snarkyboojum@gmail.com> | |
Date: Thu, 5 Aug 2010 21:40:14 +1000 | |
Subject: [PATCH] Changes to get things humming on OS X | |
--- | |
Niecza.proj | 18 +++++++++--------- | |
niecza_eval | 2 +- | |
2 files changed, 10 insertions(+), 10 deletions(-) | |
diff --git a/Niecza.proj b/Niecza.proj | |
index 344dbc7..da67214 100644 | |
--- a/Niecza.proj | |
+++ b/Niecza.proj | |
@@ -24,7 +24,7 @@ | |
<Target Name="SafeMode" DependsOnTargets="SAFE.dll;WriteVersion"/> | |
<Target Name="Test" DependsOnTargets="CORE.dll;Test.dll;WriteVersion;PerlTask"> | |
- <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'cswrite', lang => 'CORE', main => 1, file => 'test.pl');"/> | |
+ <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'writecs', lang => 'CORE', main => 1, file => 'test.pl');"/> | |
<Csc Sources="MAIN.cs" TargetType="exe" OutputAssembly="MAIN.exe" | |
References="Test.dll;CORE.dll;Kernel.dll"/> | |
<Exec Command="prove -e mono MAIN.exe"/> | |
@@ -38,37 +38,37 @@ | |
<Target Name="Kernel.dll" Inputs="Kernel.cs" Outputs="Kernel.dll"> | |
<Csc Sources="Kernel.cs" TargetType="library" | |
OutputAssembly="Kernel.dll"/> | |
- <Exec Command="mono --aot Kernel.dll"/> | |
+ <Exec Command="mono Kernel.dll"/> | |
</Target> | |
<Target Name="CORE.cs" Inputs="@(CompilerPerl);SAFE_ast.store;CORE.setting" Outputs="CORE.cs;CORE_ast.store" DependsOnTargets="BuildSTD;SAFE.cs;Grammar;PerlTask"> | |
- <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'cswrite', lang => 'SAFE', file => 'CORE.setting');"/> | |
+ <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'writecs', lang => 'SAFE', file => 'CORE.setting');"/> | |
</Target> | |
<Target Name="SAFE.cs" Inputs="@(CompilerPerl);SAFE.setting" Outputs="SAFE.cs;SAFE_ast.store" DependsOnTargets="BuildSTD;Grammar;PerlTask"> | |
- <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'cswrite', lang => 'NULL', file => 'SAFE.setting');"/> | |
+ <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'writecs', lang => 'NULL', file => 'SAFE.setting');"/> | |
</Target> | |
<Target Name="Test.cs" Inputs="@(CompilerPerl);CORE_ast.store;Test.pm6" Outputs="Test.cs;Test_ast.store" DependsOnTargets="CORE.cs;BuildSTD;Grammar;PerlTask"> | |
- <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'cswrite', lang => 'CORE', file => 'Test.pm6');"/> | |
+ <Perl Code="use CompilerDriver ':all'; compile(stopafter => 'writecs', lang => 'CORE', file => 'Test.pm6');"/> | |
</Target> | |
<Target Name="CORE.dll" Inputs="CORE.cs;SAFE.dll;Kernel.dll" Outputs="CORE.dll" DependsOnTargets="CORE.cs;SAFE.dll;Kernel.dll"> | |
<Csc Sources="CORE.cs" TargetType="library" | |
OutputAssembly="CORE.dll" References="SAFE.dll;Kernel.dll"/> | |
- <Exec Command="mono --aot CORE.dll"/> | |
+ <Exec Command="mono CORE.dll"/> | |
</Target> | |
<Target Name="SAFE.dll" Inputs="SAFE.cs;Kernel.dll" Outputs="SAFE.dll" DependsOnTargets="SAFE.cs;Kernel.dll"> | |
<Csc Sources="SAFE.cs" TargetType="library" | |
OutputAssembly="SAFE.dll" References="Kernel.dll"/> | |
- <Exec Command="mono --aot SAFE.dll"/> | |
+ <Exec Command="mono SAFE.dll"/> | |
</Target> | |
<Target Name="Test.dll" Inputs="Test.cs;CORE.dll;Kernel.dll" Outputs="Test.dll" DependsOnTargets="Test.cs;CORE.dll;Kernel.dll"> | |
<Csc Sources="Test.cs" TargetType="library" | |
OutputAssembly="Test.dll" References="CORE.dll;Kernel.dll"/> | |
- <Exec Command="mono --aot Test.dll"/> | |
+ <Exec Command="mono Test.dll"/> | |
</Target> | |
<!-- Proper compiler bits --> | |
@@ -95,7 +95,7 @@ | |
<Target Name="BuildSTD" Inputs=".STD_checkout_stamp" | |
Outputs=".STD_build_stamp" DependsOnTargets="CheckoutSTD"> | |
<Exec WorkingDirectory="STD_checkout" Command="$(Make)"/> | |
- <Exec WorkingDirectory="STD_checkout" Command="$(Perl) tryfile STD.pm6"/> | |
+ <Exec WorkingDirectory="STD_checkout" Command="PERL6LIB=./lib:. $(Perl) tryfile STD.pm6"/> | |
<Touch AlwaysCreate="true" Files=".STD_build_stamp" | |
ContinueOnError="true"/> | |
</Target> | |
diff --git a/niecza_eval b/niecza_eval | |
index ed17e33..b372d55 100755 | |
--- a/niecza_eval | |
+++ b/niecza_eval | |
@@ -53,7 +53,7 @@ $lang = 'SAFE' if $safe; | |
sub run { | |
compile(main => !$module, stopafter => $stopafter, aot => $aot, | |
stagetime => $stagestats, lang => $lang, safe => $safe, @_); | |
- system 'mono --debug=casts MAIN.exe' if !$module && !$stopafter; | |
+ system 'mono MAIN.exe' if !$module && !$stopafter; | |
} | |
if (@ARGV) { | |
-- | |
1.7.0.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment