mirror of
https://github.com/aristocratos/btop.git
synced 2024-09-29 22:51:35 +02:00
Update compile instructions for Gpu support
This commit is contained in:
parent
359c67136b
commit
2b0cc37632
@ -396,6 +396,8 @@ Also needs a UTF8 locale and a font that covers:
|
|||||||
Append `ARCH=<architecture>` to manually set the target architecture.
|
Append `ARCH=<architecture>` to manually set the target architecture.
|
||||||
If omitted the makefile uses the machine triple (output of `-dumpmachine` compiler parameter) to detect the target system.
|
If omitted the makefile uses the machine triple (output of `-dumpmachine` compiler parameter) to detect the target system.
|
||||||
|
|
||||||
|
Append `GPU_SUPPORT=true` or `false` to enable/disable GPU support. (Enabled by default on X86_64 Linux).
|
||||||
|
|
||||||
Append `RSMI_STATIC=true` to statically link the ROCm SMI library used for querying AMDGPU data.
|
Append `RSMI_STATIC=true` to statically link the ROCm SMI library used for querying AMDGPU data.
|
||||||
See [GPU compatibility](#gpu-compatibility) for details.
|
See [GPU compatibility](#gpu-compatibility) for details.
|
||||||
|
|
||||||
@ -409,7 +411,7 @@ Also needs a UTF8 locale and a font that covers:
|
|||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
4. **Install**
|
5. **Install**
|
||||||
|
|
||||||
Append `PREFIX=/target/dir` to set target, default: `/usr/local`
|
Append `PREFIX=/target/dir` to set target, default: `/usr/local`
|
||||||
|
|
||||||
@ -419,7 +421,7 @@ Also needs a UTF8 locale and a font that covers:
|
|||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
5. **(Optional) Set suid bit to make btop always run as root (or other user)**
|
6. **(Optional) Set suid bit to make btop always run as root (or other user)**
|
||||||
|
|
||||||
No need for `sudo` to enable signal sending to any process and to prevent /proc read permissions problems on some systems.
|
No need for `sudo` to enable signal sending to any process and to prevent /proc read permissions problems on some systems.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user