File tree 3 files changed +46
-2
lines changed
3 files changed +46
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on : push
3
+ jobs :
4
+ linux-x86_64 :
5
+ runs-on : ubuntu-22.04
6
+ steps :
7
+ - name : Checkout
8
+ uses : actions/checkout@v4
9
+ - name : Packages
10
+ run : |
11
+ sudo apt-get update && sudo apt-get install -y wget cmake gnupg2 ninja-build build-essential unzip
12
+ - name : Build FFTW
13
+ run : |
14
+ cd "$VCPKG_INSTALLATION_ROOT"
15
+ ./vcpkg install fftw3[avx2]
16
+ ls -la "$VCPKG_INSTALLATION_ROOT/installed"
17
+ ls -la "$VCPKG_INSTALLATION_ROOT/installed/x64-linux"
18
+ ls -la "$VCPKG_INSTALLATION_ROOT/installed/x64-linux/share"
19
+ ls -la "$VCPKG_INSTALLATION_ROOT/installed/x64-linux/lib"
20
+ ls -la "$VCPKG_INSTALLATION_ROOT/installed/x64-linux/include"
21
+ - name : Get KFR6 binaries
22
+ env :
23
+ TMP_DIR : ${{ runner.temp }}
24
+ KFR_VER : 6.0.2
25
+ run : |
26
+ curl -o "$TMP_DIR/kfr.zip" -L "https://github.com/kfrlib/kfr/releases/download/$KFR_VER/linux-x86_64.zip"
27
+ unzip "$TMP_DIR/kfr.zip" -d "${TMP_DIR}/kfr"
28
+ ls -la "${TMP_DIR}/kfr"
29
+ - name : Build benchmark
30
+ env :
31
+ TMP_DIR : ${{ runner.temp }}
32
+ run : |
33
+ cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -GNinja "-DCMAKE_PREFIX_PATH=${TMP_DIR}/kfr/lib/cmake;$VCPKG_INSTALLATION_ROOT/installed/x64-linux/share"
34
+ ninja -C build
35
+ ls -la build
36
+ file build/fft_benchmark_{fftw,kfr}
37
+ cp build/fft_benchmark_{fftw,kfr} ${{ github.workspace }}/dist
38
+ - name : Binaries
39
+ uses : actions/upload-artifact@v4
40
+ with :
41
+ name : linux-x86_64
42
+ path : ${{ github.workspace }}/dist
Original file line number Diff line number Diff line change 1
1
# build directory
2
- build *
2
+ build
3
+ build /
3
4
bin /
4
5
5
6
ipp /*
Original file line number Diff line number Diff line change 21
21
#include < array>
22
22
#include < charconv>
23
23
#include < memory>
24
- #include < stdlib.h>
24
+ #include < cstdlib>
25
+ #include < cstring>
25
26
#include < string>
26
27
#include < string_view>
27
28
#include < vector>
You can’t perform that action at this time.
0 commit comments