#1249: hwloc requires pkg-config -----------------------------------+---------------------------------------- Reporter: hinder | Owner: Type: defect | Status: new Priority: major | Milestone: Component: EinsteinToolkit thorn | Version: Keywords: | -----------------------------------+---------------------------------------- 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?