def is_cmake_compilation() -> bool:
    """
    When enabled, compiles the model via invoking CMake rather than
    invoking make directly.
    """

    # todo: replace with more builders?
    return os.getenv("AIT_USE_CMAKE_COMPILATION", "0") == "1"

    When enabled, compiles the model via invoking CMake rather than
    invoking make directly.
    
python/aitemplate/utils/environ.py