Files
chromebrew/packages/hwloc.rb
github-actions[bot] 626a53a7a7 Update buildsystems to use buildsystem name variables, and report contents of those variables/methods during use. (#11936)
* Update buildsystems, update jq, add jq to core for arm.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Only report build options if they exist.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix overeager sed replacement.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* workflow debugging

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add logging for build errors.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Revert to function in each package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update jq since it needs gcc14 to build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to buildsystems

* remove deprecated gfbgraph

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix git tag for gnome_maps

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update llvm20 package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update gnome_maps deps.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Abstract out buildsystems_methods reporting.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Keep LIBC_VERSION const from being empty.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update crew_profile_base and libxml2

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* clarify

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update libarchive

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update libavif

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add libxml2 build comment.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add build comment to libarchive.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Don't warn for missing directory during package removal.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-05-23 19:50:48 +00:00

38 lines
1.2 KiB
Ruby

# Adapted from Arch Linux hwloc PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/hwloc/trunk/PKGBUILD
require 'buildsystems/autotools'
class Hwloc < Autotools
description 'Portable Hardware Locality is a portable abstraction of hierarchical architectures'
homepage 'https://www.open-mpi.org/projects/hwloc/'
version '2.12.1'
license 'BSD-3 Clause'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/open-mpi/hwloc.git'
git_hashtag "hwloc-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '9eb5e5de24efc07604a7d1afcf6de7856c3ab10724456ba0699dc13e96fbb7b8',
armv7l: '9eb5e5de24efc07604a7d1afcf6de7856c3ab10724456ba0699dc13e96fbb7b8',
x86_64: '6809fd917519e0f9be4e3fc9d6a8f1e67da8ff80f6576d9ca2844a5599d6812c'
})
depends_on 'cairo' # R
depends_on 'eudev' # R
depends_on 'harfbuzz' # R
depends_on 'libbsd' # R
depends_on 'libmd' # R
depends_on 'libpciaccess' # R
depends_on 'libx11' # R
depends_on 'libxau' # R
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
depends_on 'libxml2' # R
depends_on 'pciutils' => :build
autotools_configure_options "--enable-plugins \
--sysconfdir=#{CREW_PREFIX}/etc"
end