|WARNING| pw112064 [PATCH] Fix RISC-V builds
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Mon May 30 16:28:12 CEST 2022
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/112064
_apply patch failure_
Submitter: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
Date: Monday, May 30 2022 14:11:03
Applied on: CommitID:64fcadeac0f70c8c9c215196a3d580b4ad37dcdc
Apply patch set 112064 failed:
Checking patch meson.build...
error: while searching for:
# set up some global vars for compiler, platform, configuration, etc.
cc = meson.get_compiler('c')
add_project_arguments('-march=native', language: 'c')
if get_option('enable-avx') and cc.has_argument('-mavx')
add_project_arguments('-mavx', language: 'c')
error: patch failed: meson.build:17
Applying patch meson.build with 1 reject...
Rejected hunk #1.
diff a/meson.build b/meson.build (rejected hunks)
@@ -17,7 +17,10 @@ pktgen_conf = configuration_data()
# set up some global vars for compiler, platform, configuration, etc.
cc = meson.get_compiler('c')
-add_project_arguments('-march=native', language: 'c')
+target = target_machine.cpu_family()
+if (target != 'riscv64')
+ add_project_arguments('-march=native', language: 'c')
+endif
if get_option('enable-avx') and cc.has_argument('-mavx')
add_project_arguments('-mavx', language: 'c')
https://lab.dpdk.org/results/dashboard/patchsets/22358/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list