Skip to content

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

@gemfield

Description

@gemfield

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#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions