Github messages for voidlinux
 help / color / mirror / Atom feed
From: Calandracas606 <Calandracas606@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ROCm-SMI-LIB-6.0.2
Date: Thu, 15 Feb 2024 19:06:11 +0100	[thread overview]
Message-ID: <20240215180611.030B32170A@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48744@inbox.vuxu.org>

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

There is an updated pull request by Calandracas606 against master on the void-packages repository

https://github.com/Calandracas606/void-packages ROCm-SMI-LIB
https://github.com/void-linux/void-packages/pull/48744

New package: ROCm-SMI-LIB-6.0.2
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - i686
  - aarch64-musl (cross)
  - armv7l (cross)
  - armv6l-musl (cross)



A patch file from https://github.com/void-linux/void-packages/pull/48744.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ROCm-SMI-LIB-48744.patch --]
[-- Type: text/x-diff, Size: 2464 bytes --]

From 8d14260622721e084f7d412d7a04e1940395dd68 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Tue, 13 Feb 2024 12:24:57 -0500
Subject: [PATCH] New package: ROCm-SMI-LIB-6.0.2

---
 srcpkgs/ROCm-SMI-LIB-devel                    |  1 +
 .../patches/0001-cmake-system-processor.patch | 13 ++++++++++++
 srcpkgs/ROCm-SMI-LIB/template                 | 21 +++++++++++++++++++
 3 files changed, 35 insertions(+)
 create mode 120000 srcpkgs/ROCm-SMI-LIB-devel
 create mode 100644 srcpkgs/ROCm-SMI-LIB/patches/0001-cmake-system-processor.patch
 create mode 100644 srcpkgs/ROCm-SMI-LIB/template

diff --git a/srcpkgs/ROCm-SMI-LIB-devel b/srcpkgs/ROCm-SMI-LIB-devel
new file mode 120000
index 0000000000000..67bb8daf079a5
--- /dev/null
+++ b/srcpkgs/ROCm-SMI-LIB-devel
@@ -0,0 +1 @@
+ROCm-SMI-LIB
\ No newline at end of file
diff --git a/srcpkgs/ROCm-SMI-LIB/patches/0001-cmake-system-processor.patch b/srcpkgs/ROCm-SMI-LIB/patches/0001-cmake-system-processor.patch
new file mode 100644
index 0000000000000..db496a5abcdc0
--- /dev/null
+++ b/srcpkgs/ROCm-SMI-LIB/patches/0001-cmake-system-processor.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b3eff5d..defc6b2 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -76,7 +76,7 @@ endif()
+ ## Compiler flags
+ set(CMAKE_CXX_FLAGS
+  "${CMAKE_CXX_FLAGS} -Wall -Wextra -fno-rtti")
+-if (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64")
++if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
+     set(CMAKE_CXX_FLAGS
+      "${CMAKE_CXX_FLAGS} -m64 -msse -msse2")
+ endif()
diff --git a/srcpkgs/ROCm-SMI-LIB/template b/srcpkgs/ROCm-SMI-LIB/template
new file mode 100644
index 0000000000000..633cc4579c696
--- /dev/null
+++ b/srcpkgs/ROCm-SMI-LIB/template
@@ -0,0 +1,21 @@
+# Template file for 'ROCm-SMI-LIB'
+pkgname=ROCm-SMI-LIB
+version=6.0.2
+revision=1
+build_style=cmake
+short_desc="ROCm System Management Interface"
+maintainer="Daniel Martinez <danielmartinez@cock.li>"
+license="NCSA"
+homepage="https://github.com/ROCm/rocm_smi_lib"
+changelog="https://raw.githubusercontent.com/ROCm/rocm_smi_lib/rocm-${version}/CHANGELOG.md"
+distfiles="https://github.com/ROCm/rocm_smi_lib/archive/refs/tags/rocm-${version}.tar.gz"
+checksum=61e755d710ff38425df3d262d1ad4c510d52d3c64e3fe15140c2575eba316949
+
+ROCm-SMI-LIB-devel_package() {
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove "usr/lib/*.so"
+	}
+}

  parent reply	other threads:[~2024-02-15 18:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15 17:56 [PR PATCH] " Calandracas606
2024-02-15 17:59 ` [PR REVIEW] " Calandracas606
2024-02-15 18:06 ` Calandracas606 [this message]
2024-02-15 18:09 ` [PR PATCH] [Updated] " Calandracas606
2024-02-15 21:11 ` New package: ROCm-SMI-6.0.2 zen0bit
2024-04-11 12:35 ` Calandracas606

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=20240215180611.030B32170A@inbox.vuxu.org \
    --to=calandracas606@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).