check_march() {
CPU=$(gcc -Q -march=native --help=target|grep march=|awk '{print $2}'|head -1)
MARCH=$(echo $CPU|tr '[:lower:]' '[:upper:]'&&echo)
if [[ ${MARCH} == "ZNVER1" ]]; then
MARCH="ZEN"
elif [[ ${MARCH} == "ZNVER2" ]]; then
MARCH="ZEN2"
elif [[ ${MARCH} == "ZNVER3" ]]; then
MARCH="ZEN3"
elif [[ ${MARCH} == "BDVER1" ]]; then
MARCH="BULLDOZER"
elif [[ ${MARCH} == "BDVER2" ]]; then
MARCH="PILEDRIVER"
elif [[ ${MARCH} == "BDVER3" ]]; then
MARCH="STEAMROLLER"
elif [[ ${MARCH} == "BDVER4" ]]; then
MARCH="EXCAVATOR"
elif [[ ${MARCH} == "BTVER1" ]]; then
MARCH="BOBCAT"
elif [[ ${MARCH} == "BTVER2" ]]; then
MARCH="JAGUAR"
elif [[ ${MARCH} == "AMDFAM10" ]]; then
MARCH="MK10"
elif [[ ${MARCH} == "K8-SSE3" ]]; then
MARCH="K8SSE3"
elif [[ ${MARCH} == "BONNELL" ]]; then
MARCH="ATOM"
elif [[ ${MARCH} == "GOLDMONT-PLUS" ]]; then
MARCH="GOLDMONTPLUS"
elif [[ ${MARCH} == "SKYLAKE-AVX512" ]]; then
MARCH="SKYLAKE2"
elif [[ ${MARCH} == "ICELAKE-CLIENT" ]]; then
MARCH="ICELAKE"
fi
echo $MARCH
}
Search Criteria
Package Details: linux-amd-headers 6.10.5-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-amd.git (read-only, click to copy) |
---|---|
Package Base: | linux-amd |
Description: | Headers and scripts for building modules for the linux-amd package |
Upstream URL: | https://www.kernel.org/ |
Licenses: | GPL-2.0-only |
Submitter: | None |
Maintainer: | archdevlab |
Last Packager: | archdevlab |
Votes: | 33 |
Popularity: | 0.21 |
First Submitted: | 2019-11-10 15:20 (UTC) |
Last Updated: | 2024-08-21 00:22 (UTC) |
Dependencies (28)
- linux-amdAUR
- pahole (pahole-gitAUR)
- bc (bc-ghAUR) (make)
- binutils (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- cpio (cpio-gitAUR) (make)
- flex (flex-gitAUR) (make)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR) (make)
- graphviz (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- kmod (busybox-coreutilsAUR, kmod-gitAUR) (make)
- libelf (elfutils-gitAUR) (make)
- make (make-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- patch (patch-gitAUR) (make)
- perl (perl-gitAUR) (make)
- Show 8 more dependencies...
Required by (0)
Sources (21)
- 0001-amd-pstate-patches.patch
- 0001-x86-topology-Introduce-topology_logical_core_id.patch
- 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
- 0001-ZEN-cpufreq-Remove-schedutil-dependency-on-Intel-AMD.patch
- 0001-ZEN-drm-amdgpu-pm-Allow-override-of-min_power_limit-.patch
- 0002-drivers-firmware-skip-simpledrm-if-nvidia-drm.modese.patch
- 0002-perf-x86-rapl-Fix-the-energy-pkg-event-for-AMD-CPUs.patch
- 0003-arch-Kconfig-Default-to-maximum-amount-of-ASLR-bits.patch
- 0003-perf-x86-rapl-Rename-rapl_pmu-variables.patch
- 0004-perf-x86-rapl-Make-rapl_model-struct-global.patch
- 0004-x86-apic-Remove-logical-destination-mode-for-64-bit.patch
- 0005-btrfs-only-run-the-extent-map-shrinker-from-kswapd-t.patch
- 0005-perf-x86-rapl-Move-cpumask-variable-to-rapl_pmus-str.patch
- 0006-perf-x86-rapl-Add-wrapper-for-online-offline-functio.patch
- 0007-perf-x86-rapl-Add-an-argument-to-the-cleanup-and-ini.patch
- 0008-perf-x86-rapl-Modify-the-generic-variable-names-to-_.patch
- 0009-perf-x86-rapl-Remove-the-global-variable-rapl_msrs.patch
- 0010-perf-x86-rapl-Add-per-core-energy-counter-support-fo.patch
- 0011-perf-x86-rapl-Remove-the-unused-function-cpu_to_rapl.patch
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.10.5.tar.xz
- https://gitlab.archlinux.org/archlinux/packaging/packages/linux/-/raw/335b711f590650ef037442bf876f3551e5af0669/config
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 37 Next › Last »
blackhole commented on 2022-09-16 13:15 (UTC)
visious commented on 2022-09-16 13:11 (UTC)
Hi, I have a question for you. How do I know if my cpu is znver3 or mzen3 or znver2 to pick the correct kernel?
PS: I don't have AMD cpu, it's good to know.
killajoe commented on 2022-09-01 18:42 (UTC)
awesome! makes my machine happy.
<deleted-account> commented on 2022-08-31 13:01 (UTC)
ok I removed mkinitcpio from the deps, atleast it will get rid of the conflict warning then for the dracut users.
killajoe commented on 2022-08-30 21:41 (UTC)
Indeed mkinitcpio is still the most used but optional for the kernel packages: initramfs (mkinitcpio, dracut, booster, booster) It is only that p.e. dracut is conflicting with mkinitcpio. And i can build your linux-amd without mkinitcpio installed when i remove what i badly name "runnings" in install file and inside the PKGBUILD (the parts calling mkinitcpio)
<deleted-account> commented on 2022-08-30 21:20 (UTC)
AH well it's a good thing arch linux uses mkinitcpio then by default, wouldn't know what dracut needs lol.
dalto commented on 2022-08-30 21:04 (UTC)
Currently, you have mkinitcpio as a hard requirement. This is problematic if you are using dracut instead of mkinitcpio.
<deleted-account> commented on 2022-08-30 20:40 (UTC)
Try what exactly? What do you mean with "runnings in PKGBUILD" ? I'm not following your question.
killajoe commented on 2022-08-30 19:55 (UTC)
Would it be possible to add support for dracut? Just try that and see dependency for mkinitcpio and runnings in the PKGBUILD.
<deleted-account> commented on 2022-08-04 12:11 (UTC)
@blackhole thanks for the heads up!
Pinned Comments
archdevlab commented on 2024-08-15 03:38 (UTC)
Hi
I have adopted this package and have updated it!
Thanks!
<deleted-account> commented on 2023-05-04 16:38 (UTC)
GCC13.1 is mainlined in arch, so this means znver4 support can kick off on this kernel. The graysky compile patches have been updated too.
This kernel now natively supports the znver4 arch, but this kernel will most likely keep working on all AMD ryzen hardware. It's better to be able to address certain small perks or issues per architecture now and in the future.
<deleted-account> commented on 2020-10-26 18:15 (UTC)
GCC11.1 is mainlined in arch, so this means znver3 support can kick off on this kernel. The graysky compile patches have been updated too.
This kernel now natively supports the znver3 arch, but this kernel will most likely keep working on all AMD ryzen hardware. It's better to be able to address certain small perks or issues per architecture now and in the future.
<deleted-account> commented on 2019-11-10 15:23 (UTC)
Tired of compiling? Use this binary repo instead! Add this at the end of /etc/pacman.conf :