pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS

Difference between
modified post 7a2d by Anonymous on Thu 29th Feb 2024 12:50
original post 19539ed1 by Anonymous on Mon 12th Feb 2024 15:52
Download diff
Show old version | new version | both versions

    
11
#!/usr/bin/ksh93
22
33
#
44
# nfstest_gcc_build.ksh93
55
#
66
# Simple NFSv4 torture test by building gcc in parallel
77
# on a NFS filesystem
88
#
99
set -o xtrace
1010
set -o errexit
11+
set -o nounset
1112
1213
#
1314
# build config
1415
#
1516
typeset config_cp_p_function_not_implemented_workaround=false
1617
typeset config_use_posix_ksh93_builtins=true
1718
1819
#
1920
# source checkout
2021
#
2122
2223
#time git -c checkout.workers=16 clone -b 'releases/gcc-13.2.0' --single-branch git://gcc.gnu.org/git/gcc.git
2324
#time git -c checkout.workers=16 clone -b 'releases/gcc-13.2.0' --single-branch https://github.com/gcc-mirror/gcc.git
24-
time git -c checkout.workers=16 clone -b 'releases/gcc-13.2.0' --single-branch git://repo.or.cz/gcc.git
2525
26-
26+
if [[ -f '../gcc.bundle' ]] ; then
27-
cd "$PWD/gcc/" || { sync ; sleep 5 ; cd gcc ; }
27+
	# Use local bundle as cache
28-
28+
	# The bundle was created like this:
29-
if $config_use_posix_ksh93_builtins ; then
29+
	# ---- snip ----
30-
	PATH="/usr/ast/bin:/opt/ast/bin:$PATH"
30+
	# git clone git://repo.or.cz/gcc.git
31+
	# cd gcc
3139
fi
3240
41+
cd "$PWD/gcc/"
3642
40-
(set -o xtrace ; sed -i "s/as_ln_s='cp -pR'/as_ln_s='ln -s'/g" $(find . -name 'configure') )
41-
43+
if $config_use_posix_ksh93_builtins ; then

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at