You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes, users need to pass directories to commands as a part of their builds. When these directories are created from many parts of the build tree, it can be convenient to use the pkg_filegroup framework to assemble them.
pkg_install is a bit raw for use internally, and may not be compatible in all circumstances. Among other things, it may assume that it can do things that aren't supported by or propagated out of the buildroot.
Consider instead a pkg_tree rule, which creates a tree of files rooted in bazel's buildroot, only doing the basics. The output could then be consumed by other targets as needed.
The text was updated successfully, but these errors were encountered:
nacl
added
the
P3
An issue that we are not working on but will review quarterly
label
Jul 19, 2021
Sometimes, users need to pass directories to commands as a part of their builds. When these directories are created from many parts of the build tree, it can be convenient to use the
pkg_filegroup
framework to assemble them.pkg_install
is a bit raw for use internally, and may not be compatible in all circumstances. Among other things, it may assume that it can do things that aren't supported by or propagated out of the buildroot.Consider instead a
pkg_tree
rule, which creates a tree of files rooted in bazel's buildroot, only doing the basics. The output could then be consumed by other targets as needed.The text was updated successfully, but these errors were encountered: