Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add --gen-moar option to Configure.pl.
  • Loading branch information
Jonathan committed Mar 15, 2014
1 parent 361d740 commit 31977c5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions 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;
Expand Down Expand Up @@ -33,7 +33,7 @@
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!',
Expand Down Expand Up @@ -64,7 +64,7 @@
$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) {
Expand Down Expand Up @@ -223,14 +223,17 @@ sub print_help {
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
Expand Down

0 comments on commit 31977c5

Please sign in to comment.