def METHOD_NAME(self):
    if self._settings_build.os == "Windows" and not tools.get_env("CONAN_BASH_PATH"):
        self.build_requires("msys2/cci.latest")
    if self.settings.compiler == "Visual Studio":
        self.build_requires("winflexbison/2.5.24")
    else:
        self.build_requires("bison/3.8.2")
    self.build_requires("automake/1.16.5")