libint2: generate and build a simpler configuration

This configuration takes less time to generate and build.
The previous configuration was meant to be compatible with psi4, but It turns out psi4 is much complicated.
This commit is contained in:
مهدي شينون (Mehdi Chinoune) 2024-06-20 17:18:52 +01:00
parent f7b4a3ef55
commit a356db6a1f

View File

@ -4,7 +4,7 @@ _realname=libint
pkgbase=mingw-w64-${_realname}2
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}2")
pkgver=2.9.0
pkgrel=1
pkgrel=2
pkgdesc="high-performance library for computing Gaussian integrals in quantum mechanics (mingw-w64)"
arch=('any')
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
@ -40,16 +40,13 @@ _generate_source() {
cd "${srcdir}"
mkdir -p generated && cd generated
local LMAX=4
local LMAX=5
../${_realname}-${pkgver}/configure \
--srcdir=../${_realname}-${pkgver} \
--with-cxxgen-optflags="${CXXFLAGS}" \
--enable-eri=2 \
--enable-eri3=2 \
--enable-eri2=2 \
--enable-g12=1 \
--enable-1body=2 \
--disable-1body-property-derivs \
--enable-eri=1 \
--enable-eri3=1 \
--enable-eri2=1 \
--with-max-am=${LMAX} \
--with-opt-am=3 \
--with-eri-max-am=${LMAX},$((LMAX-1)) \