boost/
bazel/
boost.bzl // contains "boost_library" function from https://github.com/nelhage/rules_boost/blob/master/boost/boost.bzl
BUILD // blank
boost/ // the original boost headers folder from original boost dist
lib/ // the original boost sources folder from original boost dist
BUILD
WORKSPACE
The BUILD file looks like this one:
-----------------------------------
https://github.com/nelhage/rules_boost/blob/master/BUILD.boost
with properly loading "boost.bzl"
The WORKSPACE is just:
----------------------
workspace( name = "boost" )
The issue:
----------
Now I am trying to build individual components (bazel build //:<component>).
Some of the components are failing to build. Some of them are failing to build producing similar errors (not finding header files) .. one is shown below (for "Boost.Container")
INFO: Found 1 target...
ERROR: /home/spyder/codebase/boost/BUILD:103:1: C++ compilation of rule '//:container' failed: Process exited with status 1 [sandboxed].
libs/container/src/dlmalloc.cpp:12:47: fatal error: boost/container/detail/dlmalloc.hpp: No such file or directory
compilation terminated.
Use --strategy=CppCompile=standalone to disable sandboxing for the failing actions.
Target //:container failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 7.525s, Critical Path: 3.76s
Please help.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/1f5c3878-5a64-4fad-9284-64a43b70d909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.