Followup-For: Bug #1121159
Control: tag -1 patch pending

NMU to DELAYED/10 is in the queue.

Andreas
>From 5c59cbbe13ddf4f05d1592df0a50cc890cb3aa96 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <[email protected]>
Date: Sat, 20 Dec 2025 02:01:51 +0100
Subject: [PATCH 7/8] Add superficial autopkgtest for rocm_smi.h usability.

---
 debian/tests/control | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
index 5a2cc12..bffe79b 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -22,3 +22,11 @@ Depends:
  g++,
 Restrictions:
  superficial,
+
+Test-Command: echo -e '\043include <rocm_smi.h>' | gcc -x c 
-I/usr/include/rocm_smi -c -
+Features: test-name=rocm_smi.h-usability
+Depends:
+ librocm-smi-dev,
+ g++,
+Restrictions:
+ superficial,
-- 
2.39.5

>From a7e327e4d340c69448b3e6597b4dd45ee78ed406 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <[email protected]>
Date: Sat, 20 Dec 2025 04:05:55 +0100
Subject: [PATCH 8/8] librocm-smi-dev: Add dependency on libdrm-dev.

Closes: #1121159
---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index 295f366..b3d0850 100644
--- a/debian/control
+++ b/debian/control
@@ -41,6 +41,7 @@ Section: libdevel
 Depends: ${misc:Depends},
          librocm-smi64-1 (= ${binary:Version}),
          liboam-dev (= ${binary:Version}),
+         libdrm-dev,
 Description: ROCm System Management Interface (ROCm SMI) library headers
  ROCm SMI is part of the ROCm software stack. It is a C library for Linux
  that provides a user-space interface for applications to monitor and
-- 
2.39.5

Reply via email to