Skip to content
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

When do static build, the libfoxi_loader.a can be generated but won't be installed to CMAKE_INSTALL_LIBDIR #22

Open
gemfield opened this issue Mar 12, 2021 · 1 comment

Comments

@gemfield
Copy link

This issue is related with pytorch/pytorch#53825

When build pytorch static library, as a third party repo of pytorch, the libfoxi_loader.a can be generated, but missing in CMAKE_INSTALL_LIBDIR.

After build with command:

cmake --build . --target install -- "-j8"

In the build dir, we have:

root@build_libtorch:/gemfield/github/build# find . -name "*.a" | grep foxi
./lib/libfoxi_loader.a
root@build_libtorch:/gemfield/github/build# 

In the install dir, we have:

root@build_libtorch:/gemfield/github/libtorch_cuda/lib# find . -name "*.a" | wc -l
25
root@build_libtorch:/gemfield/github/libtorch_cuda/lib# find . -name "*.a" | grep foxi
root@build_libtorch:/gemfield/github/libtorch_cuda/lib#
@gemfield
Copy link
Author

@houseroad Could you have a look at this issue?

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

No branches or pull requests

1 participant