2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-27 02:43:28 +00:00
rules_foreign_cc/examples/make_simple
2021-08-03 06:11:07 -07:00
..
code Build make windows (#716) 2021-07-12 07:17:18 -07:00
BUILD.bazel Re-add setting of PREFIX variable in make invocation (#751) 2021-08-03 06:11:07 -07: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

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