mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-05-01 15:43:58 +03:00
CI: use system cpu_features
This commit is contained in:
parent
260bc09276
commit
b4916f20af
4
.github/workflows/fedora-rawhide.yml
vendored
4
.github/workflows/fedora-rawhide.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user