Skip to content

Commit

Permalink
Fix bash condition.
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
grafikrobot committed Jan 31, 2025
1 parent f16f611 commit f667777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ check_toolset ()
fi
# AIX IBM/XL (ibmcxx-clang/ibm)
IBMCXX=`ls -1 -r /opt/IBM/openxlC/17.*/bin/ibm-clang++_r`
if test_toolset ibmcxx-clang && test_uname AIX && && test "" != "${IBMCXX}" && test_compiler "${IBMCXX}" ; then B2_TOOLSET=ibmcxx-clang ; return ${TRUE} ; fi
if test_toolset ibmcxx-clang && test_uname AIX && test "" != "${IBMCXX}" && test_compiler "${IBMCXX}" ; then B2_TOOLSET=ibmcxx-clang ; return ${TRUE} ; fi
IBMCXX=`ls -1 -r /opt/IBM/xlc/16.*/bin/xlc++`
if test_toolset ibmcxx-ibm && test_uname AIX && && test "" != "${IBMCXX}" && test_compiler "${IBMCXX}" ; then B2_TOOLSET=ibmcxx-ibm ; return ${TRUE} ; fi
if test_toolset ibmcxx-ibm && test_uname AIX && test "" != "${IBMCXX}" && test_compiler "${IBMCXX}" ; then B2_TOOLSET=ibmcxx-ibm ; return ${TRUE} ; fi
# AIX VA C++ (vacpp)
if test_toolset vacpp && test_uname AIX && test_compiler xlC_r ; then B2_TOOLSET=vacpp ; return ${TRUE} ; fi
# PGI (pgi)
Expand Down

0 comments on commit f667777

Please sign in to comment.