Skip to content

Commit 6601bc8

Browse files
committed
Fix InstallScript build on osx
- install.sh does not like it if you pass an empty -C argument (c++) when also passing -f (Fortran) and -c (c compiler)
1 parent 3a2faf4 commit 6601bc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

developer-scripts/travis/test-script.InstallScript.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ trap '__caf_err_report "${FUNCNAME:-.}" ${LINENO}' ERR
2222
echo "Performing Travis-CI script phase for the OpenCoarrays installation script..."
2323
export FC=gfortran-${GCC}
2424
export CC=gcc-${GCC}
25+
export CXX=g++-${GCC}
2526
./install.sh --yes-to-all -i "${HOME}/opencoarrays" -j 4 -f "$(type -P "${FC}")" -c "$(type -P "${CC}")" -C "$(type -P "${CXX}")"
2627
BUILD_LOC=(prerequisites/builds/opencoarrays/*/)
2728
BUILD_LOC_DIR="${BUILD_LOC[${#BUILD_LOC[@]}-1]}"

0 commit comments

Comments
 (0)