gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] gm2 building on trunc


From: Gaius Mulley
Subject: [Gm2] gm2 building on trunc
Date: Mon, 05 Jun 2017 13:35:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hello,

just thought I'd mention that gm2 now builds on gcc trunc.  I use the
following script to combine the gcc-trunc tree (subversion) with the gm2
(git tree) and the following script for building and testing the result:

#!/bin/bash

GM2URL=git://git.sv.gnu.org/gm2.git

DIR=`pwd`

function safe () {
    echo -n "executing: $1 "
    if $1 >& ${DIR}/log ; then
        echo "[ok]"
    else
        echo "[failed]"
        exit 1
    fi
}


function get_gm2 () {
    safe "git clone ${GM2URL}"
}

echo "please be patient some of these commands may take some time"
safe "rm -rf gcc-versionno gm2"
safe "mkdir gcc-versionno"
safe "svn checkout svn://gcc.gnu.org/svn/gcc/trunk gcc-versionno"
get_gm2
safe "cd gm2"
safe "git branch"
( cd ../ ; tar cf - gcc-versionno ) | tar xf -

safe "cd .."
safe "rm -rf gcc-versionno"
ln -s gm2/gcc-versionno
cd gm2/gcc-versionno
svn update

#  now we have both gm2 and gcc
#
#  we now apply the outstanding patches
#
for i in gcc/gm2/patches/gcc/trunc/* ; do
    patch -p1 < $i
done

Attachment: remake
Description: remake

normal caveats apply - that this is alpha code etc,

On jessie x86_64 I get the following results:

Passes    :  10532
Failures  :  60
Unresolved:  6

http://floppsie.comp.glam.ac.uk/gm2-results/regression-tests.html

regards,
Gaius

reply via email to

[Prev in Thread] Current Thread [Next in Thread]