def METHOD_NAME(self):
    args = [
        "-Dwith-omp={}".format("+openmp" in self.spec),
        "-Denable-tecio={}".format("+tecio" in self.spec),
        "-Denable-cgns={}".format("+cgns" in self.spec),
        "-Denable-autodiff={}".format("+autodiff" in self.spec),
        "-Denable-directdiff={}".format("+direcdiff" in self.spec),
        "-Denable-pywrapper={}".format("+pywrapper" in self.spec),
        "-Denable-mkl={}".format("+mkl" in self.spec),
        "-Denable-openblas={}".format("+openblas" in self.spec),
        "-Denable-mpp={}".format("+mpp" in self.spec),
        "-Denable-mixedprec={}".format("+midexprec" in self.spec),
    ]
    if "+mkl" in self.spec:
        args.append("-Dmkl_root=" + self.spec["intel-oneapi-mkl"].prefix)
    if "+mpi" in self.spec:
        args.append("-Dwith-mpi=enabled")
    else:
        args.append("-Dwith-mpi=disabled")
    return args