Skip to content

Commit

Permalink
jenkins: use ccache with gcc/g++ on ppc64le
Browse files Browse the repository at this point in the history
ccache doesn't have wrappers for gcc-6,g++-4, etc., so call ccache
explicitly.
  • Loading branch information
sam-github committed Sep 30, 2019
1 parent 70df2a4 commit c105ccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ if [ "$SELECT_ARCH" = "PPC64LE" ]; then
fi

# Select the appropriate compiler
export CC="gcc-${COMPILER_LEVEL}"
export CXX="g++-${COMPILER_LEVEL}"
export CC="ccache gcc-${COMPILER_LEVEL}"
export CXX="ccache g++-${COMPILER_LEVEL}"
export LINK="g++-${COMPILER_LEVEL}"

echo "Compiler set to $COMPILER_LEVEL"
Expand Down

0 comments on commit c105ccc

Please sign in to comment.