You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text_before_dot="${FC_version%%.*}"# grab text before first dot
38
+
major_version="${text_before_dot##* }"# grab text after final space
39
+
if((${major_version}>=10));then
40
+
export FFLAGS="-w -fallow-argument-mismatch"
41
+
fi
33
42
fi
34
43
35
44
if [[ "${package_to_build}"=="cmake"&&$(uname)=="Linux" ]];then
@@ -48,8 +57,8 @@ build_and_install()
48
57
else# build from source
49
58
50
59
info "Configuring ${package_to_build}${version_to_build} with the following command:"
51
-
info "FC=\"${FC:-'gfortran'}\" CC=\"${CC:-'gcc'}\" CXX=\"${CXX:-'g++'}\"\"${download_path}/${package_source_directory}\"/configure --prefix=\"${install_path}\""
info "FFLAGS=${FFLAGS:-}FC=\"${FC:-'gfortran'}\" CC=\"${CC:-'gcc'}\" CXX=\"${CXX:-'g++'}\"\"${download_path}/${package_source_directory}\"/configure --prefix=\"${install_path}\""
0 commit comments