aboutsummaryrefslogtreecommitdiff
path: root/Configure.pl
diff options
context:
space:
mode:
authorJonathan <jonathan@edument.se>2014-03-15 17:18:57 +0100
committerJonathan <jonathan@edument.se>2014-03-15 17:18:57 +0100
commit31977c5ae3c5ec7eb352a547f9cdff78103fed58 (patch)
treec1124fa8d6134e7cf83491961225a043b508568d /Configure.pl
parent361d74053732f75b74528ef8e5470e19465c0bd4 (diff)
Add --gen-moar option to Configure.pl.
Diffstat (limited to 'Configure.pl')
-rw-r--r--Configure.pl17
1 files changed, 10 insertions, 7 deletions
diff --git a/Configure.pl b/Configure.pl
index 829023c..4840abf 100644
--- a/Configure.pl
+++ b/Configure.pl
@@ -1,5 +1,5 @@
#! perl
-# Copyright (C) 2009 The Perl Foundation
+# Copyright (C) 2009-2014 The Perl Foundation
use 5.008;
use strict;
@@ -33,7 +33,7 @@ MAIN: {
my %options;
GetOptions(\%options, 'help!', 'prefix=s',
'backends=s', 'no-clean!',
- 'gen-nqp:s',
+ 'gen-nqp:s', 'gen-moar:s',
'gen-parrot:s', 'parrot-option=s@',
'parrot-make-option=s@',
'make-install!', 'makefile-timing!',
@@ -64,7 +64,7 @@ MAIN: {
$options{prefix} ||= 'install';
$options{prefix} = File::Spec->rel2abs($options{prefix});
my $prefix = $options{'prefix'};
- my %known_backends = (parrot => 1, jvm => 1);
+ my %known_backends = (parrot => 1, jvm => 1, moar => 1);
my %letter_to_backend;
my $default_backend;
for (keys %known_backends) {
@@ -223,14 +223,17 @@ Configure.pl - $lang Configure
General Options:
--help Show this text
--prefix=dir Install files in dir; also look for executables there
- --backends=parrot,jvm Which backend(s) to use
+ --backends=parrot,jvm,moar
+ Which backend(s) to use
+ --gen-moar[=branch]
+ Download and build a copy of MoarVM
--gen-nqp[=branch]
Download and build a copy of NQP
- --gen-parrot[=branch]
+ --gen-parrot[=branch]
Download and build a copy of Parrot
- --parrot-option='--option'
+ --parrot-option='--option'
Options to pass to Parrot's Configure.pl
- --parrot-make-option='--option'
+ --parrot-make-option='--option'
Options to pass to Parrot's make, for example:
--parrot-make-option='--jobs=4'
--makefile-timing Enable timing of individual makefile commands