-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
cgo_library() cannot find source files when used with new_git_repository() #35
Comments
* The current package name might be empty. * The current package might be in a non-root workspace. #35 * A cgo source file might be a generated file and it might be in $(GENDIR) or in $(BINDIR) * cgo source files might be in a subdirectory of the bazel package directory.
@yugui Thanks. Your fix resolves my issue. Could this change be moved to the master branch? |
@yugui This fix works to allow use of files in a |
@hochhaus |
No problem! Thanks for taking a look. |
Note for investigation:
I am wondering if this is an issue of Bazel because
|
Looks to be a side-effect of the runfiles structure change in Bazel 0.3.0. |
* Array comprehensions Implemented using flatMap. The representation in AST was changed - now it expresses the semantic structure better. Ifs in comprehensions are not supported yet, but easy.
@yugui This is a followup to bb7e87b.
When using
cgo_library()
withnew_git_repository()
bazel is unable to find source files. For example, consider https://golang.org/x/sys/unix.When building, I receive the following error:
Is
cgo_library()
expected to work withnew_git_repository()
?The text was updated successfully, but these errors were encountered: