[PR #7498] Add amdgpu_top build scripts #7151

Open
opened 2025-11-20 08:04:50 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE/pull/7498

State: closed
Merged: No


The provided script automates the installation and build process of the AMD GPU monitoring tool called amdgpu_top on Linux systems such as Ubuntu. The main workflow includes:

  1. Installing required build packages via apt, including build-essential, git, curl, and development libraries like libdrm.

  2. Installing the Rust programming environment via the official rustup script, which provides the latest Rust compiler and Cargo.

  3. Setting Rust environment variables for the current shell session by sourcing $HOME/.cargo/env.

  4. Cloning the amdgpu_top repository from GitHub and building it using cargo.

  5. Copying the compiled binary to /usr/sbin for system-wide availability.

스크린샷 2025-09-09 오후 12 47 50 스크린샷 2025-09-09 오후 12 41 43 스크린샷 2025-09-09 오후 12 36 34 스크린샷 2025-09-08 오후 10 07 50

✍️ Description

Link: #

Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.
**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE/pull/7498 **State:** closed **Merged:** No --- The provided script automates the installation and build process of the AMD GPU monitoring tool called amdgpu_top on Linux systems such as Ubuntu. The main workflow includes: 1. Installing required build packages via apt, including build-essential, git, curl, and development libraries like libdrm. 2. Installing the Rust programming environment via the official rustup script, which provides the latest Rust compiler and Cargo. 3. Setting Rust environment variables for the current shell session by sourcing $HOME/.cargo/env. 4. Cloning the amdgpu_top repository from GitHub and building it using cargo. 5. Copying the compiled binary to /usr/sbin for system-wide availability. <img width="880" height="551" alt="스크린샷 2025-09-09 오후 12 47 50" src="https://github.com/user-attachments/assets/f17ee3b8-9391-434e-84f4-9e670b2cc3bc" /> <img width="570" height="365" alt="스크린샷 2025-09-09 오후 12 41 43" src="https://github.com/user-attachments/assets/e011b5c2-ee3b-4d13-b9d4-466999d85911" /> <img width="616" height="342" alt="스크린샷 2025-09-09 오후 12 36 34" src="https://github.com/user-attachments/assets/040d0458-19b7-48fb-ac71-ab4d9d8c2019" /> <img width="721" height="682" alt="스크린샷 2025-09-08 오후 10 07 50" src="https://github.com/user-attachments/assets/6207f0cb-86fe-4889-8454-369a90db3924" /> <!--🛑 New scripts must be submitted to [ProxmoxVED](https://github.com/community-scripts/ProxmoxVED) for testing. PRs without prior testing will be closed. --> ## ✍️ Description ## 🔗 Related PR / Issue Link: # ## ✅ Prerequisites (**X** in brackets) - [x] **Self-review completed** – Code follows project standards. - [x] **Tested thoroughly** – Changes work as expected. - [x] **No security risks** – No hardcoded secrets, unnecessary privilege escalations, or permission issues. --- ## 🛠️ Type of Change (**X** in brackets) - [ ] 🐞 **Bug fix** – Resolves an issue without breaking functionality. - [ ] ✨ **New feature** – Adds new, non-breaking functionality. - [ ] 💥 **Breaking change** – Alters existing functionality in a way that may require updates. - [x] 🆕 **New script** – A fully functional and tested script or script set. - [ ] 🌍 **Website update** – Changes to website-related JSON files or metadata. - [ ] 🔧 **Refactoring / Code Cleanup** – Improves readability or maintainability without changing functionality. - [ ] 📝 **Documentation update** – Changes to `README`, `AppName.md`, `CONTRIBUTING.md`, or other docs.
saavagebueno added the pull-request label 2025-11-20 08:04:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#7151