File: 0007-cpu_features-Start-using-packaged-version-in-CI.patch

package info (click to toggle)
volk 3.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,916 kB
  • sloc: ansic: 40,447; cpp: 2,005; asm: 918; python: 897; xml: 375; sh: 157; makefile: 14
file content (31 lines) | stat: -rw-r--r-- 1,160 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 04c10bc8da7479e5023bde88a9ccf2a4ace62727 Mon Sep 17 00:00:00 2001
From: Johannes Demel <jdemel@gnuradio.org>
Date: Sun, 6 Jul 2025 19:06:37 +0200
Subject: [PATCH 07/12] cpu_features: Start using packaged version in CI

Most distros provide a cpu_features package now. On most platforms all
the required features are available. Let's use these features.

Signed-off-by: Johannes Demel <jdemel@gnuradio.org>
---
 .github/workflows/run-tests.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index c4496a3..10cf81a 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -58,7 +58,9 @@ jobs:
           cmake --build build -j$(nproc)
       - name: Print info
         run: |
-          ./build/cpu_features/list_cpu_features
+          if [ -f ./build/cpu_features/list_cpu_features ]; then
+            ./build/cpu_features/list_cpu_features
+          fi
           ./build/apps/volk-config-info --alignment
           ./build/apps/volk-config-info --avail-machines
           ./build/apps/volk-config-info --all-machines
-- 
2.47.2