2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-12-01 22:16:27 +00:00
rules_foreign_cc/examples/simple_make
Simon Newton ed3db61a55 Fix the simple_make example so that it works on Mac & Linux (#339)
Fix the simple_make example so that it works on Mac and Debian and add it to Mac tests.
2019-11-26 19:13:54 +01:00
..
code Fix the simple_make example so that it works on Mac & Linux (#339) 2019-11-26 19:13:54 +01:00
BUILD Implement support for "pure" GNU Make in make.bzl (#285) 2019-07-10 18:05:24 +02:00
README.md Fix the simple_make example so that it works on Mac & Linux (#339) 2019-11-26 19:13:54 +01:00
test_libb.cpp Fix the simple_make example so that it works on Mac & Linux (#339) 2019-11-26 19:13:54 +01:00

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