kumquat-buildroot/package/hwloc/hwloc.mk
Fabrice Fontaine 94ae6d82ac package/hwloc: bump to version 2.4.1
- Add ac_cv_prog_cc_c99 to avoid a build failure due to
  f2226f76e1
- Update hash of COPYING, copyrights added with
  ebaa3595e2
- Update indentation in hash file (two spaces)

As a side effect, this will remove numactl dependency (which raises a
build failure with sparc v8 since commit
4ed540ddf5) thanks to:
e6a53bbf65

https://github.com/open-mpi/hwloc/blob/hwloc-2.4.1/NEWS

Fixes:
 - http://autobuild.buildroot.org/results/5f9394d3bab4e83edbea9bc607c3e135adfdabbc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-05-10 09:10:43 +02:00

38 lines
1013 B
Makefile

################################################################################
#
# hwloc
#
################################################################################
HWLOC_VERSION_MAJOR = 2.4
HWLOC_VERSION = $(HWLOC_VERSION_MAJOR).1
HWLOC_SOURCE = hwloc-$(HWLOC_VERSION).tar.bz2
HWLOC_SITE = https://download.open-mpi.org/release/hwloc/v$(HWLOC_VERSION_MAJOR)
HWLOC_LICENSE = BSD-3-Clause
HWLOC_LICENSE_FILES = COPYING
HWLOC_DEPENDENCIES = host-pkgconf
HWLOC_INSTALL_STAGING = YES
HWLOC_SELINUX_MODULES = hwloc
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
# provided by autoconf relies on wchar_t.
HWLOC_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
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
$(eval $(autotools-package))