From 0c2b0c73d5188c838bbc2e5fb6e9054fe4920305 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Mon, 1 May 2023 18:02:56 +0300 Subject: [PATCH] open-mpi.org/hwloc (#1763) * new file: projects/open-mpi.org/hwloc/package.yml * modified: projects/open-mpi.org/hwloc/package.yml * modified: projects/open-mpi.org/hwloc/package.yml * modified: projects/open-mpi.org/hwloc/package.yml * modified: projects/open-mpi.org/hwloc/package.yml --- projects/open-mpi.org/hwloc/package.yml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 projects/open-mpi.org/hwloc/package.yml diff --git a/projects/open-mpi.org/hwloc/package.yml b/projects/open-mpi.org/hwloc/package.yml new file mode 100644 index 00000000..b1495e8a --- /dev/null +++ b/projects/open-mpi.org/hwloc/package.yml @@ -0,0 +1,41 @@ +distributable: + url: https://download.open-mpi.org/release/hwloc/v{{version.marketing}}/hwloc-{{version}}.tar.gz + strip-components: 1 + +versions: + github: open-mpi/hwloc/tags + strip: /^hwloc-/ + +build: + dependencies: + tea.xyz/gx/cc: c99 + tea.xyz/gx/make: '*' + gnu.org/autoconf: '*' + gnu.org/libtool: '*' + freedesktop.org/pkg-config: '*' + script: | + ./configure $ARGS + make --jobs {{ hw.concurrency }} install + env: + ARGS: + - --prefix="{{prefix}}" + - --enable-shared + - --enable-static + - --disable-cairo + - --without-x + - --disable-cpuid + +provides: + - bin/hwloc-annotate + - bin/hwloc-bind + - bin/hwloc-calc + - bin/hwloc-compress-dir + - bin/hwloc-diff + - bin/hwloc-distrib + - bin/hwloc-info + - bin/hwloc-patch + - bin/hwloc-ps + - bin/lstopo-no-graphics + +test: + hwloc-info --version | grep {{version}} \ No newline at end of file