Skip to content

Commit

Permalink
ansible: add cmake for AIX (#2218)
Browse files Browse the repository at this point in the history
Install `cmake` on AIX from the [AIX Toolbox for Linux Applications](https://www.ibm.com/support/pages/aix-toolbox-linux-applications-downloads-alpha).

Refs: #2097
Refs: libuv/libuv#2731
  • Loading branch information
richardlau authored Mar 13, 2020
1 parent 4c093c7 commit ac8d5cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ packages: {
],

aix: [
'bash,gcc-c++,gcc6-c++,tar,unzip,git,make,sudo',
'bash,cmake,gcc-c++,gcc6-c++,tar,unzip,git,make,sudo',
],

debian7: [
Expand Down
4 changes: 2 additions & 2 deletions jenkins/scripts/select-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ elif [ "$SELECT_ARCH" = "AIXPPC" ]; then

if [ "$NODEJS_MAJOR_VERSION" -gt "9" ]; then
export LIBPATH=/opt/gcc-6.3/lib/gcc/powerpc-ibm-aix7.2.0.0/6.3.0/pthread/ppc64:/opt/gcc-6.3/lib
export PATH="/opt/ccache-3.7.4/libexec:/opt/gcc-6.3/bin:$PATH"
export PATH="/opt/ccache-3.7.4/libexec:/opt/gcc-6.3/bin:/opt/freeware/bin:$PATH"
export CC="gcc" CXX="g++" CXX_host="g++"
echo "Compiler set to 6.3"
return
Expand All @@ -111,7 +111,7 @@ elif [ "$SELECT_ARCH" = "AIXPPC" ]; then
echo "Setting compiler for Node version $NODEJS_MAJOR_VERSION on AIX7.1"

if [ "$NODEJS_MAJOR_VERSION" -gt "9" ]; then
export PATH="/opt/ccache-3.7.4/libexec:/opt/freeware/gcc6/bin:$PATH"
export PATH="/opt/ccache-3.7.4/libexec:/opt/freeware/gcc6/bin:/opt/freeware/bin:$PATH"
export CC="gcc" CXX="g++" CXX_host="g++"
echo "Compiler set to 6.3"
return
Expand Down

0 comments on commit ac8d5cf

Please sign in to comment.