`asylo_package` bazel path builder breaks when external repository uses `asylo` in its name
blaxill opened this issue · 1 comments
blaxill commented
The asylo_package
helper function currently just checks if asylo is in the path and so breaks when external repository uses asylo
in its name:
asylo/asylo/bazel/asylo_internal.bzl
Lines 24 to 27 in 088ea34
For example compiling in an external repository: bazel build //oak/server/asylo:xxxx
fails with no such package 'asylo/bazel/application_wrapper'
.
deeglaze commented
This was a workaround for the --incompatible_remap_main_repo flag that still hasn't flipped in Bazel. I'll change it to .startswith("asylo") and hopefully that will be good enough until the flag is flipped. Thanks for the report!