mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-12-04 08:02:31 +00:00
b136e6c52d
* Add config for building with spawn_strategy=standalone * Always build RELEASE configuration to avoid having to select for the output due to change in artifact names for debug builds * Fix for copy_contents_to_dir and symlink_contents_to_dir on macOS as per #512 * Update name of test files |
||
---|---|---|
.. | ||
code | ||
BUILD.bazel | ||
README.md | ||
test_libb.cpp |
Simple Ninja Example
Dependencies
- clang
- bazel
Executing the Example
To execute the example, run
bazel test ...
Troubleshooting
If you receive an error of the form:
ccache: FATAL: Failed to create /home/$USER/.ccache/2/f: Read-only file system
This is likely because you're have ccache set as your compiler. You can either disable ccache, or allow the sandbox to write to ~/.ccache:
bazel test --sandbox_writable_path ~/.ccache ...