Skip to content

Conversation

@Craigacp
Copy link
Collaborator

@Craigacp Craigacp commented Apr 2, 2024

The TSL headers are in a different source root in a Bazel build to the packaged whl files. This PR adds that source root to the JavaCPP generate task and modifies the preset to look for them in both places.

Fixes #529.

It also pulls in the start of some changes I was making to reduce the number of warnings from error prone, but I've not completed that yet.

// The lower part is still the same, so multiple roots are set in the pom file.
"tsl/platform/ctstring_internal.h",
"tsl/platform/ctstring.h",
"tsl/c/tsl_status.h",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see a root in the pom file that has the tensorflow/ suffix, to replace the existing paths, is this still required?

@karllessard karllessard merged commit 1ac423c into tensorflow:master Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build native codes current master fails

2 participants