mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 14:48:11 +00:00
> The only issue that I currently have with this one is that the `clangd` extension is having some hiccups, not being able to find includes like `<gmock/gmock.h>` and `<benchmark/benchmark.h>` and thus showing extra errors. However, this only affects the VSCode extension and bazel seems to work fine. This might be an issue with the compilation database: you might try ./scripts/create_compdb.py to help.
21 lines
645 B
Docker
21 lines
645 B
Docker
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
ARG TAG=3.5.6
|
|
FROM homebrew/brew:${TAG}
|
|
|
|
# Install libxcrypt using Homebrew.
|
|
RUN brew install libxcrypt --overwrite
|
|
|
|
# Install all other dependencies using Homebrew.
|
|
RUN brew install bazelisk node python@3.9
|
|
|
|
# Install all python dependencies modules using Pip.
|
|
RUN pip3 install -U pip
|
|
RUN pip3 install pre-commit black codespell
|
|
|
|
# Install Clang/LLVM using Homebrew.
|
|
# Many Clang/LLVM releases aren't built with options we rely on.
|
|
RUN brew install llvm
|