#1717: hwloc: lnuma & lltdl *really* required?
Reporter:Zach Etienne
Status:open
Milestone:
Version:development version
Type:bug
Priority:minor
Component:EinsteinToolkit thorn

Comment (by Roland Haas):

Hmm, I could not come up with a “nice” solution that will build shared on workstations but let me link statically on Cray’s (Blue Waters):

./configure --prefix=${HWLOC_DIR} ${bgq} ${handle_pci} --disable-cairo --disable-libxml2 --disable-cuda --disable-nvml --disable-opencl --with-x=no --disable-gl --enable-shared=no --enable-static=yes

echo "hwloc: Building static library..."
pushd hwloc
${MAKE}
popd

echo "hwloc: Building static utilities..."
pushd utils
HAVE_UTILS=
if ${MAKE} ; then
  ${MAKE} install
  HAVE_UTILS="static"
fi
popd

echo "hwloc: Cleaning up..."
${MAKE} clean

echo "hwloc: Configuring shared library..."
./configure --prefix=${HWLOC_DIR} ${bgq} --
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/1717/hwloc-lnuma-lltdl-really-required