Browse Source

Merge remote branch 'github/master'

master
Jonathan "Duke" Leto 14 years ago
parent
commit
a28f2ad6ed
  1. 6
      bin/compile_parrots.pl
  2. 45
      bin/get_parrots
  3. 14
      config/.bashrc.aliases

6
bin/compile_parrots.pl

@ -5,7 +5,6 @@ use warnings;
use File::Spec::Functions;
use Data::Dumper;
use Cwd;
use 5.010;
$|++;
my $cwd = cwd;
@ -16,8 +15,9 @@ my @parrot_dirs = grep { -d $_ } glob catdir($src_dir,'parrot*');
#warn Dumper [ @parrot_dirs ];
for my $parrot_dir (@parrot_dirs) {
say "Compiling $parrot_dir";
chdir $parrot_dir;
next if -e 'parrot';
print "Compiling $parrot_dir\n";
trace_cmd("make realclean",0); # maybe make this a cmd line flag?
trace_cmd("$^X Configure.pl --optimize --prefix=$parrot_dir/installed_parrot",1);
trace_cmd("make -j2",1);
@ -26,7 +26,7 @@ for my $parrot_dir (@parrot_dirs) {
sub trace_cmd {
my ($cmd,$handle_errors) = @_;
say $cmd;
print "$cmd\n";
system "$cmd &>/dev/null";
handle_errors($?) if $handle_errors && $?;
}

45
bin/get_parrots

@ -1,23 +1,30 @@
#!/bin/sh
#dev releases
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/0.8.2/parrot-0.8.2.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/0.9.1/parrot-0.9.1.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.1.0/parrot-1.1.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.2.0/parrot-1.2.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.3.0/parrot-1.3.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.5.0/parrot-1.5.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.6.0/parrot-1.6.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.7.0/parrot-1.7.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.8.0/parrot-1.8.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/1.9.0/parrot-1.9.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/2.1.0/parrot-2.1.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/2.2.0/parrot-2.2.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/devel/2.4.0/parrot-2.4.0.tar.gz
#stable
#wget http://ftp.parrot.org/releases/stable/1.0.0/parrot-1.0.0.tar.gz
#wget http://ftp.parrot.org/releases/stable/1.4.0/parrot-1.4.0.tar.gz
#wget http://ftp.parrot.org/releases/stable/2.0.0/parrot-2.0.0.tar.gz
wget http://ftp.parrot.org/releases/stable/2.3.0/parrot-2.3.0.tar.gz
wget http://ftp.parrot.org/releases/stable/2.6.0/parrot-2.6.0.tar.gz
#live
#dev
#wget http://ftp.parrot.org/releases/devel/0.8.1/parrot-0.8.1.tar.gz
#wget http://ftp.parrot.org/releases/devel/0.8.2/parrot-0.8.2.tar.gz
#wget http://ftp.parrot.org/releases/devel/0.9.0/parrot-0.9.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/0.9.1/parrot-0.9.1.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.1.0/parrot-1.1.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.2.0/parrot-1.2.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.3.0/parrot-1.3.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.4.0/parrot-1.4.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.5.0/parrot-1.5.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.6.0/parrot-1.6.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.7.0/parrot-1.7.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.8.0/parrot-1.8.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/1.9.0/parrot-1.9.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/2.1.0/parrot-2.1.0.tar.gz
#wget http://ftp.parrot.org/releases/devel/2.1.1/parrot-2.1.1.tar.gz
wget http://ftp.parrot.org/releases/devel/2.2.0/parrot-2.2.0.tar.gz
wget http://ftp.parrot.org/releases/devel/2.4.0/parrot-2.4.0.tar.gz
wget http://ftp.parrot.org/releases/devel/2.5.0/parrot-2.5.0.tar.gz
wget http://ftp.parrot.org/releases/devel/2.7.0/parrot-2.7.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/stable/1.0.0/parrot-1.0.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/stable/1.4.0/parrot-1.4.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/stable/2.0.0/parrot-2.0.0.tar.gz
wget ftp://ftp.parrot.org/pub/parrot/releases/stable/2.3.0/parrot-2.3.0.tar.gz

14
config/.bashrc.aliases

@ -77,8 +77,8 @@ alias pp1="patch -p1"
alias new_plumage="make realclean; parrot_nqp Configure.nqp; make"
alias test_new_plumage="new_plumage && make test"
alias nqp=~/git/nqp-rx/parrot_install/bin/nqp
alias smolder_parrot="sup && new_parrot && make -j 3 smolder_test"
alias smolder_parrot_optimize="sup && new_parrot_optimize && make -j 3 smolder_test"
alias smolder_parrot="sup && new_parrot && make -j $TEST_JOBS smolder_test"
alias smolder_parrot_optimize="sup && new_parrot_optimize && make -j $TEST_JOBS smolder_test"
alias new_rakudo="git fetch --all; git rebase origin/master ; perl Configure.pl --gen-parrot; make install"
@ -95,7 +95,9 @@ alias cg='valgrind --dsymutil=yes --dump-instr=yes --trace-jump=yes'
alias rot13="perl -pe 'y/a-zA-Z/n-za-mN-ZA-M/'"
#alias ls='ls --color=auto'
####### git aliases
###### git aliases
# requires ruby
alias git=hub
alias grc="git rebase --continue"
alias glp="git log -p"
@ -193,10 +195,10 @@ alias svn_delete_nonexistent="svn stat | grep '^!' | sed -e 's/^\! *//' | xargs
alias new_pg="make clean; ./configure --prefix=$HOME --with-perl --enable-debug --enable-cassert --with-libxml"
# parrot stuff
alias new_parrot="make realclean; perl Configure.pl --ccflags=-g --prefix=$PWD/installed_parrot && nice -n20 make -j4 && make install"
alias new_parrot="make realclean; perl Configure.pl --ccflags=-g --prefix=$PWD/installed_parrot && nice -n20 make -j$TEST_JOBS && make install"
alias new_parrot_optimize="make realclean; perl Configure.pl --ccflags=-g --optimize --prefix=$PWD/installed_parrot && nice -n20 make -j4 && make instal"
alias new_system_parrot="make realclean; perl Configure.pl --ccflags=-g --optimize && nice -n20 make -j4"
alias new_parrot_optimize="make realclean; perl Configure.pl --ccflags=-g --optimize --prefix=$PWD/installed_parrot && nice -n20 make -j$TEST_JOBS && make install"
alias new_system_parrot="make realclean; perl Configure.pl --ccflags=-g --optimize && nice -n20 make -j$TEST_JOBS"
alias psh="perl tools/dev/parrot_shell.pl"
alias j=jobs

Loading…
Cancel
Save