- $ cat ../nfstest_gcc_build.ksh93
- #!/usr/bin/ksh93
- set -o xtrace
- set -o errexit
- git clone -b 'releases/gcc-13.2.0' git://gcc.gnu.org/git/gcc.git
- cd $PWD/gcc/ || { sync ; sleep 5 ; cd gcc ; }
- # Cygwin: workaround for configure using cp -p where ln -s should be used
- # (this is an automake/autoconf issue, they should trust Cygwin and not use
- # ancient workarounds for issues which no longer exists)
- (set -o xtrace ; sed -i "s/as_ln_s='cp -pR'/as_ln_s='ln -s'/g" $(find . -name configure) )
- ./configure
- # workaround for $ cp -p # failing with "Function not implemented"
- (set -o xtrace ; sed -i -r 's/(cp.*)([[:space:]]+-p[[:space:]]+)/\1\2--no-preserve=ownership /g' $(find . -name Makefile -o -name Makefile.in) )
- (yes | make -j6 all)
- echo $?
- echo "#Done."
- roland_mainz@wingrendel02 /home/rmainz/tmp/winnfstest/cygwinbuilds/gcc_home_rmainz_build1
- ...
- real 968m25.039s
- user 646m33.523s
- sys 528m4.976s
- roland_mainz@wingrendel02 /home/rmainz/tmp/winnfstest/cygwinbuilds/gcc_home_rmainz_build1
nfstest_gcc_build.ksh93 timings
Posted by Anonymous on Tue 19th Dec 2023 10:19
raw | new post
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.