From 0a448119aa782b630cf71623ed6bf7c5f7f7db17 Mon Sep 17 00:00:00 2001 From: Adam Parler Date: Fri, 5 Jan 2024 13:46:37 -0800 Subject: [PATCH] Corrected OpenSSL usage for Python compile --- install_toolchain.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_toolchain.sh b/install_toolchain.sh index bf53501..9c488ed 100755 --- a/install_toolchain.sh +++ b/install_toolchain.sh @@ -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.