Просмотр исходного кода

Adjust phrasing to remove brew assumption (#2637)

These instructions have fallen out of sync with the note that we've stopped recommending brew for linux (due to build issues). Rather than having instructions that only work for MacOS, take the bare minimum and just point at contribution_tools.md.

chandlerc, I believe you'd specifically requested the instructions here as part of #1390. An alternative approach would be to remove this entirely, and just say "See our contribution tools page for instructions on how to build locally."

i-khadra's change #2636 is what made me notice this issue. They're trying to add Windows notes to the README, but this change reflects my leaning it's better to let contribution_tools.md explain setup.

Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
Jon Ross-Perkins 3 лет назад
Родитель
Сommit
e95b5d257e
1 измененных файлов с 4 добавлено и 12 удалено
  1. 4 12
      README.md

+ 4 - 12
README.md

@@ -270,17 +270,10 @@ As there is no compiler yet, to try out Carbon, you can use the Carbon explorer
 to interpret Carbon code and print its output. You can try it out immediately at
 [compiler-explorer.com](http://carbon.compiler-explorer.com/).
 
-To build the Carbon explorer yourself, follow these instructions:
+To build the Carbon explorer yourself, you'll need to install dependencies
+(Bazel, Clang, libc++), and then you can run:
 
 ```shell
-# Install bazelisk using Homebrew.
-$ brew install bazelisk
-
-# Install Clang/LLVM using Homebrew.
-# Many Clang/LLVM releases aren't built with options we rely on.
-$ brew install llvm
-$ export PATH="$(brew --prefix llvm)/bin:${PATH}"
-
 # Download Carbon's code.
 $ git clone https://github.com/carbon-language/carbon-lang
 $ cd carbon-lang
@@ -289,9 +282,8 @@ $ cd carbon-lang
 $ bazel run //explorer -- ./explorer/testdata/print/format_only.carbon
 ```
 
-These instructions assume [Homebrew](https://brew.sh/) is installed; see our
-[contribution tools documentation](/docs/project/contribution_tools.md) for more
-extensive tooling instructions.
+For complete instructions, including installing dependencies, see our
+[contribution tools documentation](/docs/project/contribution_tools.md).
 
 Learn more about the Carbon project: