Skip to content

Support building under /build/ directories#250

Draft
travisb-nexthop wants to merge 1 commit intofacebook:mainfrom
travisb-nexthop:build_subdir
Draft

Support building under /build/ directories#250
travisb-nexthop wants to merge 1 commit intofacebook:mainfrom
travisb-nexthop:build_subdir

Conversation

@travisb-nexthop
Copy link

Github PR 247[0] changed the way that wangle chose which headers to install. As part of this, certain directories, for example /build/, were filtered out.

Unfortunately this filtering is performed on the absolute path of the source code. If wangle is cloned underneath any directory which matches one of the filtered directories, then all the header files will be filtered out and no headers installed.

Fix this by changing the initial list to be relative to the source directory such that the filtering cannot mistakenly match on paths outside the wangle source tree.

[0] #247

Github PR 247[0] changed the way that wangle chose which headers to
install. As part of this, certain directories, for example `/build/`,
were filtered out.

Unfortunately this filtering is performed on the absolute path of the
source code. If wangle is cloned underneath any directory which
matches one of the filtered directories, then all the header files
will be filtered out and no headers installed.

Fix this by changing the initial list to be relative to the source
directory such that the filtering cannot mistakenly match on paths
outside the wangle source tree.

[0] facebook#247
@meta-cla meta-cla bot added the CLA Signed label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant