![]() ![]() By default macOS does not have a JDK installed, so we use the # openjdk package from Homebrew. export BISON =/usr/local/opt/bison/bin/bisonĮxport FLEX =/usr/local/opt/flex/bin/flex The stock versions are too old, but these tools are keg-only # and Bazel uses a restricted PATH, so we need to tell Bazel where to find # them (see #3514, #4455). ![]() To install most of the external dependencies, run for pkg in asciidoc bison brotli flex go graphviz leveldb node openjdk parallel source-highlight wget doīrew install $pkg done # Bison and Flex. Rest of these instructions assume you have it. There are other ways to install packages, but the Homebrew: You will also need to install Homebrew (follow Then the following command should fix it: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer If you get an error like this: xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance You should get something like this (though the numbers will vary): Xcode 12.3 Verify your installation by running the command: $ xcodebuild -version Or by launching the App Store application and browsing to Develop → Xcode. You can do thisįrom the terminal by running: softwareupdate -install Xcode Xcode: To build on macOS, you will need Xcode installed. You will still need toįollow all the other Getting Started instructions to get a working Kythe build. Installation of external dependencies on a macOS system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |