Add a note on --enable-predictor and -march=native

This commit is contained in:
Holger Vogt 2025-12-28 23:17:21 +01:00
parent 8d21c8e79b
commit 6ff339ee9c
6 changed files with 7 additions and 1 deletions

View File

@ -27,10 +27,11 @@ if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi
echo
# If truncation error correction by voltage is required, add --enable-predictor
# If compiling for a local machine, you may add -march=native to the CFLAGS shown below
cd release64_cyg
if [ $? -ne 0 ]; then echo "cd release64_cyg failed"; exit 1 ; fi
echo
../configure --with-x=yes --enable-cider --enable-shortcheck CFLAGS="-O2 -m64 -Wall -Wextra -Wshadow" LDFLAGS="-s -m64"
../configure --with-x=yes --enable-cider --enable-predictor --enable-shortcheck CFLAGS="-march=native -O2 -m64 -Wall -Wextra -Wshadow" LDFLAGS="-s -m64"
if [ $? -ne 0 ]; then echo "../configure failed"; exit 1 ; fi

View File

@ -39,6 +39,7 @@ if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi
echo
# If truncation error correction by voltage is required, add --enable-predictor
# If compiling for a local machine, you may add -march=native to the CFLAGS shown below
if test "$1" = "d"; then
cd debug
if [ $? -ne 0 ]; then echo "cd debug failed"; exit 1 ; fi

View File

@ -38,6 +38,7 @@ if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi
echo
# If truncation error correction by voltage is required, add --enable-predictor
# If compiling for a local machine, you may add -march=native to the CFLAGS shown below
if test "$1" = "d"; then
cd debug
if [ $? -ne 0 ]; then echo "cd debug failed"; exit 1 ; fi

View File

@ -38,6 +38,7 @@ if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi
echo
# If truncation error correction by voltage is required, add --enable-predictor
# If compiling for a local machine, you may add -march=native to the CFLAGS shown below
if test "$1" = "d"; then
cd debug_sh
if [ $? -ne 0 ]; then echo "cd debug_sh failed"; exit 1 ; fi

View File

@ -33,6 +33,7 @@ fi
if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi
# If truncation error correction by voltage is required, add --enable-predictor
# If compiling for a local machine, you may add -march=native to the CFLAGS shown below
echo
if test "$1" = "d"; then
cd debug-sh

View File

@ -43,6 +43,7 @@ if [ $? -ne 0 ]; then echo "./autogen.sh failed"; exit 1 ; fi
echo
# If truncation error correction by voltage is required, add --enable-predictor
# If compiling for a local machine, you may add -march=native to the CFLAGS shown below
if test "$1" = "d"; then
cd debug
if [ $? -ne 0 ]; then echo "cd debug failed"; exit 1 ; fi