hwloc requires pkg-config

Issue #1249 closed
Ian Hinder created an issue

Currently, hwloc generates a fatal error if pkg-config is not available. It is not available on SuperMUC. There is a pre-installed version of hwloc available, and I was able to make it work by modifying configure.sh to comment out references to pkg-config, and re-enable the commented-out lines

HWLOC_INC_DIRS="${HWLOC_DIR}/include"
HWLOC_LIB_DIRS="${HWLOC_DIR}/lib"
HWLOC_LIBS='hwloc'

Would it be correct to try this if pkg-config is not found, or would this lead to hard-to-find errors later on in some situations? The attached patch implements this logic. OK to apply?

Keyword:

Comments (4)

  1. Log in to comment