macos: try x86 python on arm64 using pyenv

This commit is contained in:
edoapra 2022-09-13 13:04:54 -07:00
parent fffaff39b2
commit 4768169242
No known key found for this signature in database
GPG key ID: E6E392F4E14FB937

View file

@ -73,7 +73,8 @@ if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]] ; then
unset BUILD_PLUMED
# python arm64 not compatible with x86_64
if [[ "$arch" == "arm64" ]]; then
export NWCHEM_MODULES=$(echo $NWCHEM_MODULES |sed 's/python//')
# export NWCHEM_MODULES=$(echo $NWCHEM_MODULES |sed 's/python//')
[ -d ~/.pyenv/versions/3.10.6_x86 ] && pyenv shell 3.10.6_x86
fi
fi