-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change to globbed bazel targets #652
base: gz-math8
Are you sure you want to change the base?
Conversation
For ease of non-bazel maintainers lives Signed-off-by: Michael Carroll <[email protected]>
hdrs = public_headers, | ||
includes = [ | ||
"include", | ||
"src", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to add src
to includes
? I don't think any of the headers there should be publicly accessible?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Michael!
":Conversions", | ||
"@googletest//:gtest", | ||
"@googletest//:gtest_main", | ||
private_headers = glob( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bazel 8 doesn't seem to like the empty glob:
ERROR: Traceback (most recent call last):
File "/home/runner/work/gz-math/gz-math/eigen3/BUILD.bazel", line 22, column 23, in
private_headers = glob(
Error in glob: glob pattern 'src/*.hh' didn't match anything, but allow_empty is set to False (the default value of allow_empty can be set with --incompatible_disallow_empty_glob).
ERROR: package contains errors: eigen3
Should we just remove the private_headers
list from this file?
Draft until I can test downstream impacts