All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: haris.okanovic@ni.com
Subject: Re: [meta-oe][PATCH v3] hwloc: Add
Date: Thu, 5 Jan 2017 19:04:09 +0100	[thread overview]
Message-ID: <20170105180409.GB3243@jama> (raw)
In-Reply-To: <20170104162043.15103-1-haris.okanovic@ni.com>

[-- Attachment #1: Type: text/plain, Size: 3219 bytes --]

On Wed, Jan 04, 2017 at 10:20:43AM -0600, Haris Okanovic wrote:
> https://www.open-mpi.org/projects/hwloc/
> 
> "The Portable Hardware Locality (hwloc) software package 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.
> It also gathers various system attributes such as cache and memory
> information as well as the locality of I/O devices such as network
> interfaces, InfiniBand HCAs or GPUs."
> 
> This recipe adds libhwloc and lstopo utility as two packages.
> 
> Testing: Built in OE/Krogoth. Installed to x86_64 machine. Successfully
> ran `lstopo` and verified it printed correct CPU and cache info.
> 
> Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
> ---
>  meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
> 
> diff --git a/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
> new file mode 100644
> index 0000000..1bf7a55
> --- /dev/null
> +++ b/meta-oe/recipes-extended/hwloc/hwloc_1.11.5.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Portable Hardware Locality (hwloc) software package"
> +DESCRIPTION = "The Portable Hardware Locality (hwloc) software package \
> + provides a portable abstraction of the hierarchical topology of modern \
> + architectures."
> +HOMEPAGE = "https://www.open-mpi.org/software/hwloc/"
> +SECTION = "base"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=3282e20dc3cec311deda3c6d4b1f990b"
> +
> +SRC_URI = "https://www.open-mpi.org/software/${PN}/v1.11/downloads/${BP}.tar.bz2"
> +SRC_URI[md5sum] = "96c34136ff416d2b13a7821c27477bed"
> +SRC_URI[sha256sum] = "95d80286dfe658a3f79e2ac90698782bb36e5504f4bac1bba2394ba14dbbad24"
> +
> +inherit autotools
> +
> +# Split hwloc library into separate subpackage
> +PACKAGES_prepend = " lib${PN} "
> +FILES_lib${PN} += "${libdir}/lib${PN}.so*"
> +RDEPENDS_${PN} += "lib${PN} (= ${EXTENDPKGV})"
> +
> +# XXX dev-so QA check doesn't like soname symlinks in non-dev packages
> +INSANE_SKIP_lib${PN} += "dev-so"

Still a lot of missing/autodetected dependencies I've reported in v1:

WARN: hwloc: hwloc rdepends on cairo, but it isn't a build dependency?
WARN: hwloc: hwloc rdepends on ncurses-libtinfo, but it isn't a build
dependency?
WARN: hwloc: libhwloc rdepends on libpciaccess, but it isn't a build
dependency?
WARN: hwloc: libhwloc rdepends on libudev, but it isn't a build
dependency?
WARN: hwloc: libhwloc rdepends on libxml2, but it isn't a build
dependency?
WARN: hwloc: libhwloc rdepends on numactl, but it isn't a build
dependency?
WARN: hwloc: libhwloc rdepends on zlib, but it isn't a build dependency?
> -- 
> 2.10.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

  reply	other threads:[~2017-01-05 18:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-22 20:02 [PATCH] hwloc: Add Haris Okanovic
2016-12-22 21:34 ` Martin Jansa
2016-12-22 22:35   ` Christopher Larson
2016-12-22 22:56     ` Khem Raj
2016-12-25 23:55       ` Martin Jansa
2016-12-27 19:00         ` Haris Okanovic
2016-12-26 10:35   ` Andre McCurdy
2016-12-27 19:06 ` [meta-oe][PATCH v2] " Haris Okanovic
2017-01-02 22:33   ` Martin Jansa
2017-01-04 16:20     ` [meta-oe][PATCH v3] " Haris Okanovic
2017-01-05 18:04       ` Martin Jansa [this message]
2017-05-19 16:17 ` [PATCH v4] " Haris Okanovic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170105180409.GB3243@jama \
    --to=martin.jansa@gmail.com \
    --cc=haris.okanovic@ni.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.