コンテンツにスキップ

「Bazel」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
Kgx (トーク | 投稿記録)
英語版から転載
 
Kgx (トーク | 投稿記録)
一部翻訳
1行目: 1行目:
[[Category:Development]]
[[Category:開発]]
[[en:Bazel]]
[[en:Bazel]]
[[zh-hans:Bazel]]
[[zh-hans:Bazel]]
Bazel は、ソフトウェアの自動構築とテストを可能にするオープンソースのツールです。
Bazel is an open-source tool that allows for the automated building and testing of software.


== Bazel Arch Linux ==
== Bazel Arch Linux ==


Arch Linux には Bazel 用の AUR パッケージがあります。
[[Install]] the {{Pkg|bazel}} package.


{{Pkg|bazel}} パッケージを [[インストール]] して下さい。
There are AUR packages for Bazel on Arch Linux:


* Bazel の公式 Git リポジトリからビルドする場合は {{AUR|bazel-git}}
* {{AUR|bazel-git}}: Build Bazel from the official Git repository.


== JDK 16 issues ==
== JDK 16 ==


Running Bazel with JDK 16 as the default system Java might produce the following error:
Running Bazel with JDK 16 as the default system Java might produce the following error:

2022年5月11日 (水) 01:25時点における版

Bazel は、ソフトウェアの自動構築とテストを可能にするオープンソースのツールです。

Bazel Arch Linux

Arch Linux には Bazel 用の AUR パッケージがあります。

bazel パッケージを インストール して下さい。

  • Bazel の公式 Git リポジトリからビルドする場合は bazel-gitAUR

JDK 16

Running Bazel with JDK 16 as the default system Java might produce the following error:

FATAL: bazel crashed due to an internal error. Printing stack trace:
java.lang.NoClassDefFoundError: Could not initialize class com.google.devtools.build.lib.unsafe.StringUnsafe

This can be worked around by setting a different Java to run with, for instance, jdk11-openjdk. To do this, use a ~/.bazelrc like so:

startup --server_javabase=/usr/lib/jvm/java-11-openjdk

See also