Skip to content

Commit

Permalink
Set GCC 10.3 compiler for Semeru 17+ builds on Linux
Browse files Browse the repository at this point in the history
Build IBM Semeru 17+ with gcc 10.3.0 instead of gcc 7.5.0.
Issue: eclipse-openj9/openj9#14268

Signed-off-by: Violeta Sebe <[email protected]>
  • Loading branch information
vsebe committed May 12, 2022
1 parent 7bb528a commit e4c694b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-farm/platform-specific-configurations/linux.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ if [ "${VARIANT}" == "${BUILD_VARIANT_DRAGONWELL}" ] && [ "$JAVA_FEATURE_VERSION
export CXX=/usr/local/gcc9/bin/g++-9.3
# Enable GCC 10 for Java 17+ for repeatable builds, but not for our supported releases
# Ref https://github.com/adoptium/temurin-build/issues/2787
elif [ "$JAVA_FEATURE_VERSION" -ge 17 ] && [ "${VARIANT}" != "${BUILD_VARIANT_OPENJ9}" ] && [ -r /usr/local/gcc10/bin/gcc-10.3 ]; then
elif [ "$JAVA_FEATURE_VERSION" -ge 17 ] && [ -r /usr/local/gcc10/bin/gcc-10.3 ]; then
export PATH=/usr/local/gcc10/bin:$PATH
[ -r /usr/local/gcc10/bin/gcc-10.3 ] && export CC=/usr/local/gcc10/bin/gcc-10.3
[ -r /usr/local/gcc10/bin/g++-10.3 ] && export CXX=/usr/local/gcc10/bin/g++-10.3
Expand Down

0 comments on commit e4c694b

Please sign in to comment.