diff --git a/compile_cyg_make_short_check_64.sh b/compile_cyg_make_short_check_64.sh index 3e5b7f7ff..db441c53b 100644 --- a/compile_cyg_make_short_check_64.sh +++ b/compile_cyg_make_short_check_64.sh @@ -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 diff --git a/compile_linux.sh b/compile_linux.sh index 602c3fc50..cc193a06d 100755 --- a/compile_linux.sh +++ b/compile_linux.sh @@ -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 diff --git a/compile_macos_clang_M2.sh b/compile_macos_clang_M2.sh index 605b2daa2..e5423ded7 100644 --- a/compile_macos_clang_M2.sh +++ b/compile_macos_clang_M2.sh @@ -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 diff --git a/compile_macos_clang_M2_shared.sh b/compile_macos_clang_M2_shared.sh index 5a96f42fa..6f108c6c6 100644 --- a/compile_macos_clang_M2_shared.sh +++ b/compile_macos_clang_M2_shared.sh @@ -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 diff --git a/compile_macos_shared.sh b/compile_macos_shared.sh index a2370c409..a3cc91c4f 100755 --- a/compile_macos_shared.sh +++ b/compile_macos_shared.sh @@ -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 diff --git a/compile_min.sh b/compile_min.sh index 22cea900c..2bceb5887 100755 --- a/compile_min.sh +++ b/compile_min.sh @@ -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