- #!/usr/bin/ksh93
- set -o xtrace
- set -o errexit
- #git clone -b 'releases/gcc-13.2.0' -c checkout.workers=8 git://gcc.gnu.org/git/gcc.git
- git clone -b 'releases/gcc-13.2.0' -c checkout.workers=8 https://github.com/gcc-mirror/gcc.git
- cd $PWD/gcc/ || { sync ; sleep 5 ; cd gcc ; }
- PATH="/usr/ast/bin:/opt/ast/bin:$PATH"
- # 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;s/\/bin\/sh/\/bin\/ksh93/g" $(find . -name configure) )
- ksh93 ./configure
- # workaround for $ cp -p # failing with "Function not implemented"
- (set -o xtrace ; sed -i -r 's/(cp.*)([[:space:]]+-p[[:space:]]+)/\1\2 -A pt /g;s/\/bin\/sh/\/bin\/ksh93/g' $(find . -name Makefile -o -name Makefile.in) )
- ksh93 -c 'export SHELL=/bin/ksh93 ; (yes | make -j24 all)'
- echo $?
- echo "#Done."
nfstest_gcc_build.ksh93
Posted by Anonymous on Tue 6th Feb 2024 11:35
raw | new post
view followups (newest first): nfstest_gcc_build.ksh93 by Anonymous
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.