libcint: Fix +coulomb_erf and add +pypzpx (#34524)
This commit is contained in:
parent
2f82b213df
commit
1db849ee5f
@ -34,6 +34,11 @@ class Libcint(CMakePackage):
|
|||||||
variant(
|
variant(
|
||||||
"coulomb_erf", default=True, description="Enable attenuated coulomb operator integrals."
|
"coulomb_erf", default=True, description="Enable attenuated coulomb operator integrals."
|
||||||
)
|
)
|
||||||
|
variant(
|
||||||
|
"pypzpx",
|
||||||
|
default=False,
|
||||||
|
description="Enforce PYPZPX ordering of p-orbitals " "instead of PXPYPZ.",
|
||||||
|
)
|
||||||
variant("test", default=False, description="Build test programs")
|
variant("test", default=False, description="Build test programs")
|
||||||
variant("shared", default=True, description="Build the shared library")
|
variant("shared", default=True, description="Build the shared library")
|
||||||
|
|
||||||
@ -54,7 +59,8 @@ class Libcint(CMakePackage):
|
|||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
args = [
|
args = [
|
||||||
"-DWITH_COULOMB_ERF=" + str("+coulomb_erf" in spec),
|
"-DWITH_RANGE_COULOMB=" + str("+coulomb_erf" in spec),
|
||||||
|
"-DPYPZPX=" + str("+pypzpx" in spec),
|
||||||
"-DWITH_F12=" + str("+f12" in spec),
|
"-DWITH_F12=" + str("+f12" in spec),
|
||||||
"-DBUILD_SHARED_LIBS=" + str("+shared" in spec),
|
"-DBUILD_SHARED_LIBS=" + str("+shared" in spec),
|
||||||
"-DENABLE_TEST=" + str("+test" in spec),
|
"-DENABLE_TEST=" + str("+test" in spec),
|
||||||
|
Loading…
Reference in New Issue
Block a user