Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
From d5e802c9c2ed8dbe5c937e84bc3ab440218aa8de Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Tue, 12 May 2015 16:03:14 +0200
|
||||
Subject: [PATCH] utils/hwloc/Makefile.am: fix install-man race condition
|
||||
|
||||
Make install contains a race condition in utils/hwloc, as both
|
||||
install-exec-hook (through intall-exec) and install-data trigger
|
||||
install-man:
|
||||
|
||||
http://autobuild.buildroot.net/results/414/41403f8ce4751a27dd1bb9c43f5a97895dea3980/build-end.log
|
||||
|
||||
The install-exec-hook target doesn't do anything with the manual pages, so
|
||||
fix the race condition by dropping the dependency.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
utils/hwloc/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/utils/hwloc/Makefile.am b/utils/hwloc/Makefile.am
|
||||
index 7ca8027..8bbee86 100644
|
||||
--- a/utils/hwloc/Makefile.am
|
||||
+++ b/utils/hwloc/Makefile.am
|
||||
@@ -108,7 +108,7 @@ endif HWLOC_HAVE_LINUX
|
||||
-e 's/#HWLOC_DATE#/@HWLOC_RELEASE_DATE@/g' \
|
||||
> $@ < $<
|
||||
|
||||
-install-exec-hook: install-man
|
||||
+install-exec-hook:
|
||||
$(SED) -e 's/HWLOC_top_builddir\/utils\/hwloc/bindir/' -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-assembler-remote > $(DESTDIR)$(bindir)/hwloc-assembler-remote.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-assembler-remote.tmp $(DESTDIR)$(bindir)/hwloc-assembler-remote
|
||||
$(SED) -e 's/HWLOC_top_builddir\/utils\/hwloc/bindir/' -e 's/HWLOC_top_builddir\/utils\/lstopo/bindir/' -e '/HWLOC_top_builddir/d' $(DESTDIR)$(bindir)/hwloc-compress-dir > $(DESTDIR)$(bindir)/hwloc-compress-dir.tmp && mv -f $(DESTDIR)$(bindir)/hwloc-compress-dir.tmp $(DESTDIR)$(bindir)/hwloc-compress-dir
|
||||
chmod +x $(DESTDIR)$(bindir)/hwloc-assembler-remote $(DESTDIR)$(bindir)/hwloc-compress-dir
|
||||
--
|
||||
2.1.4
|
||||
|
||||
15
deprecated/firmware/buildroot/package/hwloc/Config.in
Normal file
15
deprecated/firmware/buildroot/package/hwloc/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_HWLOC
|
||||
bool "hwloc"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
Portable Hardware Locality
|
||||
|
||||
Provides a portable abstraction (across OS, versions,
|
||||
architectures, ...) of the hierarchical topology of modern
|
||||
architectures, including NUMA memory nodes, sockets, shared
|
||||
caches, cores and simultaneous multithreading.
|
||||
|
||||
http://www.open-mpi.org/projects/hwloc/
|
||||
|
||||
comment "hwloc needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
deprecated/firmware/buildroot/package/hwloc/hwloc.hash
Normal file
2
deprecated/firmware/buildroot/package/hwloc/hwloc.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://www.open-mpi.org/software/hwloc/v1.10/
|
||||
sha1 76291124e4638b2fbd4deb4cc3cd680e153077b5 hwloc-1.10.1.tar.bz2
|
||||
40
deprecated/firmware/buildroot/package/hwloc/hwloc.mk
Normal file
40
deprecated/firmware/buildroot/package/hwloc/hwloc.mk
Normal file
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# hwloc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HWLOC_VERSION_MAJOR = 1.10
|
||||
HWLOC_VERSION = $(HWLOC_VERSION_MAJOR).1
|
||||
HWLOC_SOURCE = hwloc-$(HWLOC_VERSION).tar.bz2
|
||||
HWLOC_SITE = http://www.open-mpi.org/software/hwloc/v$(HWLOC_VERSION_MAJOR)/downloads
|
||||
HWLOC_LICENSE = BSD-3c
|
||||
HWLOC_LICENSE_FILES = COPYING
|
||||
HWLOC_DEPENDENCIES = host-pkgconf
|
||||
# 0001-utils-hwloc-Makefile.am-fix-install-man-race-conditi.patch touches Makefile.am
|
||||
HWLOC_AUTORECONF = YES
|
||||
|
||||
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
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NUMACTL),y)
|
||||
HWLOC_CONF_OPTS += --enable-libnuma
|
||||
HWLOC_DEPENDENCIES += numactl
|
||||
else
|
||||
HWLOC_CONF_OPTS += --disable-libnuma
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user