File tree Expand file tree Collapse file tree 3 files changed +46
-2
lines changed Expand file tree Collapse file tree 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 11# build directory
2- build *
2+ build
3+ build /
34bin /
45
56ipp /*
Original file line number Diff line number Diff line change 2121#include < array>
2222#include < charconv>
2323#include < memory>
24- #include < stdlib.h>
24+ #include < cstdlib>
25+ #include < cstring>
2526#include < string>
2627#include < string_view>
2728#include < vector>
You can’t perform that action at this time.
0 commit comments