2015-03-19 06:29:19 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# hwloc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-06-04 15:36:22 +02:00
|
|
|
HWLOC_VERSION_MAJOR = 1.11
|
2019-10-25 19:10:51 +02:00
|
|
|
HWLOC_VERSION = $(HWLOC_VERSION_MAJOR).13
|
2015-03-19 06:29:19 +01:00
|
|
|
HWLOC_SOURCE = hwloc-$(HWLOC_VERSION).tar.bz2
|
|
|
|
HWLOC_SITE = http://www.open-mpi.org/software/hwloc/v$(HWLOC_VERSION_MAJOR)/downloads
|
2017-03-30 15:43:38 +02:00
|
|
|
HWLOC_LICENSE = BSD-3-Clause
|
2015-03-19 06:29:19 +01:00
|
|
|
HWLOC_LICENSE_FILES = COPYING
|
|
|
|
HWLOC_DEPENDENCIES = host-pkgconf
|
2017-05-30 20:04:23 +02:00
|
|
|
HWLOC_INSTALL_STAGING = YES
|
2015-03-19 06:29:19 +01:00
|
|
|
|
|
|
|
HWLOC_CONF_OPTS = \
|
|
|
|
--disable-opencl \
|
|
|
|
--disable-cuda \
|
|
|
|
--disable-nvml \
|
|
|
|
--disable-gl \
|
|
|
|
--disable-cairo \
|
|
|
|
--disable-libxml2 \
|
|
|
|
--disable-doxygen
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y)
|
|
|
|
HWLOC_CONF_OPTS += --enable-pci
|
|
|
|
HWLOC_DEPENDENCIES += libpciaccess
|
|
|
|
else
|
|
|
|
HWLOC_CONF_OPTS += --disable-pci
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_NUMACTL),y)
|
|
|
|
HWLOC_CONF_OPTS += --enable-libnuma
|
|
|
|
HWLOC_DEPENDENCIES += numactl
|
|
|
|
else
|
|
|
|
HWLOC_CONF_OPTS += --disable-libnuma
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|