From eb937679a8ebcb6eedd7998364a11c9a126d4181 Mon Sep 17 00:00:00 2001 From: Przemyslaw Wirkus Date: Thu, 7 Nov 2024 11:14:13 +0000 Subject: [PATCH 1/2] wperf-scripts: bump telemetry-solution submodule to latest commit spe-parser is set to 0.6.0 --- wperf-scripts/tests/telemetry-solution | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wperf-scripts/tests/telemetry-solution b/wperf-scripts/tests/telemetry-solution index 8f416cf..82a5e7f 160000 --- a/wperf-scripts/tests/telemetry-solution +++ b/wperf-scripts/tests/telemetry-solution @@ -1 +1 @@ -Subproject commit 8f416cf99b4aa1d611a03f2c1d8973f12473e216 +Subproject commit 82a5e7f8ec2869db75dcfe824280548062f57fa6 From 9f2ba7d3b1d7baffe37abaaf95096cd1fd1c35ca Mon Sep 17 00:00:00 2001 From: Przemyslaw Wirkus Date: Thu, 7 Nov 2024 11:40:00 +0000 Subject: [PATCH 2/2] wperf-scripts: fallback to C implementation of C in ustress Use USE_C=1 make flag --- wperf-scripts/tests/README.md | 2 +- wperf-scripts/tests/wperf_cli_ustress_bench_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wperf-scripts/tests/README.md b/wperf-scripts/tests/README.md index c173b9d..ca81e16 100644 --- a/wperf-scripts/tests/README.md +++ b/wperf-scripts/tests/README.md @@ -139,7 +139,7 @@ InstalledDir: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\L ``` > cd telemetry-solution/tools/ustress > make clean -> make CPU=NEOVERSE-N1 +> make CPU=NEOVERSE-N1 USE_C=1 ``` ### See Merge Request Documentation diff --git a/wperf-scripts/tests/wperf_cli_ustress_bench_test.py b/wperf-scripts/tests/wperf_cli_ustress_bench_test.py index 01fd44d..b3ce6cd 100644 --- a/wperf-scripts/tests/wperf_cli_ustress_bench_test.py +++ b/wperf-scripts/tests/wperf_cli_ustress_bench_test.py @@ -159,7 +159,7 @@ def test_ustress_bench_build_ustress__make_cpu(): ### Build ustress for this platform product_name = get_product_name() CPU = get_make_CPU_name(product_name) - stdout, _ = run_command(f"make CPU={CPU}", TS_USTRESS_DIR) # Build all tests + stdout, _ = run_command(f"make CPU={CPU} USE_C=1", TS_USTRESS_DIR) # Build all tests, USE_C=1 - fallback to C implementation. # Build sanity checks, e.g.: # clang -std=c11 -O2 -g -Wall -pedantic -DCPU_NEOVERSE_N1 --target=arm64-pc-windows-msvc -o branch_direct_workload.exe branch_direct_workload.c