LoginSignup
0
0

More than 3 years have passed since last update.

Bazel で Mono で C# をビルド

Last updated at Posted at 2019-09-26

ポイントは --spawn_strategy=local オプション。Bazel は OS の Sandbox 機構を利用してコンパイラ等のビルドプロセスを起動する。Bazel で C# をビルドするための rules_dotnet は Mono コンパイラ (mcs) を Sandbox 内にセットアップするとこまではやってくれないので (?) --spawn_strategy=local オプションを付けずに bazel build すると mcs が見つからなくてコンパイルエラーになる。つけるとシステムにインストールされてる mono が使われる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0