Skip to content

Commit 2e2c1e9

Browse files
authored
jenkins: fix compiler selection for ppcle Linux (#2285)
#2262 mistakenly added a duplicated case that prevented the previously existing logic from being executed. Merge the two centos cases for ppcle Linux. Signed-off-by: Richard Lau <riclau@uk.ibm.com>
1 parent 3a9a24f commit 2e2c1e9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

jenkins/scripts/select-compiler.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ if [ "$SELECT_ARCH" = "PPC64LE" ]; then
4747
export LINK="ppc64le-redhat-linux-g++"
4848
echo "Compiler set to devtoolset-8"
4949
return
50-
fi
51-
;;
52-
*centos7* )
53-
if [ "$NODEJS_MAJOR_VERSION" -gt "9" ]; then
50+
elif [ "$NODEJS_MAJOR_VERSION" -gt "9" ]; then
5451
# Setup devtoolset-6, sets LD_LIBRARY_PATH, PATH, etc.
5552
. /opt/rh/devtoolset-6/enable
5653
export CC="ccache ppc64le-redhat-linux-gcc"

0 commit comments

Comments
 (0)