Skip to content

Commit 3f3c69a

Browse files
committed
Add support for building and timing perl5 from component checkouts
1 parent c091a05 commit 3f3c69a

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

README

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ compilers is as follows:
2323

2424
# First step chews network bandwidth to mirror repos; see next section
2525
./bench setup
26-
./bench extract nqp niecza rakudo
27-
./bench build nqp/2013.05 rakudo/2013.05 niecza/v24
28-
./bench time nqp/2013.05 rakudo/2013.05 niecza/v24
29-
./bench compare nqp/2013.05 rakudo/2013.05 niecza/v24
26+
./bench extract perl5/v5.18.0 nqp/2013.05 rakudo/2013.05 niecza/v24
27+
./bench build perl5/v5.18.0 nqp/2013.05 rakudo/2013.05 niecza/v24
28+
./bench time perl5/v5.18.0 nqp/2013.05 rakudo/2013.05 niecza/v24
29+
./bench compare perl5/v5.18.0 nqp/2013.05 rakudo/2013.05 niecza/v24
3030

3131

3232
NETWORK TRAFFIC

compilers.pl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
language => 'Perl 5',
77
compiler => 'perl5',
88
vm => 'perl5',
9-
dir => 'BENCH',
10-
f_run => [qw( VM )],
11-
e_run => [qw( VM -E )],
12-
show_ver => [qw( VM -E say+$] )],
9+
f_run => [qw( install/bin/perl )],
10+
e_run => [qw( install/bin/perl -E )],
11+
show_ver => [qw( install/bin/perl -E say+$] )],
1312
},
1413
{
1514
name => 'p5.pl',

components.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,15 @@
4444
},
4545
"perl5": {
4646
"name": "perl5",
47-
"repo_url": "git://perl5.git.perl.org/perl.git"
47+
"repo_url": "git://perl5.git.perl.org/perl.git",
48+
"build_steps": [
49+
[ "make", "clean" ],
50+
[ "git", "clean", "-dxf" ],
51+
[ "rm", "-rf", "install" ],
52+
"./Configure -des -Dprefix=`pwd`/install",
53+
[ "make" ],
54+
[ "make", "install" ],
55+
]
4856
},
4957
"perlito": {
5058
"name": "perlito",

0 commit comments

Comments
 (0)