Skip to content

Commit

Permalink
Build script:
Browse files Browse the repository at this point in the history
* Use -O1 optimization level with Debian 11 in order to work around g++ optimization bugs.
  • Loading branch information
mikeov committed Oct 26, 2024
1 parent a38bfef commit cbad04c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@ build_ubuntu() {
if [ x"$1" = x'14.04' ]; then
install_maven
QFSHADOOP_VERSIONS=$MYQFSHADOOP_VERSIONS_UBUNTU1404_CENTOS6
elif [ x"$1" = x'24.04' -o x"$1" = x'd12' ]; then
elif [ x"$1" = x'24.04' -o x"$1" = x'd11' -o x"$1" = x'd12' ]; then
# Work around -O2 optimization bugs.
MYCMAKE_OPTIONS=$MYCMAKE_OPTIONS" -D CMAKE_CXX_FLAGS_RELWITHDEBINFO='-O1 -g'"
fi
do_build_linux \
Expand Down

0 comments on commit cbad04c

Please sign in to comment.