def METHOD_NAME(self):
    spec = self.spec
    # Add in paths for finding package config files that tell us
    # where to find these packages
    METHOD_NAME = ["-DCMAKE_VERBOSE_MAKEFILE=ON", "-DCMAKE_BUILD_TYPE=Release"]
    # check to see if the testing variant is enabled
    if spec.satisfies("+test"):
        METHOD_NAME.extend(["-DENABLE TESTS=On"])
    # check to see if the TypeArt variant is enabled
    if spec.satisfies("+typeart"):
        METHOD_NAME.extend(["-DENABLE TYPEART=On"])
    # check to see if the Thread Sanitizer variant is enabled
    if spec.satisfies("+tsan"):
        METHOD_NAME.extend(["-DENABLE TSAN=On"])
    else:
        # if the Thread Sanitizer variant is disabled
        # send corresponding cmake argument to the cmake command
        if spec.satisfies("~tsan"):
            METHOD_NAME.extend(["-DENABLE TSAN=Off"])
    # Since MUST version 1.8, MUST is configured with
    # backward-cpp support enabled by default. To install
    # MUST without backward-cpp support, the CMake variable
    # -DUSE BACKWARD=Off must be explicitly set during the
    # configuration of MUST
    if spec.satisfies("~backward"):
        METHOD_NAME.extend(["-DUSE BACKWARD=Off"])
    if spec.satisfies("+stackwalker"):
        METHOD_NAME.extend(["-DUSE CALLPATH=On"])
        METHOD_NAME.extend(["-DSTACKWALKER INSTALL PREFIX=%s" % spec["dyninst"].prefix])
        METHOD_NAME.extend(["-DUSE BACKWARD=Off"])
    else:
        if spec.satisfies("+backward"):
            METHOD_NAME.extend(["-DUSE BACKWARD=On"])
    return METHOD_NAME