mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
cross compile
This commit is contained in:
parent
a35a52eb76
commit
313b380fde
1 changed files with 4 additions and 0 deletions
|
|
@ -158,6 +158,10 @@ if [[ "$FORCETARGET" == *"SKYLAKEX"* ]]; then
|
|||
exit 1
|
||||
fi
|
||||
fi
|
||||
# cross compilation
|
||||
if [[ "${GOTMINGW64}" == "1" ]]; then
|
||||
FORCETARGET+=HOSTCC=\"gcc\"
|
||||
fi
|
||||
#this fixes avx512 detection for icc
|
||||
if [[ "${CC}" == "icc" ]]; then
|
||||
FORCETARGET+=HOSTCC=\"icc -xhost\"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue