rules_foreign_cc/examples/make_simple
James Sharpe b136e6c52d
Add config for building with spawn_strategy=standalone (#603)
* 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
2021-05-05 17:47:25 -07:00
..
code Add config for building with spawn_strategy=standalone (#603) 2021-05-05 17:47:25 -07:00
BUILD.bazel Added "targets" API (#556) 2021-03-17 13:42:44 +00:00
README.md Added `ninja` rule for building Ninja projects (#527) 2021-03-01 15:46:25 +00:00
test_libb.cpp Restructed examples and enabled more testing (#515) 2021-02-26 20:21:13 +00:00

README.md

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