Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: ROCm-SMI-LIB-6.0.2
@ 2024-02-15 17:56 Calandracas606
  2024-02-15 17:59 ` [PR REVIEW] " Calandracas606
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Calandracas606 @ 2024-02-15 17:56 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2008 bytes --]

From 93033c67a9bd47041579a0fe6909ed6b16eb4fea 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

---
 .../patches/0001-cmake-system-processor.patch       | 13 +++++++++++++
 srcpkgs/ROCm-SMI-LIB/template                       | 13 +++++++++++++
 2 files changed, 26 insertions(+)
 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/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..ff9fa67761eda
--- /dev/null
+++ b/srcpkgs/ROCm-SMI-LIB/template
@@ -0,0 +1,13 @@
+# Template file for 'ROCm-SMI-LIB'
+pkgname=ROCm-SMI-LIB
+version=6.0.2
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config"
+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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR REVIEW] New package: ROCm-SMI-LIB-6.0.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
@ 2024-02-15 17:59 ` Calandracas606
  2024-02-15 18:06 ` [PR PATCH] [Updated] " Calandracas606
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Calandracas606 @ 2024-02-15 17:59 UTC (permalink / raw)
  To: ml

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

New review comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/48744#discussion_r1491410365

Comment:
Fixes cross compiling on arm

Also fixes cross compiling on armv* in the extremely unlikely event that anybody will want to use this package there.

Made a PR upstream: https://github.com/ROCm/rocm_smi_lib/pull/158

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] New package: ROCm-SMI-LIB-6.0.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
  2024-02-15 17:59 ` [PR REVIEW] " Calandracas606
@ 2024-02-15 18:06 ` Calandracas606
  2024-02-15 18:09 ` Calandracas606
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Calandracas606 @ 2024-02-15 18:06 UTC (permalink / raw)
  To: ml

[-- 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"
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] New package: ROCm-SMI-LIB-6.0.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
  2024-02-15 17:59 ` [PR REVIEW] " Calandracas606
  2024-02-15 18:06 ` [PR PATCH] [Updated] " Calandracas606
@ 2024-02-15 18:09 ` Calandracas606
  2024-02-15 21:11 ` New package: ROCm-SMI-6.0.2 zen0bit
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Calandracas606 @ 2024-02-15 18:09 UTC (permalink / raw)
  To: ml

[-- 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: 2402 bytes --]

From 2bee80f21d789dd9ebb9a1b84f685805e9b3cb4c 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-6.0.2

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

diff --git a/srcpkgs/ROCm-SMI-devel b/srcpkgs/ROCm-SMI-devel
new file mode 120000
index 00000000000000..ca9824f034d928
--- /dev/null
+++ b/srcpkgs/ROCm-SMI-devel
@@ -0,0 +1 @@
+ROCm-SMI
\ No newline at end of file
diff --git a/srcpkgs/ROCm-SMI/patches/0001-cmake-system-processor.patch b/srcpkgs/ROCm-SMI/patches/0001-cmake-system-processor.patch
new file mode 100644
index 00000000000000..db496a5abcdc0b
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/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/template b/srcpkgs/ROCm-SMI/template
new file mode 100644
index 00000000000000..6d4a4af1c2ae5e
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/template
@@ -0,0 +1,21 @@
+# Template file for 'ROCm-SMI'
+pkgname=ROCm-SMI
+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-devel_package() {
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove "usr/lib/*.so"
+	}
+}

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: New package: ROCm-SMI-6.0.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (2 preceding siblings ...)
  2024-02-15 18:09 ` Calandracas606
@ 2024-02-15 21:11 ` zen0bit
  2024-04-11 12:35 ` Calandracas606
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: zen0bit @ 2024-02-15 21:11 UTC (permalink / raw)
  To: ml

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

New comment by zen0bit on void-packages repository

https://github.com/void-linux/void-packages/pull/48744#issuecomment-1947345975

Comment:
Works for me

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: New package: ROCm-SMI-6.0.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (3 preceding siblings ...)
  2024-02-15 21:11 ` New package: ROCm-SMI-6.0.2 zen0bit
@ 2024-04-11 12:35 ` Calandracas606
  2024-07-09 17:31 ` [PR PATCH] [Updated] " Calandracas606
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Calandracas606 @ 2024-04-11 12:35 UTC (permalink / raw)
  To: ml

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

New comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/48744#issuecomment-2049598755

Comment:
Patch in this PR has been merged upstream:
https://github.com/ROCm/rocm_smi_lib/commit/38d1275d64f06800f3cf46ce198c4ab0cd6bbf42

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] New package: ROCm-SMI-6.0.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (4 preceding siblings ...)
  2024-04-11 12:35 ` Calandracas606
@ 2024-07-09 17:31 ` Calandracas606
  2024-10-08  1:59 ` New package: ROCm-SMI-6.1.2 github-actions
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: Calandracas606 @ 2024-07-09 17:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1272 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-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: 2704 bytes --]

From 1aa3f50cef943ecbc305b251369cecef7589fa82 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-6.1.2

---
 srcpkgs/ROCm-SMI-devel                |  1 +
 srcpkgs/ROCm-SMI/patches/cflags.patch | 16 ++++++++++++++++
 srcpkgs/ROCm-SMI/template             | 21 +++++++++++++++++++++
 srcpkgs/ROCm-SMI/update               |  1 +
 4 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/ROCm-SMI-devel
 create mode 100644 srcpkgs/ROCm-SMI/patches/cflags.patch
 create mode 100644 srcpkgs/ROCm-SMI/template
 create mode 100644 srcpkgs/ROCm-SMI/update

diff --git a/srcpkgs/ROCm-SMI-devel b/srcpkgs/ROCm-SMI-devel
new file mode 120000
index 00000000000000..ca9824f034d928
--- /dev/null
+++ b/srcpkgs/ROCm-SMI-devel
@@ -0,0 +1 @@
+ROCm-SMI
\ No newline at end of file
diff --git a/srcpkgs/ROCm-SMI/patches/cflags.patch b/srcpkgs/ROCm-SMI/patches/cflags.patch
new file mode 100644
index 00000000000000..eba0d4b87ef803
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/patches/cflags.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 82306ad..74f407a 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -105,11 +105,6 @@ endif ()
+ # Use this instead of above for 32 bit
+ # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
+ 
+-if ("${CMAKE_BUILD_TYPE}" STREQUAL Release)
+-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
+-else ()
+-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ggdb -O0 -DDEBUG")
+-endif ()
+ 
+ set(COMMON_SRC_DIR "${PROJECT_SOURCE_DIR}/src")
+ set(COMMON_INC_DIR "${PROJECT_SOURCE_DIR}/include/rocm_smi")
diff --git a/srcpkgs/ROCm-SMI/template b/srcpkgs/ROCm-SMI/template
new file mode 100644
index 00000000000000..84739e79c97751
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/template
@@ -0,0 +1,21 @@
+# Template file for 'ROCm-SMI'
+pkgname=ROCm-SMI
+version=6.1.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=01f46fb1cb8c7a16a4c4db61871ee710ed37c0f8bd3a2dbe3415d3de2dffb4ef
+
+ROCm-SMI-devel_package() {
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/ROCm-SMI/update b/srcpkgs/ROCm-SMI/update
new file mode 100644
index 00000000000000..b1c3342be3209b
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/update
@@ -0,0 +1 @@
+pkgname="rocm"

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: New package: ROCm-SMI-6.1.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (5 preceding siblings ...)
  2024-07-09 17:31 ` [PR PATCH] [Updated] " Calandracas606
@ 2024-10-08  1:59 ` github-actions
  2024-10-08 17:12 ` zen0bit
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: github-actions @ 2024-10-08  1:59 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/48744#issuecomment-2398485530

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: New package: ROCm-SMI-6.1.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (6 preceding siblings ...)
  2024-10-08  1:59 ` New package: ROCm-SMI-6.1.2 github-actions
@ 2024-10-08 17:12 ` zen0bit
  2024-10-08 22:22 ` Calandracas606
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: zen0bit @ 2024-10-08 17:12 UTC (permalink / raw)
  To: ml

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

New comment by zen0bit on void-packages repository

https://github.com/void-linux/void-packages/pull/48744#issuecomment-2400410834

Comment:
bump

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: New package: ROCm-SMI-6.1.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (7 preceding siblings ...)
  2024-10-08 17:12 ` zen0bit
@ 2024-10-08 22:22 ` Calandracas606
  2024-10-09  3:28 ` [PR PATCH] [Updated] " Calandracas606
  2024-10-09  3:41 ` [PR PATCH] [Merged]: New package: ROCm-SMI-6.2.2 classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: Calandracas606 @ 2024-10-08 22:22 UTC (permalink / raw)
  To: ml

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

New comment by Calandracas606 on void-packages repository

https://github.com/void-linux/void-packages/pull/48744#issuecomment-2400921655

Comment:
I'll update this PR to the latest release soon

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Updated] New package: ROCm-SMI-6.1.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (8 preceding siblings ...)
  2024-10-08 22:22 ` Calandracas606
@ 2024-10-09  3:28 ` Calandracas606
  2024-10-09  3:41 ` [PR PATCH] [Merged]: New package: ROCm-SMI-6.2.2 classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: Calandracas606 @ 2024-10-09  3:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1272 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-6.1.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: 2704 bytes --]

From d2ea2f67d3558ba89762c96f489c0d11c094bf6f 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-6.2.2

---
 srcpkgs/ROCm-SMI-devel                |  1 +
 srcpkgs/ROCm-SMI/patches/cflags.patch | 16 ++++++++++++++++
 srcpkgs/ROCm-SMI/template             | 21 +++++++++++++++++++++
 srcpkgs/ROCm-SMI/update               |  1 +
 4 files changed, 39 insertions(+)
 create mode 120000 srcpkgs/ROCm-SMI-devel
 create mode 100644 srcpkgs/ROCm-SMI/patches/cflags.patch
 create mode 100644 srcpkgs/ROCm-SMI/template
 create mode 100644 srcpkgs/ROCm-SMI/update

diff --git a/srcpkgs/ROCm-SMI-devel b/srcpkgs/ROCm-SMI-devel
new file mode 120000
index 00000000000000..ca9824f034d928
--- /dev/null
+++ b/srcpkgs/ROCm-SMI-devel
@@ -0,0 +1 @@
+ROCm-SMI
\ No newline at end of file
diff --git a/srcpkgs/ROCm-SMI/patches/cflags.patch b/srcpkgs/ROCm-SMI/patches/cflags.patch
new file mode 100644
index 00000000000000..eba0d4b87ef803
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/patches/cflags.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 82306ad..74f407a 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -105,11 +105,6 @@ endif ()
+ # Use this instead of above for 32 bit
+ # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
+ 
+-if ("${CMAKE_BUILD_TYPE}" STREQUAL Release)
+-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
+-else ()
+-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ggdb -O0 -DDEBUG")
+-endif ()
+ 
+ set(COMMON_SRC_DIR "${PROJECT_SOURCE_DIR}/src")
+ set(COMMON_INC_DIR "${PROJECT_SOURCE_DIR}/include/rocm_smi")
diff --git a/srcpkgs/ROCm-SMI/template b/srcpkgs/ROCm-SMI/template
new file mode 100644
index 00000000000000..dd6149863c36f1
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/template
@@ -0,0 +1,21 @@
+# Template file for 'ROCm-SMI'
+pkgname=ROCm-SMI
+version=6.2.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=c0701ef131dcd591ef2d4d2f1719af59cbed35bc3eccd3ce9523f55293fa1a37
+
+ROCm-SMI-devel_package() {
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/cmake
+		vmove "usr/lib/*.so"
+	}
+}
diff --git a/srcpkgs/ROCm-SMI/update b/srcpkgs/ROCm-SMI/update
new file mode 100644
index 00000000000000..b1c3342be3209b
--- /dev/null
+++ b/srcpkgs/ROCm-SMI/update
@@ -0,0 +1 @@
+pkgname="rocm"

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PR PATCH] [Merged]: New package: ROCm-SMI-6.2.2
  2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
                   ` (9 preceding siblings ...)
  2024-10-09  3:28 ` [PR PATCH] [Updated] " Calandracas606
@ 2024-10-09  3:41 ` classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-10-09  3:41 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: ROCm-SMI-6.2.2
https://github.com/void-linux/void-packages/pull/48744

Description:
<!-- 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)



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-10-09  3:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 17:56 [PR PATCH] New package: ROCm-SMI-LIB-6.0.2 Calandracas606
2024-02-15 17:59 ` [PR REVIEW] " Calandracas606
2024-02-15 18:06 ` [PR PATCH] [Updated] " Calandracas606
2024-02-15 18:09 ` Calandracas606
2024-02-15 21:11 ` New package: ROCm-SMI-6.0.2 zen0bit
2024-04-11 12:35 ` Calandracas606
2024-07-09 17:31 ` [PR PATCH] [Updated] " Calandracas606
2024-10-08  1:59 ` New package: ROCm-SMI-6.1.2 github-actions
2024-10-08 17:12 ` zen0bit
2024-10-08 22:22 ` Calandracas606
2024-10-09  3:28 ` [PR PATCH] [Updated] " Calandracas606
2024-10-09  3:41 ` [PR PATCH] [Merged]: New package: ROCm-SMI-6.2.2 classabbyamp

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).