python: fix disabling the SSL module
[buildroot-gz.git] / package / hwloc / hwloc.mk
blob9b5eae8e1a21107a55161be29e8972940a992634
1 ################################################################################
3 # hwloc
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
17 HWLOC_CONF_OPTS = \
18 --disable-opencl \
19 --disable-cuda \
20 --disable-nvml \
21 --disable-gl \
22 --disable-cairo \
23 --disable-libxml2 \
24 --disable-doxygen
26 ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y)
27 HWLOC_CONF_OPTS += --enable-pci
28 HWLOC_DEPENDENCIES += libpciaccess
29 else
30 HWLOC_CONF_OPTS += --disable-pci
31 endif
33 ifeq ($(BR2_PACKAGE_NUMACTL),y)
34 HWLOC_CONF_OPTS += --enable-libnuma
35 HWLOC_DEPENDENCIES += numactl
36 else
37 HWLOC_CONF_OPTS += --disable-libnuma
38 endif
40 $(eval $(autotools-package))