Kaynağa Gözat

CI: use system cpu_features

Ilia Shipitsin 6 ay önce
ebeveyn
işleme
b4916f20af
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      .github/workflows/fedora-rawhide.yml

+ 2 - 2
.github/workflows/fedora-rawhide.yml

@@ -25,10 +25,10 @@ jobs:
         submodules: true
     - name: Install dependencies
       run: |
-        dnf -y install git cmake ncurses-devel openssl-devel-engine libsodium-devel readline-devel zlib-devel gcc-c++ clang
+        dnf -y install git cmake ncurses-devel openssl-devel-engine libsodium-devel readline-devel zlib-devel gcc-c++ clang google-cpu_features-devel
     - name: Compile with ${{ matrix.cc }}
       run: |
         export CC=${{ matrix.cc }}
-        ./configure
+        CMAKE_FLAGS="-DUSE_SYSTEM_CPU_FEATURES=1" CFLAGS="-I/usr/include/cpu_features" ./configure
         make -C build