fi \
fi
+.PHONY: hwloc-install
+hwloc-install: userspace-prep
+ $(call RPM_TO_USERSPACE,*libxml2.so*,$(RPM_DIR)/libxml2)
+ if ! [ -e hwloc/config.log ]; then (cd hwloc; ./autogen.sh;./configure --prefix=/usr --disable-cairo --disable-gl); fi
+ $(MAKE) $(MFLAGS) -j$$(($(NCPUS) * 2)) -C hwloc
+ (cd hwloc;$(MAKE) $(MFLAGS) -j$$(($(NCPUS) * 2)) DESTDIR=$(CURDIR)/userspace install)
+ if test -f userspace/usr/lib/libhwloc.so; then \
+ if ! test -f userspace/usr/lib64/libhwloc.so; then \
+ ( cd userspace/usr/lib; for lib in `ls -1 *libhwloc* *libnetloc*`; do (cd ../lib64;ln -s ../lib/$$lib); done;); \
+ fi \
+ fi
+
.PHONY: irqbalance-install
irqbalance-install: userspace-prep
if ! [ -e irqbalance/config.h ]; then (cd irqbalance; ./autogen.sh;./configure --prefix=/usr); fi