New package: ROCm-SMI-6.2.2
This commit is contained in:
parent
2ed4a25c3c
commit
b491401a56
|
@ -0,0 +1 @@
|
|||
ROCm-SMI
|
|
@ -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")
|
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
pkgname="rocm"
|
Loading…
Reference in New Issue