Package Details: amdgpu_top 0.10.1-1

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: 28
Popularity: 0.42
First Submitted: 2023-04-09 17:18 (UTC)
Last Updated: 2024-12-14 11:50 (UTC)

Required by (1)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Teddy-Kun commented on 2024-12-10 17:01 (UTC)

@bensoibj 'lazy_cell' has been in stable Rust since 1.80.0. Try running rustup update to update to the latest stable compiler.

bensoibj commented on 2024-12-07 14:40 (UTC)

I always got a couple of errors [E0658]: use of unstable library feature 'lazy_cell' or use of unstable library feature 'split_at_checked': new API

Using rustup version 1.27.1.

Solved by switching to the nightly branch (export RUSTUP_TOOLCHAIN=nightly instead of …=stable in the PKBUILD).

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.