Package Details: amdgpu_top 0.9.2-2

Git Clone URL: https://aur.archlinux.org/amdgpu_top.git (read-only, click to copy)
Package Base: amdgpu_top
Description: Tool that shows AMD GPU utilization
Upstream URL: https://github.com/Umio-Yasuno/amdgpu_top
Licenses: MIT
Submitter: Teddy-Kun
Maintainer: Teddy-Kun
Last Packager: Teddy-Kun
Votes: 29
Popularity: 0.79
First Submitted: 2023-04-09 17:18 (UTC)
Last Updated: 2024-10-22 18:17 (UTC)

Required by (1)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Teddy-Kun commented on 2024-10-22 18:18 (UTC)

@HurricanePootis

Thanks I didn't know the guidelines updated

HurricanePootis commented on 2024-10-22 16:58 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 8200c36..e14ac6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ prepare() {
    cd "$srcdir/$pkgname-$pkgver"
    export RUSTUP_TOOLCHAIN=stable
    export CARGO_TARGET_DIR=target
-   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+   cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
 }

 build() {

You should change the prepare() function to follow the updated Rust packaging guidlines

teascade commented on 2024-10-01 17:56 (UTC) (edited on 2024-10-01 18:01 (UTC) by teascade)

amdgpu_top_gui may fail to build, because the make-dependencies allow stable rust, but the project uses unstable features which require rust-nightly. Appears, that it was merely me having an outdated rustup, so my bad, but that is an annoying issue.

Teddy-Kun commented on 2024-07-24 17:38 (UTC)

Sorry for the late update, I just kinda forgot.

hexhu commented on 2024-05-17 21:20 (UTC)

@Teddy-Kun Sorry! Must be my git CLRF setting that I forgot about causing the issue. Should've replicated the issue in clean room. Again sorry for the invalid bug report!

Teddy-Kun commented on 2024-05-17 09:49 (UTC)

@hexhu I do not use Windows and this package is created on vanilla Arch. It builds perfectly fine on both my laptop and my desktop.

hexhu commented on 2024-05-17 06:59 (UTC) (edited on 2024-05-18 08:03 (UTC) by hexhu)

-- deleted -- Totally a git conf issue on my side, I set git config --global core.autocrlf true, which messed things up, and should've used core.autocrlf input instead as directed in https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration

Hanabishi commented on 2023-12-02 21:12 (UTC) (edited on 2023-12-02 21:15 (UTC) by Hanabishi)

@jahway603, I assume you are using nightly rustc, but AUR packages use stable. So you need to update the stable toolchain.

jahway603 commented on 2023-12-02 20:55 (UTC)

keep getting this strange error, even though I have required rustc version installed

==> Starting build()...
error: package `eframe v0.24.0` cannot be built because it requires rustc 1.72 or newer, while the currently active rustc version is 1.71.1
Either upgrade to rustc 1.72 or newer, or use
cargo update -p eframe@0.24.0 --precise ver
where `ver` is the latest version of `eframe` supporting rustc 1.71.1
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'amdgpu_top-0.4.0-1': 
error: packages failed to build: amdgpu_top-0.4.0-1

$ rustc --version
rustc 1.72.1 (d5c2e9c34 2023-09-13)

Hanabishi commented on 2023-06-30 13:02 (UTC)

Thank you.