You installed MSYS2 not under the default install path Troubleshooting Bazel does not find Bash or bash.exe You will need this to build Python code on Windows.Īlso supported: Python 2.7 or newer for Windows x86-64 You will need this to build Java code on Windows. Java SE Development Kit 11 (JDK) for Windows 圆4 Visual C++ Build Tools 2017 (or newer) and Windows 10 SDK.You will need this to build C++ code on Windows. Optional: If you want to use Bazel from CMD or Powershell and still be able Open the MSYS2 terminal and run this command: pacman -S zip unzip patch diffutils git Projects that depend on Bash tools in PATH need this step (for example TensorFlow). These tools by default, so you need to install them manually. You will likely need these to build and run targets that depend on Bash. Bazel shows anĮrror if a build target needs Bash but Bazel could not locate it. Genrule, sh_binary, sh_test, but there may be more (such as Starlark rules). You will need MSYS2 to build, test, or run targets that depend on Bash. MSYS2 is a software distro and building platform for Windows. Installing compilers and language runtimesĭepending on which languages you want to build, you will need:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |