suaefar / ryzen-test

Tools to reproduce randomly crashing processes under load on AMD Ryzen processors on Linux
GNU General Public License v3.0
224 stars 59 forks source link

Add Archlinux support #16

Closed Oxalin closed 6 years ago

Oxalin commented 6 years ago

Archlinux uses pacman instead of dnf and apt-get. The script exits when it tries to install required development packages.

Oxalin commented 6 years ago

Here is the required patch

0001-Add-Archlinux-support.patch.txt

Oxalin commented 6 years ago

If you prefer that I fork the code and go through a pull request, let me know.

suaefar commented 6 years ago

Arch linux is not supported because gcc-7.1 did not compile with the provided gcc version. Even if it does now, it can change any day in the future. Support for a rolling release distro is not feasible. The most important thing for me is if you tested the patch on Arch and if runs correctly. If 2x yes, I can apply the patch but I won't mention Arch in the readme.

jbax commented 6 years ago

Just letting you know that patch works for me on Manjaro Linux. Thanks @Oxalin!

Oxalin commented 6 years ago

I'll have to send a new version though, there shouldn't be a "abs" in the package list.

Oxalin commented 6 years ago

This would be the correct patch.

0001-Add-Archlinux-support.patch.txt

Tested on my setup on ArchLinux and I was able to confirm my CPU is also concerned by the segfault error... RMA has been approved by AMD.

suaefar commented 6 years ago

Okay, added the line.