ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / developer / hwloc / Makefile
blobfd7b3564a05bc9be827af85fc1350226d4808908
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016-2018 Aurelien Larcher
14 PREFERRED_BITS=64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= hwloc
19 COMPONENT_VERSION_MAJOR=2.9
20 COMPONENT_VERSION= $(COMPONENT_VERSION_MAJOR).2
21 COMPONENT_SUMMARY= hwloc - Portable Hardware Locality
22 COMPONENT_PROJECT_URL= https://www.open-mpi.org/projects/hwloc/
23 COMPONENT_FMRI= developer/hwloc
24 COMPONENT_CLASSIFICATION=Development/High Performance Computing
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
27 COMPONENT_ARCHIVE_URL= \
28 https://download.open-mpi.org/release/hwloc/v$(COMPONENT_VERSION_MAJOR)/$(COMPONENT_ARCHIVE)
29 COMPONENT_ARCHIVE_HASH= sha256:0a87fdf677f8b00b567d229b6320bf6b25c693edaa43e0b85268d999d6b060cf
30 COMPONENT_LICENSE= BSD-2
32 # When CONFIGURE_FIX_LIBTOOL_RPATH is integrated, we can remove local fix and enable it
33 CONFIGURE_FIX_LIBTOOL_RPATH = no
35 include $(WS_MAKE_RULES)/common.mk
37 CONFIGURE_OPTIONS+= --enable-cairo
38 CONFIGURE_OPTIONS+= --enable-cpuid
39 CONFIGURE_OPTIONS+= --enable-libxml2
40 CONFIGURE_OPTIONS+= --enable-pci
41 CONFIGURE_OPTIONS+= --enable-netloc
42 CONFIGURE_OPTIONS+= --enable-plugins
44 CONFIGURE_ENV.64 += LT_SYS_LIBRARY_PATH="/lib/$(MACH64):/usr/lib/$(MACH64)"
46 unexport SHELLOPTS
47 COMPONENT_TEST_TRANSFORMS += \
48 '-n ' \
49 '-e "/TOTAL:/p" ' \
50 '-e "/SKIP:/p" ' \
51 '-e "/PASS:/p" ' \
52 '-e "/FAIL:/p" ' \
53 '-e "/ERROR:/p" '
55 # Build dependencies
56 REQUIRED_PACKAGES += system/header/header-picl
58 # Auto-generated dependencies
59 REQUIRED_PACKAGES += SUNWcs
60 REQUIRED_PACKAGES += diagnostic/scanpci
61 REQUIRED_PACKAGES += library/desktop/cairo
62 REQUIRED_PACKAGES += library/libxml2
63 REQUIRED_PACKAGES += service/picl
64 REQUIRED_PACKAGES += shell/ksh93
65 REQUIRED_PACKAGES += system/library
66 REQUIRED_PACKAGES += system/library/math
67 REQUIRED_PACKAGES += x11/library/libx11