Homebrew error : invalid option --with-clang
Homebrew error : invalid option --with-clang
我正在尝试使用自制软件通过 clang 安装 llvm:
brew 安装 llvm --with-clang
但出现错误:
错误:无效选项:--with-clang
我使用的是自制软件 2.1.11 版。我还没有发现与此错误相关的任何内容。有人可以帮我解决这个问题吗?
运行 brew install llvm
就足够了,因为 clang
已经包含在内。以前不是这样的,但是现在最近的版本,只安装llvm
就够了。
option
Hombrew 核心公式的支持在 Homebrew 2.0.0 中被移除。在您的情况下,公式 llvm
已更改,现在默认使用 clang
构建。
Homebrew does not have any formulae with options in Homebrew/homebrew-core
. Options will still be supported and encouraged by third-party taps. This change allows us to better focus on delivering binary packages rather than options. Formulae with options had to be built from source, could not be tested on our CI system and provided a disproportionate support burden on our volunteer maintainers.
参考资料
我正在尝试使用自制软件通过 clang 安装 llvm:
brew 安装 llvm --with-clang
但出现错误:
错误:无效选项:--with-clang
我使用的是自制软件 2.1.11 版。我还没有发现与此错误相关的任何内容。有人可以帮我解决这个问题吗?
运行 brew install llvm
就足够了,因为 clang
已经包含在内。以前不是这样的,但是现在最近的版本,只安装llvm
就够了。
option
Hombrew 核心公式的支持在 Homebrew 2.0.0 中被移除。在您的情况下,公式 llvm
已更改,现在默认使用 clang
构建。
Homebrew does not have any formulae with options in
Homebrew/homebrew-core
. Options will still be supported and encouraged by third-party taps. This change allows us to better focus on delivering binary packages rather than options. Formulae with options had to be built from source, could not be tested on our CI system and provided a disproportionate support burden on our volunteer maintainers.
参考资料