Yes, typically they are 'external' dependencies installed through
apt-get and referenced using a shim in the WORKSPACE like:
===
...
new_local_repository(
name = "boost_repo",
path = "/usr/",
build_file = "build/BUILD.boost",
)
...
===
=== BUILD.boost ===
cc_library(
name = "boost",
srcs = [
"lib/x86_64-linux-gnu/libboost_date_time.so.1.54.0",
"lib/x86_64-linux-gnu/libboost_iostreams.so.1.54.0",
...
],
hdrs = glob([
"include/boost/**/*.hpp",
]),
linkstatic = 1,
)
===
So I believe that if we changed hdrs to equal
glob(["include/boost/**"]) then it would be safe to mount the whole of
'/usr/include/boost/' - is that correct?
Thanks,
James
On Tue, Mar 15, 2016 at 10:27 PM, Brian Silverman