rules_foreign_cc/examples/ninja_simple
UebelAndre edbfa3bfa9
Restructured rules to match architecture (#555)
* Restructured rules to match architecture

* Added exports of all symbols in the deprecated location for legacy support

* Updated examples
2021-03-12 16:54:14 +00:00
..
code
BUILD.bazel Restructured rules to match architecture (#555) 2021-03-12 16:54:14 +00:00
README.md
test_libb.cpp

README.md

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 ...