[svn:parrot] r44621 - trunk/config/gen/makefiles

cotto at svn.parrot.org cotto at svn.parrot.org
Thu Mar 4 07:58:56 UTC 2010


Author: cotto
Date: Thu Mar  4 07:58:55 2010
New Revision: 44621
URL: https://trac.parrot.org/parrot/changeset/44621

Log:
[build] add a testO2 target to run parrot with imcc optimizations
note: this exposes some extravagant brokenness soon to be reverted

Modified:
   trunk/config/gen/makefiles/root.in

Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in	Thu Mar  4 07:41:18 2010	(r44620)
+++ trunk/config/gen/makefiles/root.in	Thu Mar  4 07:58:55 2010	(r44621)
@@ -1698,6 +1698,7 @@
 #IF(cg_flag):	testg \
 	testr \
 	testS \
+	testO2 \
 	src_tests \
 	run_tests \
 	perl_tests \
@@ -1741,6 +1742,10 @@
 testS : test_prep
 	$(PERL) t/harness $(EXTRA_TEST_ARGS) -S $(RUNCORE_TEST_FILES)
 
+# enable imcc/pirc optimizations
+testO2 : test_prep
+	$(PERL) t/harness $(EXTRA_TEST_ARGS) -O2 $(RUNCORE_TEST_FILES)
+
 # Computed goto jitted core - target retained, but falls back to standard core
 testCj : test_prep
 	$(PERL) t/harness $(EXTRA_TEST_ARGS) $(RUNCORE_TEST_FILES)


More information about the parrot-commits mailing list