[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnet/tools pnet_build.README,1.1,1.2 pnet_bu
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnet/tools pnet_build.README,1.1,1.2 pnet_build.cfg,1.1,1.2 pnet_build.sh,1.1,1.2 |
Date: |
Tue, 10 Dec 2002 00:04:41 -0500 |
Update of /cvsroot/dotgnu-pnet/pnet/tools
In directory subversions:/tmp/cvs-serv31733/tools
Modified Files:
pnet_build.README pnet_build.cfg pnet_build.sh
Log Message:
Update the "pnet_build.sh" script to match the current repository
layout and to dump information about the system and tool versions.
Index: pnet_build.README
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/tools/pnet_build.README,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** pnet_build.README 14 Jun 2002 04:29:52 -0000 1.1
--- pnet_build.README 10 Dec 2002 05:04:39 -0000 1.2
***************
*** 68,80 ****
actual directory will be removed and the process restarts.
- The script can e-mail you if a failure occurs. Set the PNET_EMAIL_USER
- variable in the configuration file to your e-mail address, and make sure
- that sendmail has been configured properly for your system.
-
- Do not set it to the e-mail address of the Portable.NET developers or
- the discussion mailing lists. You should always inspect build failures
- yourself before reporting a problem to the developers. It may be a
- problem on your system.
-
The "pnet" tree can be configured and built in a number of different
profiles and configurations. These are typically selected by supplying
--- 68,71 ----
Index: pnet_build.cfg
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/tools/pnet_build.cfg,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** pnet_build.cfg 14 Jun 2002 04:29:52 -0000 1.1
--- pnet_build.cfg 10 Dec 2002 05:04:39 -0000 1.2
***************
*** 22,42 ****
fi
# Command to use to access the CVS server to check out and
# update the pristine version of the sources.
PNET_CVS="cvs -z3 -d:pserver:address@hidden:/cvsroot/dotgnu-pnet"
- # Command to use to e-mail failure notifications to the user.
- PNET_EMAIL_SEND="/usr/lib/sendmail -iU"
-
- # E-mail address of the user to send notifications to. Set this
- # to an empty string to disable notifications.
- #
- # Note: never send e-mail notifications to the authors of Portable.NET
- # using this facility. Always filter build problems first, because
- # it may be due to local problems, not something in the source code.
- #
- #PNET_EMAIL_USER="address@hidden"
- PNET_EMAIL_USER=""
-
# Special options to pnet's configure script, to tune for platform issues.
if test -z "$PNET_CONFIGURE_OPTIONS"; then
--- 22,32 ----
fi
+ # The command to use to run make. You may need to change this to "gmake".
+ PNET_MAKE="make"
+
# Command to use to access the CVS server to check out and
# update the pristine version of the sources.
PNET_CVS="cvs -z3 -d:pserver:address@hidden:/cvsroot/dotgnu-pnet"
# Special options to pnet's configure script, to tune for platform issues.
if test -z "$PNET_CONFIGURE_OPTIONS"; then
***************
*** 44,45 ****
--- 34,41 ----
PNET_CONFIGURE_OPTIONS=""
fi
+
+ # Extra options to pass to the "configure" commands for the other components.
+ PNET_CONFIGURE_TREECC=""
+ PNET_CONFIGURE_PNETLIB=""
+ PNET_CONFIGURE_PNETC=""
+ PNET_CONFIGURE_CSCCTEST=""
Index: pnet_build.sh
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/tools/pnet_build.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** pnet_build.sh 14 Jun 2002 04:29:52 -0000 1.1
--- pnet_build.sh 10 Dec 2002 05:04:39 -0000 1.2
***************
*** 29,42 ****
echo '*** Build failed at '"$DATEVAL"' ***'
fi
- if test -n "$PNET_EMAIL_USER" ; then
- cat << EOF | $PNET_EMAIL_SEND $PNET_EMAIL_USER
- To: $PNET_EMAIL_USER
- Subject: Portable.NET build failed
-
- Portable.NET build failed at ${DATEVAL}. Build log is in:
-
- $PNET_BUILD_LOG
- EOF
- fi
exit 1
}
--- 29,32 ----
***************
*** 135,138 ****
--- 125,138 ----
DATEVAL=`date`
echo '*** Build started at '"$DATEVAL"' ***' >"$PNET_BUILD_LOG"
+ echo '*** System: '`uname -a` >>"$PNET_BUILD_LOG"
+ echo '*** User: '"$USER" >>"$PNET_BUILD_LOG"
+ echo '*** Tool version information:' >>"$PNET_BUILD_LOG"
+ autoconf --version >>"$PNET_BUILD_LOG" 2>&1
+ automake --version >>"$PNET_BUILD_LOG" 2>&1
+ gcc -v >>"$PNET_BUILD_LOG" 2>&1
+ $PNET_MAKE -v >>"$PNET_BUILD_LOG" 2>&1
+ bison --version >>"$PNET_BUILD_LOG" 2>&1
+ flex --version >>"$PNET_BUILD_LOG" 2>&1
+ echo '*** End of tool version information' >>"$PNET_BUILD_LOG"
if test -z "$QUIET"; then
echo '*** Build started at '"$DATEVAL"' ***'
***************
*** 162,165 ****
--- 162,172 ----
run $PNET_CVS co pnetlib
fi
+ if test -d pnetC ; then
+ run cd pnetC
+ run $PNET_CVS update -d
+ run cd ..
+ else
+ run $PNET_CVS co pnetC
+ fi
if test -d cscctest ; then
run cd cscctest
***************
*** 174,177 ****
--- 181,185 ----
run rm -rf "$PNET_BUILD_ACTUAL/pnet"
run rm -rf "$PNET_BUILD_ACTUAL/pnetlib"
+ run rm -rf "$PNET_BUILD_ACTUAL/pnetC"
run rm -rf "$PNET_BUILD_ACTUAL/cscctest"
***************
*** 180,183 ****
--- 188,192 ----
run cp -pr "$PNET_BUILD_PRISTINE/pnet" "$PNET_BUILD_ACTUAL/pnet"
run cp -pr "$PNET_BUILD_PRISTINE/pnetlib" "$PNET_BUILD_ACTUAL/pnetlib"
+ run cp -pr "$PNET_BUILD_PRISTINE/pnetC" "$PNET_BUILD_ACTUAL/pnetC"
run cp -pr "$PNET_BUILD_PRISTINE/cscctest" "$PNET_BUILD_ACTUAL/cscctest"
***************
*** 185,226 ****
run cd "$PNET_BUILD_ACTUAL/treecc"
run ./auto_gen.sh
! run ./configure
! run make
! run make check
# Build pnet.
run cd "$PNET_BUILD_ACTUAL/pnet"
run ./auto_gen.sh
! TREECC="$PNET_BUILD_ACTUAL/treecc/treecc"
export TREECC
run ./configure $PNET_CONFIGURE_OPTIONS
! run make
! # Run the pnet samples and tests (basically checking for
! # segfaults, failures, and the like).
! run cd samples
! runsample ../engine/ilrun hello.exe
! runsample ../engine/ilrun fib.exe
! runsample ../engine/ilrun evenodd.exe
! runsample ../engine/ilrun except.exe
! runsample ../engine/ilrun codepage.exe
! runsample ../engine/ilrun codepage.exe 932
! runsample ../engine/ilrun getenv.exe
! runsample ../engine/ilrun getenv.exe PATH
! run cd ../tests
run ./test_verify -f
run ./test_thread -f
# Build pnetlib.
run cd "$PNET_BUILD_ACTUAL/pnetlib"
run ./auto_gen.sh
! run ./configure --with-pnet="$PNET_BUILD_ACTUAL/pnet"
! run make
# Configure and run cscctest.
run cd "$PNET_BUILD_ACTUAL/cscctest"
run ./auto_gen.sh
! run ./configure --with-pnet="$PNET_BUILD_ACTUAL/pnet"
! run make check
# Done.
--- 194,246 ----
run cd "$PNET_BUILD_ACTUAL/treecc"
run ./auto_gen.sh
! run ./configure $PNET_CONFIGURE_TREECC
! run $PNET_MAKE
! run $PNET_MAKE check
# Build pnet.
run cd "$PNET_BUILD_ACTUAL/pnet"
run ./auto_gen.sh
! TREECC="$PNET_BUILD_ACTUAL/treecc/treecc -s $PNET_BUILD_ACTUAL/etc"
export TREECC
run ./configure $PNET_CONFIGURE_OPTIONS
! run $PNET_MAKE
! # Run the pnet tests in "show failures only" mode.
! run cd tests
run ./test_verify -f
run ./test_thread -f
+ run ./test_crypt -f
# Build pnetlib.
run cd "$PNET_BUILD_ACTUAL/pnetlib"
run ./auto_gen.sh
! run ./configure --with-pnet="$PNET_BUILD_ACTUAL/pnet" $PNET_CONFIGURE_PNETLIB
! run $PNET_MAKE
! run $PNET_MAKE check
!
! # Build pnetC.
! run cd "$PNET_BUILD_ACTUAL/pnetC"
! run ./auto_gen.sh
! run ./configure --with-pnet="$PNET_BUILD_ACTUAL/pnet"
--with-pnetlib="$PNET_BUILD_ACTUAL/pnetlib" $PNET_CONFIGURE_PNETC
! run $PNET_MAKE
! run $PNET_MAKE check
!
! # Run the pnetlib samples (basically checking for segfaults,
! # simple exception failures, and the like).
! run cd samples
! runsample ./ilrun.sh hello.exe
! runsample ./ilrun.sh fib.exe
! runsample ./ilrun.sh evenodd.exe
! runsample ./ilrun.sh except.exe
! runsample ./ilrun.sh codepage.exe
! runsample ./ilrun.sh codepage.exe 932
! runsample ./ilrun.sh getenv.exe
! runsample ./ilrun.sh getenv.exe PATH
# Configure and run cscctest.
run cd "$PNET_BUILD_ACTUAL/cscctest"
run ./auto_gen.sh
! run ./configure --with-pnet="$PNET_BUILD_ACTUAL/pnet" $PNET_CONFIGURE_CSCCTEST
! run $PNET_MAKE check
# Done.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnet/tools pnet_build.README,1.1,1.2 pnet_build.cfg,1.1,1.2 pnet_build.sh,1.1,1.2,
Rhys Weatherley <address@hidden> <=