这是indexloc提供的服务,不要输入任何密码
Skip to content

[CMake] Add dependencies missing for building shared libraries. #56

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

Closed

Conversation

ingomueller-net
Copy link
Contributor

This PR adds CMake dependencies that are required for building the project with -DBUILD_SHARED_LIBS and currently missing. I am doing this here https://github.com/iree-org/iree-llvm-sandbox/blob/b1c16a5/configure.py#L229 through IREE (https://github.com/iree-org/iree).

The reason why I believe the problems did not show up is because everybody including CI seem to use static linking and not all required symbols are required for linking static libraries -- they only need to be present when linking the final executable, where they presumable get linked in "by chance".

I have only tested building this project as a dependency of IREE, not as a stand-alone project.

This commit adds CMake dependencies that are required for building the
project with -DBUILD_SHARED_LIBS and currently missing. I am doing this
here https://github.com/iree-org/iree-llvm-sandbox/blob/b1c16a5/configure.py#L229
through IREE (https://github.com/iree-org/iree).

The reason why I believe the problems did not show up is because
everybody including CI seem to use static linking and not all required
symbols are required for linking static libraries -- they only need to
be present when linking the final executable, where they presumable get
linked in "by chance".
@ingomueller-net
Copy link
Contributor Author

Abandoning in favor of tensorflow/tensorflow#59421, which I guess is where PRs should go...

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.

1 participant