Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmmb #713

Closed
wants to merge 2 commits into from
Closed

Cmmb #713

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion model/bin/cmplr.env
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ if [ "$cmplr" == "gnu" ] || [ "$cmplr" == "gnu_debug" ] || [ "$cmplr" == "gnu_pr

# COMPILER - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

_GCC_VER="$(echo $(gcc --version | head -1 | cut -d ' ' -f 3 | cut -d '.' -f 1))"

# Only match `error` and `warn` at beginning of line:
err_pattern='^error'
warn_pattern='^warn'
Expand All @@ -252,7 +254,12 @@ if [ "$cmplr" == "gnu" ] || [ "$cmplr" == "gnu_debug" ] || [ "$cmplr" == "gnu_pr
# OPTIONS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

# common options
optc='-c -J$path_m -g -fno-second-underscore -ffree-line-length-none -fconvert=big-endian'
if [ ${_GCC_VER:-0} -ge 10 ] ; then
#optc='-c -J$path_m -p -g -fallow-argument-mismatch -fallow-invalid-boz -fno-second-underscore -ffree-line-length-none -fconvert=big-endian'
optc='-c -J$path_m -p -g -fallow-argument-mismatch -fno-second-underscore -ffree-line-length-none -fconvert=big-endian'
else
optc='-c -J$path_m -p -g -fno-second-underscore -ffree-line-length-none -fconvert=big-endian'
fi
optl='-o $prog -g'

# omp options
Expand Down