def METHOD_NAME(self):
    args = [
        self.define("SERENITY_BUILD_TESTS", self.run_tests),
        self.define_from_variant("SERENITY_BUILD_PYTHON_BINDINGS", "python"),
        self.define("SERENITY_MARCH", ""),
        self.define("SERENITY_PREFER_XCFUN", False),
        self.define("SERENITY_USE_XCFUN", True),
        self.define("SERENITY_USE_LIBXC", True),
        self.define(
            "SERENITY_USE_INTEL_MKL", self.spec["lapack"].libs.names[0].startswith("mkl")
        ),
        self.define_from_variant("SERENITY_USE_LAPACK", "lapack"),
        self.define_from_variant("SERENITY_USE_BLAS", "blas"),
        self.define("SERENITY_USAGE_FROM_SOURCE", False),
        self.define("Libint2_DIR", self.spec["serenity-libint"].prefix.lib.cmake.libint2),
        self.define("XCFun_DIR", self.spec["xcfun"].prefix.share.XCFun),
        self.define("BUILD_SHARED_LIBS", True),
        self.define("BOOST_ROOT", self.spec["boost"].prefix),
        self.define("BOOST_LIBRARY_DIR", self.spec["boost"].libs.directories[0]),
        self.define("BOOST_INCLUDE_DIR", self.spec["boost"].headers.directories[0]),
        self.define("BOOST_NO_SYSTEM_PATHS", True),
        self.define("Boost_NO_BOOST_CMAKE", True),
    ]
    if "+python" in self.spec:
        args.append(self.define("PYTHON_EXECUTABLE", self.spec["python"].command.path))
    return args