pytorch / pytorch/gloo

Installed gloo looks for libgloo in build dir

Open
#174 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.5k
Forks
368
Avg merge
19h 32m
Merged PRs (30d)
3

Description

When importing Gloo (via find_package(Gloo) ), it tells me it was not able to find libglood.a in ${BUILD_DIR}. The file is correctly installed in ${INSTALL_DIR}.

This is on Linux x86_64.

Could be solved by using include(GNUInstallDirs) and relying on CMAKE_INSTALL_LIBDIR / CMAKE_INSTALL_INCLUDEDIR

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Linux x86_64 by installing Gloo and importing it with find_package(Gloo). Inspect the installed package configuration and how it resolves libglood.a; done means an installed consumer finds the library in INSTALL_DIR rather than looking in BUILD_DIR.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.