def METHOD_NAME(self):
    spec = self.spec
    args = [
        "-DSCOREC_CXX_WARNINGS=OFF",
        self.define_from_variant("ENABLE_ZOLTAN", "zoltan"),
        "-DCMAKE_C_COMPILER=%s" % spec["mpi"].mpicc,
        "-DCMAKE_CXX_COMPILER=%s" % spec["mpi"].mpicxx,
        self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
        self.define_from_variant("PUMI_FORTRAN_INTERFACE", "fortran"),
        "-DMDS_ID_TYPE=%s" % ("long" if "+int64" in spec else "int"),
        "-DSKIP_SIMMETRIX_VERSION_CHECK=%s"
        % ("ON" if "~simmodsuite_version_check" in spec else "OFF"),
        self.define_from_variant("IS_TESTING", "testing"),
        "-DMESHES=%s" % join_path(self.stage.source_path, "pumi-meshes"),
    ]
    if spec.satisfies("fortran"):
        args += ["-DCMAKE_Fortran_COMPILER=%s" % spec["mpi"].mpifc]
    if spec.satisfies("@2.2.3"):
        args += ["-DCMAKE_CXX_STANDARD=11"]
    if self.spec.variants["simmodsuite"].value != "none":
        args.append("-DENABLE_SIMMETRIX=ON")
        mpi_id = spec["mpi"].name + spec["mpi"].version.up_to(1).string
        args.append("-DSIM_MPI=" + mpi_id)
        if self.spec.variants["simmodsuite"].value in ["kernels", "full"]:
            args.append("-DENABLE_SIMMETRIX=ON")
            args.append("-DSIM_PARASOLID=ON")
            args.append("-DSIM_ACIS=ON")
            args.append("-DSIM_DISCRETE=ON")
    return args