mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-28 08:43:26 +00:00
a2f1e5d8c3
* Adds toolchain for freebsd. * Address buildifier lint warnings. * Use /usr/bin/env bash * Leave the Linux-specific shebang alone. * Adds note about Bazel CI issue requesting for FreeBSD support and experimental status. * Fix typo. * Clean up trailing whitespace. * Updates bazel-skylib version for tests to pass on FreeBSD. * Update foreign_cc/repositories.bzl Co-authored-by: UebelAndre <github@uebelandre.com> |
||
---|---|---|
.. | ||
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 ...