[svn:parrot] r44842 - in branches/ops_pct: compilers/pct config/gen/makefiles
cotto at svn.parrot.org
cotto at svn.parrot.org
Wed Mar 10 02:26:05 UTC 2010
Author: cotto
Date: Wed Mar 10 02:26:00 2010
New Revision: 44842
URL: https://trac.parrot.org/parrot/changeset/44842
Log:
[opsc] add bootstrap-ops and bootstrap-ops-test makefile targets, which attempt to build and test parrot with a opsc-generated ops
also, fix pct's makefile to depend on pbc_merge explicitly
Modified:
branches/ops_pct/compilers/pct/Rules.mak
branches/ops_pct/config/gen/makefiles/root.in
Modified: branches/ops_pct/compilers/pct/Rules.mak
==============================================================================
--- branches/ops_pct/compilers/pct/Rules.mak Wed Mar 10 01:50:21 2010 (r44841)
+++ branches/ops_pct/compilers/pct/Rules.mak Wed Mar 10 02:26:00 2010 (r44842)
@@ -4,7 +4,7 @@
$(LIBRARY_DIR)/PCT/Grammar.pbc $(LIBRARY_DIR)/PCT/PAST.pbc
$(PARROT) -o $@ compilers/pct/PCT.pir
-$(LIBRARY_DIR)/PCT/PAST.pbc : compilers/pct/src/PAST.pir $(PARROT) \
+$(LIBRARY_DIR)/PCT/PAST.pbc : compilers/pct/src/PAST.pir $(PARROT) $(PBC_MERGE) \
$(LIBRARY_DIR)/PCT/HLLCompiler.pbc \
compilers/pct/src/PCT/Node.pbc \
compilers/pct/src/PAST/Node.pbc \
Modified: branches/ops_pct/config/gen/makefiles/root.in
==============================================================================
--- branches/ops_pct/config/gen/makefiles/root.in Wed Mar 10 01:50:21 2010 (r44841)
+++ branches/ops_pct/config/gen/makefiles/root.in Wed Mar 10 02:26:00 2010 (r44842)
@@ -807,6 +807,13 @@
installable: all $(INSTALLABLEPARROT) $(INSTALLABLEPDUMP) $(INSTALLABLEDIS) $(INSTALLABLEPDB) $(INSTALLABLEPBC_MERGE) $(INSTALLABLEPBCTOEXE) $(INSTALLABLECONFIG) $(INSTALLABLENQP) $(INSTALLABLENCITHUNKGEN)
+bootstrap-ops : opsc
+ $(NQP_RX) compilers/opsc/ops2c.nqp
+ make
+
+bootstrap-ops-test : opsc
+ $(NQP_RX) compilers/opsc/ops2c.nqp
+ make test
runtime/parrot/include/parrotlib.pbc: runtime/parrot/library/parrotlib.pir $(PARROT) $(GEN_PASM_INCLUDES)
$(PARROT) -o $@ runtime/parrot/library/parrotlib.pir
More information about the parrot-commits
mailing list