Skip to content

Commit

Permalink
Merge branch 'php/8.1' into php/8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Jun 22, 2023
2 parents 857dfe5 + 2a21c57 commit ca82842
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,12 @@ if [ "$DO_OPTIMIZE" != "no" ]; then
CFLAGS="$CFLAGS $GENERIC_CFLAGS"
fi
#clang does not understand the following and will fail
GCC_CFLAGS="$CFLAGS -funsafe-loop-optimizations -fpredictive-commoning -ftracer -ftree-loop-im -frename-registers -fcx-limited-range -ftree-parallelize-loops=4"
GCC_CFLAGS="$CFLAGS -funsafe-loop-optimizations -fpredictive-commoning -ftracer -ftree-loop-im -frename-registers -fcx-limited-range"
$CC $CFLAGS $GCC_CFLAGS -o test test.c >> "$DIR/install.log" 2>&1
if [ $? -eq 0 ]; then
CFLAGS="$CFLAGS $GCC_CFLAGS"
fi
#TODO: -ftree-parallelize-loops requires OpenMP - not sure if it will provide meaningful improvements yet
fi

if [ "$FSANITIZE_OPTIONS" != "" ]; then
Expand Down

0 comments on commit ca82842

Please sign in to comment.