diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-09 01:07:53 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-09 01:07:53 +0000 |
commit | 4464bf26d93bdcc80e0b1330fe9c9caef26b34fc (patch) | |
tree | 62f9e9438bf700cf277191db5d7c3a641bc972dc /dev-util/rocm-smi/files/rocm-smi-5.7.1-remove-example.patch | |
parent | 8edd4a48a39640822abe6ddb7b2a1d5b2da4ea70 (diff) |
gentoo auto-resync : 09:03:2024 - 01:07:53
Diffstat (limited to 'dev-util/rocm-smi/files/rocm-smi-5.7.1-remove-example.patch')
-rw-r--r-- | dev-util/rocm-smi/files/rocm-smi-5.7.1-remove-example.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-util/rocm-smi/files/rocm-smi-5.7.1-remove-example.patch b/dev-util/rocm-smi/files/rocm-smi-5.7.1-remove-example.patch new file mode 100644 index 000000000000..18e1f4c78b5d --- /dev/null +++ b/dev-util/rocm-smi/files/rocm-smi-5.7.1-remove-example.patch @@ -0,0 +1,14 @@ +Remove example; unused, only generates not important QA warnings +--- a/rocm_smi/CMakeLists.txt ++++ b/rocm_smi/CMakeLists.txt +@@ -76,8 +76,10 @@ set(SMI_INC_LIST "") + + set(SMI_EXAMPLE_EXE "rocm_smi_ex") + ++if (WITH_EXAMPLE) + add_executable(${SMI_EXAMPLE_EXE} "example/rocm_smi_example.cc") + target_link_libraries(${SMI_EXAMPLE_EXE} ${ROCM_SMI_TARGET}) ++endif() + add_library(${ROCM_SMI_TARGET} ${CMN_SRC_LIST} ${SMI_SRC_LIST} + ${CMN_INC_LIST} ${SMI_INC_LIST}) + target_link_libraries(${ROCM_SMI_TARGET} pthread rt) |