Skip to content

Commit d454513

Browse files
committed
add nqp-jvm target
1 parent 692b905 commit d454513

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

build-scripts/rebuild-nqp-jvm.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/sh
2+
export PATH=/home/p6eval/nqp-jvm/nqp/install/bin:/home/p6eval/nqp-jvm/jdk1.7.0/bin:/home/p6eval/nqp-jvm/jdk1.7.0/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
3+
cd
4+
set -e
5+
echo -e "\n\nNew nqp-jvm build"
6+
date
7+
cd nqp-jvm/nqp
8+
git fetch origin
9+
if ! diff .git/refs/remotes/origin/master .git/refs/heads/master
10+
then
11+
git pull
12+
perl Configure.pl --gen-parrot
13+
make install
14+
fi
15+
cd ..
16+
git fetch origin
17+
if ! diff .git/refs/remotes/origin/master .git/refs/heads/master
18+
then
19+
git pull
20+
make clean
21+
make
22+
fi
23+

sync.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
std => [qw!std/snap/ std/snap/!],
1313
star => [qw/star/, ''],
1414
pugs => [qw/.cabal Pugs.hs/, ''],
15+
'nqp-jvm' => [qw/nqp-jvm/, ''],
1516
);
1617

1718
if ($dirs{$sync}) {

0 commit comments

Comments
 (0)