fix for libstdc++ error

This commit is contained in:
edoapra 2025-12-08 16:46:27 -08:00
parent 8866d9addf
commit cbd5267669
No known key found for this signature in database
GPG key ID: 9E6A0B70826967BA

View file

@ -218,6 +218,12 @@ if [[ "$os" == "Linux" ]]; then
if [[ "$USE_LIBXC" == "-1" ]]; then
pkg_extra+=" libxc-dev"
fi
if [[ "$BUILD_PLUMED" == "1" ]]; then
if [[ "${FC}" == *"-"* ]]; then
gccver=$(echo ${FC} | cut -d - -f 2)
pkg_extra+="gcc-${gccver} libstdc++-${gccver}-dev g++-${gccver}"
fi
fi
echo "BLAS_ENV is" $BLAS_ENV
if [[ "$BLAS_ENV" == lib*openblas* ]]; then
pkg_extra+=" $BLAS_ENV"