Skip to content

Instantly share code, notes, and snippets.

@niner
Created May 6, 2020 15:15
Show Gist options
  • Save niner/3059e4fe8284d94fd6d3cc504cbb00b3 to your computer and use it in GitHub Desktop.
Save niner/3059e4fe8284d94fd6d3cc504cbb00b3 to your computer and use it in GitHub Desktop.
make distclean
if [ -e tools/build/NQP_REVISION ] ; then
git -C nqp checkout $(<tools/build/NQP_REVISION)
else
git -C nqp checkout $(<tools/templates/NQP_REVISION)
fi
pushd nqp
make distclean
if [ -e tools/build/MOAR_REVISION ] ; then
git -C MoarVM checkout $(<tools/build/MOAR_REVISION)
else
git -C MoarVM checkout $(<tools/templates/MOAR_REVISION)
fi
pushd MoarVM
make distclean
perl Configure.pl --prefix=/home/nine/rakudo/install || exit 125
make -j19 install || exit 125
popd
perl Configure.pl --prefix=/home/nine/rakudo/install --backends=moar || exit 125
make install || exit 125
popd
rm -Rf gen/*
git checkout .
/usr/bin/perl Configure.pl --prefix=/home/nine/rakudo/install --backends=moar || exit 125
make install || exit 125
cd /home/nine/Inline-Perl5
if raku -Ilib t/raku_block.t ; then
exit 1
else
exit 0
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment