mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 14:15:30 -04:00
force icc on macos to cross-compile x86 on arm64
This commit is contained in:
parent
3cd73c5204
commit
6978fa626d
1 changed files with 5 additions and 1 deletions
|
|
@ -64,8 +64,12 @@ if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]] ; then
|
|||
# source "$IONEAPI_ROOT"/compiler/latest/env/vars.sh
|
||||
source "$IONEAPI_ROOT"/setvars.sh --force
|
||||
export I_MPI_F90="$FC"
|
||||
#force icc on macos to cross-compile x86 on arm64
|
||||
if [[ "$os" == "Darwin" ]]; then
|
||||
CC=icc
|
||||
fi
|
||||
"$FC" -V
|
||||
|
||||
"$CC" -V
|
||||
fi
|
||||
if [[ -f "$IONEAPI_ROOT"/mpi/latest/env/vars.sh ]]; then
|
||||
source "$IONEAPI_ROOT"/mpi/latest/env/vars.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue