Name libhwloc15
Description Hierarchical view of the machine - shared libs
Version 2.10.0-1build1
Package Base hwloc
Homepage https://www.open-mpi.org/projects/hwloc/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/hwloc/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/hwloc/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/hwloc/plain/debian/patches/doc-nopdf?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/hwloc/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libhwloc15/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libudev1']
Optional-Dependencies ['libhwloc-contrib-plugins', 'libhwloc-plugins']
Build-Dependencies ['debhelper-compat', 'dh-exec', 'libltdl-dev [!gnu-any-any] <!pkg.hwloc.minimum>', 'valgrind-if-available <!pkg.hwloc.minimum>', 'libcairo2-dev <!pkg.hwloc.minimum>', 'libx11-dev <!pkg.hwloc.minimum>', 'libxml2-dev <!pkg.hwloc.minimum>', 'libxml2-utils <!nocheck !pkg.hwloc.minimum>', 'libncurses-dev <!pkg.hwloc.minimum>', 'libnuma-dev [linux-any] <!nocheck !pkg.hwloc.minimum>', 'libxnvctrl-dev <!pkg.hwloc.minimum>', 'libpciaccess-dev <!pkg.hwloc.minimum>', 'libudev-dev [linux-any] <!pkg.hwloc.minimum>', 'pkg-config', 'ocl-icd-opencl-dev [!hurd-any] <!pkg.hwloc.minimum> | opencl-dev <!pkg.hwloc.minimum>', 'opencl-headers <!pkg.hwloc.minimum>', 'autoconf', 'dpkg-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 45acb4e6676f968d0f32ff1c5115cad0b61165931afa1a59282bda6f00d13c3b
#!/usr/bin/make -f

%:
	dh $@

include /usr/share/dpkg/architecture.mk

ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
DOXYGEN = --enable-doxygen
endif

ifeq (,$(filter pkg.hwloc.minimum,$(DEB_BUILD_PROFILES)))
PLUGINS = --enable-plugins
endif

override_dh_clean:
	dh_clean
	-rm -fr doc/doxygen-doc

override_dh_auto_configure:
	dh_auto_configure -- --enable-static $(PLUGINS) $(DOXYGEN)

override_dh_auto_install:
	dh_auto_install

	mkdir -p $(CURDIR)/debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/hwloc/autogen
	mv $(CURDIR)/debian/tmp/usr/include/hwloc/autogen/config.h $(CURDIR)/debian/tmp/usr/include/$(DEB_HOST_MULTIARCH)/hwloc/autogen/

override_dh_makeshlibs:
	dh_makeshlibs -V

NOTEST = HWLOC_TEST_DONTCHECK_PROC_CPULOCATION=1

# Keep this while hppa's buildd is using qemu-user and
# https://gitlab.com/qemu-project/qemu/-/issues/2004 happens there
ifeq ($(DEB_HOST_ARCH_CPU),hppa)
NOTEST += HWLOC_TEST_GATHER_TOPOLOGY=0
endif

override_dh_auto_test:
	$(NOTEST) dh_auto_test -- -k || \
		( cat $$(find . -name \*.log) ; false )