Patch to remove DARN
This commit is contained in:
parent
7b4178eca6
commit
9f3f758711
21
0_15_10-poewrpc-remove-darn.patch
Normal file
21
0_15_10-poewrpc-remove-darn.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- Makefile.config.orig 2023-06-17 11:04:09.066554131 +0200
|
||||
+++ Makefile.config 2023-06-17 11:04:25.778708407 +0200
|
||||
@@ -920,7 +920,7 @@
|
||||
ASM_ALPHA_DRAINA ASM_ALPHA_HALT ASM_ARM_YIELD ASM_ARM_TLBI \
|
||||
ASM_HPPA_DIAG ASM_HPPA_RFI ASM_M68K_EORI_SR ASM_MB ASM_MIPS_WAIT \
|
||||
ASM_NOP ASM_S390_PTLB ASM_SH4_RTE ASM_SH4_SLEEP ASM_SPARC_MEMBAR \
|
||||
- ASM_SPARC_RDPR ASM_SPARC_TICK ASM_PPC64_DARN ASM_PPC64_DCBST \
|
||||
+ ASM_SPARC_RDPR ASM_SPARC_TICK ASM_PPC64_DCBST \
|
||||
ASM_PPC64_DCBT ASM_PPC64_DCBTST ASM_PPC64_ICBI ASM_PPC64_MSYNC \
|
||||
ASM_PPC64_TLBIE ASM_RISCV_FENCE ASM_RISCV_FENCE_I ASM_RISCV_SFENCE_VMA \
|
||||
ASM_X86_CLDEMOTE ASM_X86_CLFLUSH ASM_X86_CLFLUSHOPT ASM_X86_CLWB \
|
||||
@@ -981,9 +981,6 @@
|
||||
ASM_MIPS_WAIT: compiler
|
||||
$(call check,test-asm-mips-wait,HAVE_ASM_MIPS_WAIT,MIPS wait instruction)
|
||||
|
||||
-ASM_PPC64_DARN: compiler
|
||||
- $(call check,test-asm-ppc64-darn,HAVE_ASM_PPC64_DARN,ppc64 darn instruction)
|
||||
-
|
||||
ASM_PPC64_DCBST: compiler
|
||||
$(call check,test-asm-ppc64-dcbst,HAVE_ASM_PPC64_DCBST,ppc64 dcbst instruction)
|
||||
|
@ -6,6 +6,8 @@ Summary: Stress test a computer system in various ways
|
||||
License: GPLv2+
|
||||
URL: https://github.com/ColinIanKing/stress-ng
|
||||
Source0: https://github.com/ColinIanKing/stress-ng/archive/V%{version}/%{name}-%{version}.tar.gz
|
||||
# darn is not supported in Power ISA < 3.0, while Fedora aims for Power ISA 2.07
|
||||
Patch0: 0_15_10-poewrpc-remove-darn.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
@ -31,8 +33,6 @@ system kernel interfaces.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version}
|
||||
# darn is not supported in Power ISA < 3.0, while Fedora aims for Power ISA 2.07
|
||||
sed 's/ASM_SPARC_RDPR ASM_SPARC_TICK ASM_PPC64_DARN ASM_PPC64_DCBST/ASM_SPARC_RDPR ASM_SPARC_TICK ASM_PPC64_DCBST/' Makefile.config
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
Loading…
Reference in New Issue
Block a user