Corrected OpenSSL usage for Python compile

This commit is contained in:
Adam Parler 2024-01-05 13:46:37 -08:00
parent e073a650a4
commit 0a448119aa

View file

@ -268,7 +268,7 @@ mpi_list="mpich openmpi intelmpi"
math_list="mkl acml openblas"
lib_list="fftw libint libxc libgrpp libxsmm cosma scalapack elpa cusolvermp plumed \
spfft spla ptscotch superlu pexsi quip gsl spglib hdf5 libvdwxc sirius
libvori libtorch"
libvori libtorch openssl"
package_list="${tool_list} ${mpi_list} ${math_list} ${lib_list}"
# ------------------------------------------------------------------------
@ -755,9 +755,9 @@ else
esac
fi
# IF building Python, then OpenSSL is required
# Python and its dependencies
if [ "${with_python}" = "__INSTALL__" ]; then
with_openssl="__INSTALL__"
[ "${with_openssl}" = "__DONTUSE__" ] && with_openssl="__INSTALL__"
fi
# If CUDA or HIP are enabled, make sure the GPU version has been defined.