Skip to content

Commit

Permalink
Merge pull request #1 from mgawan/mgawan-patch-1
Browse files Browse the repository at this point in the history
Update conv-mach-craype.sh
  • Loading branch information
mgawan authored May 16, 2024
2 parents ede740a + 1d1e181 commit 2cb921f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/arch/common/conv-mach-craype.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

PGCC=`CC -V 2>&1 | grep pgCC`
ICPC=`CC -V 2>&1 | grep Intel`
CLANG=`CC -V 2>&1 | grep 'clang'`
GNU=`CC -V 2>&1 | grep 'g++'`
CCE=`CC -V 2>&1 | grep 'Cray'`
PGCC=`CC -v 2>&1 | grep pgCC`
ICPC=`CC -v 2>&1 | grep Intel`
CLANG=`CC -v 2>&1 | grep 'clang'`
GNU=`CC -v 2>&1 | grep 'g++'`
CCE=`CC -v 2>&1 | grep 'Cray'`

CMK_CPP_CHARM="cpp -P"
CMK_CPP_C="cc"
Expand Down Expand Up @@ -133,7 +133,7 @@ CMK_CF90="ftn "
CMK_F90LIBS=""
fi

if test -n "$GNU"
if test -z "$CCE"
then
CMK_CF77="$CMK_CF77 -ffree-line-length-none"
CMK_CF90="$CMK_CF90 -ffree-line-length-none"
Expand Down

0 comments on commit 2cb921f

Please sign in to comment.