1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-05-01 15:43:58 +03:00

Merge pull request #2117 from chipitsine/master

CI: use system cpu_features
This commit is contained in:
Ilya Shipitsin 2025-04-08 23:17:32 +02:00 committed by GitHub
commit 2265435d62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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