ポイントは --spawn_strategy=local
オプション。Bazel は OS の Sandbox 機構を利用してコンパイラ等のビルドプロセスを起動する。Bazel で C# をビルドするための rules_dotnet は Mono コンパイラ (mcs) を Sandbox 内にセットアップするとこまではやってくれないので (?) --spawn_strategy=local
オプションを付けずに bazel build
すると mcs
が見つからなくてコンパイルエラーになる。つけるとシステムにインストールされてる mono が使われる。
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
00