1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Merge pull request #5756 from sylvestre/gnu-rebuilt

GNU: Improve the built
This commit is contained in:
Daniel Hofstetter 2023-12-31 14:00:05 +01:00 committed by GitHub
commit 89fd26c9db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,14 +102,12 @@ for binary in $(./build-aux/gen-lists-of-programs.sh --list-progs); do
done done
if test -f gnu-built; then if test -f gnu-built; then
# Change the PATH in the Makefile to test the uutils coreutils instead of the GNU coreutils
sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" Makefile
echo "GNU build already found. Skip" echo "GNU build already found. Skip"
echo "'rm -f $(pwd)/gnu-built' to force the build" echo "'rm -f $(pwd)/gnu-built' to force the build"
echo "Note: the customization of the tests will still happen" echo "Note: the customization of the tests will still happen"
else else
./bootstrap --skip-po ./bootstrap --skip-po
./configure --quiet --disable-gcc-warnings ./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references
#Add timeout to to protect against hangs #Add timeout to to protect against hangs
sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver
# Change the PATH in the Makefile to test the uutils coreutils instead of the GNU coreutils # Change the PATH in the Makefile to test the uutils coreutils instead of the GNU coreutils