forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ed4a25
commit b491401
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ROCm-SMI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pkgname="rocm" |