mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 14:15:30 -04:00
always define CC
This commit is contained in:
parent
0da5c01b24
commit
5bbf802e21
1 changed files with 1 additions and 1 deletions
|
|
@ -66,11 +66,11 @@ else
|
|||
VEC=scalar
|
||||
fi
|
||||
echo VEC $VEC
|
||||
if [[ "${VEC}" == "avx512" ]]; then
|
||||
if [[ -z "${CC}" ]]; then
|
||||
CC=cc
|
||||
fi
|
||||
echo CC is $CC
|
||||
if [[ "${VEC}" == "avx512" ]]; then
|
||||
GCC_EXTRA=$(echo $CC | cut -c 1-3)
|
||||
if [ "$GCC_EXTRA" == gcc ]; then
|
||||
let GCCVERSIONGT5=$(expr `${CC} -dumpversion | cut -f1 -d.` \> 5)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue