mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
New package: ROCm-SMI-6.2.2
This commit is contained in:
parent
2ed4a25c3c
commit
b491401a56
4 changed files with 39 additions and 0 deletions
1
srcpkgs/ROCm-SMI-devel
Symbolic link
1
srcpkgs/ROCm-SMI-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
ROCm-SMI
|
16
srcpkgs/ROCm-SMI/patches/cflags.patch
Normal file
16
srcpkgs/ROCm-SMI/patches/cflags.patch
Normal file
|
@ -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")
|
21
srcpkgs/ROCm-SMI/template
Normal file
21
srcpkgs/ROCm-SMI/template
Normal file
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/ROCm-SMI/update
Normal file
1
srcpkgs/ROCm-SMI/update
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pkgname="rocm"
|
Loading…
Add table
Reference in a new issue