1 ################################################################################
5 ################################################################################
7 HWLOC_VERSION_MAJOR
= 1.10
8 HWLOC_VERSION
= $(HWLOC_VERSION_MAJOR
).1
9 HWLOC_SOURCE
= hwloc-
$(HWLOC_VERSION
).
tar.bz2
10 HWLOC_SITE
= http
://www.open-mpi.org
/software
/hwloc
/v
$(HWLOC_VERSION_MAJOR
)/downloads
11 HWLOC_LICENSE
= BSD-3c
12 HWLOC_LICENSE_FILES
= COPYING
13 HWLOC_DEPENDENCIES
= host-pkgconf
14 # 0001-utils-hwloc-Makefile.am-fix-install-man-race-conditi.patch touches Makefile.am
15 HWLOC_AUTORECONF
= YES
26 ifeq ($(BR2_PACKAGE_LIBPCIACCESS
),y
)
27 HWLOC_CONF_OPTS
+= --enable-pci
28 HWLOC_DEPENDENCIES
+= libpciaccess
30 HWLOC_CONF_OPTS
+= --disable-pci
33 ifeq ($(BR2_PACKAGE_NUMACTL
),y
)
34 HWLOC_CONF_OPTS
+= --enable-libnuma
35 HWLOC_DEPENDENCIES
+= numactl
37 HWLOC_CONF_OPTS
+= --disable-libnuma
40 $(eval
$(autotools-package
))