Commit fe2551c4 authored by Mo Zhou's avatar Mo Zhou

New upstream version 2019.03.1

parent 5fc86344

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

version: 2.1
variables:
build-parameters: &build-parameters
parameters:
moar-rev:
type: string
default: ""
nqp-rev:
type: string
default: ""
jobs:
test-linux:
machine: true
<<: *build-parameters
steps:
- build-rakudo:
nqp-rev: << parameters.nqp-rev >>
moar-rev: << parameters.moar-rev >>
test-macos:
macos:
xcode: "10.2.0"
<<: *build-parameters
steps:
- build-rakudo:
nqp-rev: << parameters.nqp-rev >>
moar-rev: << parameters.moar-rev >>
commands:
build-rakudo:
description: "Build MoarVM, NQP, and Rakudo"
<<: *build-parameters
steps:
- checkout
- run:
name: Build and test rakudo
command: |
perl Configure.pl --gen-moar=<< parameters.moar-rev >> --gen-nqp=<< parameters.nqp-rev >>
make test
make install
workflows:
version: 2
test:
jobs:
- test-linux
- test-linux:
nqp-rev: HEAD
moar-rev: HEAD
- test-macos
- test-macos:
nqp-rev: HEAD
moar-rev: HEAD
<!--
The template below contains optional suggestions. You
can omit some information.
-->
## The Problem
## Expected Behavior
## Actual Behavior
## Steps to Reproduce
<!-- Provide a set of steps to reproduce the problem.
If the program unexpectedly crashes, please run it with
`perl6 --ll-exception` and provide the produced output. -->
## Environment
* Operating system:
* Compiler version (`perl6 -v`):
/gen/*
nqp/
repo/
install/
install-jvm/
Makefile
*.pir
*.lib
*.dll
/*.dll.a
*.so
*.o
*.obj
*.exp
*.pdb
*.bundle
*~
.*.swp
*.patch
*.pdb
*.res
*.exp
*.lib
*.jar
*.moarvm
lib/Test.pir
lib/Pod/To/Text.pir
lib/lib.pir
CORE.setting.pbc
RESTRICTED.setting.pbc
SAFE.setting.pbc
/perl6
/perl6.exe
/perl6.bat
/perl6-p
/perl6-p.exe
perl6.class
perl6.pbc
perl6.moarvm
perl6_s1.pbc
perl6-p.exe.manifest
perl6-p.c
perl6-p.o
perl6-p.obj
perl6-debug-p
perl6-debug-p.c
perl6-debug-p.o
perl6-debug-p.obj
perl6-debug-p.exe
perl6-debug.pbc
perl6-debug.rc
perl6.RES
perl6.ilk
perl6.opt
perl6.pdb
perl6.rc
perl6-j
perl6-j.bat
perl6-debug-j
perl6-debug-j.bat
/perl6-lldb-m
perl6-m
perl6-m.bat
perl6-debug-m
perl6-debug-m.bat
perl6-js
perl6-js.bat
t/localtest.data
t/spec
t/packages/tap-harness6
/panda
perl6.c
perl6.o
MANIFEST
commits.png
docs/test_summary.times
dynext/*.o
dynext/*.obj
dynext/*.bundle
dynext/*.so
dynext/*.dll
dynext/*.pdb
dynext/*.dylib
perl6_group.?
perl6_group.obj
docs/test_summary.times
docs/test_summary.times.tmp
lib/DateTime/strftime.pir
lib/Safe.pir
rakudo_test_run.tar.gz
config.status
config.default
/bin
rakudo-runtime.jar
CORE.setting.class
perl6-jdb-server
perl6-jdb-server.bat
perl6-eval-server
perl6-eval-server.bat
eval-client.pl
perl6-gdb-m
perl6-valgrind-m
*.rakudo.moar
*.rakudo.jvm
.precomp
t/03-jvm/*.class
rakudo.js
/zef
.DS_Store
language: perl
os:
- linux
- osx
sudo: false
fast_finish: true
install: "echo"
dist: trusty
addons:
apt:
sources:
# add PPAs with more up-to-date toolchains
- ubuntu-toolchain-r-test
packages:
# install toolchains
- gcc-6
script:
- if [[ $TRAVIS_OS_NAME != osx && $RAKUDO_OPTIONS =~ jvm ]]; then sudo -E apt-get install oracle-java8-installer; fi
- perl Configure.pl $RAKUDO_OPTIONS --moar-option=--cc=$(command -v gcc-6 >/dev/null 2>&1; if [ $? -eq 1 ]; then printf "gcc"; else printf "gcc-6"; fi)
- "make install"
- (cd ~/build/rakudo/rakudo/ && prove -e ~/build/rakudo/rakudo/install/bin/perl6 -vlr t)
branches:
only:
- master
- /smoke-me/
notifications:
irc:
channels:
- "irc.freenode.net#perl6-dev"
on_success: change
on_failure: always
template:
- "Rakudo build %{result}. %{author} '%{commit_message}'"
- "%{build_url} %{compare_url}"
env:
- RAKUDO_OPTIONS="--backends=moar --gen-nqp --gen-moar"
- RAKUDO_OPTIONS="--backends=moar --gen-nqp=master --gen-moar"
- RAKUDO_OPTIONS="--backends=moar --gen-nqp=master --gen-moar=master"
- RAKUDO_OPTIONS="--backends=jvm --gen-nqp"
- RAKUDO_OPTIONS="--backends=jvm --gen-nqp=master"
matrix:
allow_failures:
- env: RAKUDO_OPTIONS="--backends=jvm --gen-nqp"
- env: RAKUDO_OPTIONS="--backends=jvm --gen-nqp=master"
......@@ -125,9 +125,9 @@ MAIN: {
$default_backend ||= 'moar';
}
unless (%backends or exists $options{'with-nqp'}) {
die "No suitable nqp executables found! Please specify some --backends, or a --prefix that contains nqp-{p,j,m} executables\n\n"
die "No suitable nqp executables found! Please specify some --backends, or a --prefix that contains nqp-{js,j,m} executables\n\n"
. "Example to build for all backends (which will take a while):\n"
. "\tperl Configure.pl --backends=moar,jvm --gen-moar\n\n"
. "\tperl Configure.pl --backends=ALL --gen-moar\n\n"
. "Example to build for MoarVM only:\n"
. "\tperl Configure.pl --gen-moar\n\n"
. "Example to build for JVM only:\n"
......@@ -306,7 +306,7 @@ MAIN: {
}
unless (@errors) {
print "Using $config{m_nqp} (version $nqp_config{'nqp::version'} / MoarVM $nqp_config{'moar::version'}).\n";
print "Using $config{'m_nqp'} (version $nqp_config{'nqp::version'} / MoarVM $nqp_config{'moar::version'}).\n";
$config{'perl6_ops_dll'} = sprintf($nqp_config{'moar::dll'}, 'perl6_ops_moar');
......@@ -319,7 +319,6 @@ MAIN: {
fill_template_file('tools/build/Makefile-Moar.in', $MAKEFILE, %config, %nqp_config);
}
}
if ($backends{js}) {
my %nqp_config;
$config{js_nqp} = $impls{js}{bin};
......@@ -332,7 +331,7 @@ MAIN: {
%nqp_config = %{ $impls{js}{config} };
}
elsif ( $impls{js}{config} ) {
push @errors, "The nqp-js is too old";
push @errors, "The nqp-js binary is too old";
}
else {
push @errors, "Unable to read configuration from NQP on JS";
......@@ -415,9 +414,9 @@ General Options:
--prefix=dir Install files in dir; also look for executables there
--libdir=dir Install architecture-specific files in dir; Perl6 modules included
--sdkroot=dir When given, use for searching build tools here, e.g.
nqp, java etc.
nqp, java, node etc.
--sysroot=dir When given, use for searching runtime components here
--backends=jvm,moar
--backends=jvm,moar,js
Which backend(s) to use (or ALL for all of them)
--gen-nqp[=branch]
Download, build, and install a copy of NQP before writing the Makefile
......