From 94491fc4fa19e4ac8368b346231c04f6d0d86906 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Mon, 16 Jan 2023 10:57:34 +0100 Subject: [PATCH] added gcc-x86 job --- .github/workflows/benchmarks.yml | 16 +++++++++++++++- gcc-x86/main.cpp.txt | 0 x86-linux.cmake | 5 +++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 gcc-x86/main.cpp.txt create mode 100644 x86-linux.cmake diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index cdf340e5..d9f1ce8f 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -49,6 +49,19 @@ jobs: command: ./benchmark xcode_version: 13.4.1 + - name: gcc-x86 + compiler: g++-11 + architecture: -m32 + vcpkgoptions: port:x86-linux + sourcefile: main.cpp + download-datafiles: true + compileroptions: -std=c++2a -O3 -DNDEBUG -DCFOA_EMBEDDED_GROUP_ACCESS + outputfile: benchmark + reportdir: gcc-x86 + os: [self-hosted, linux, x64] + install: g++-11 curl zip unzip tar pkg-config + command: sudo cset shield --exec -- nice -n -20 sudo -u gha ./benchmark + runs-on: ${{matrix.os}} steps: @@ -95,10 +108,11 @@ jobs: fi cd $GITHUB_WORKSPACE git clone https://github.com/Microsoft/vcpkg.git + cp x86-linux.cmake vcpkg/triplets cd vcpkg ./bootstrap-vcpkg.sh -disableMetrics ./vcpkg integrate install - ./vcpkg install tbb + ./vcpkg install tbb ${{matrix.vcpkgoptions}} - name: Install libcuckoo run: | cd $GITHUB_WORKSPACE diff --git a/gcc-x86/main.cpp.txt b/gcc-x86/main.cpp.txt new file mode 100644 index 00000000..e69de29b diff --git a/x86-linux.cmake b/x86-linux.cmake new file mode 100644 index 00000000..14d2e9aa --- /dev/null +++ b/x86-linux.cmake @@ -0,0 +1,5 @@ +set(VCPKG_TARGET_ARCHITECTURE x86) +set(VCPKG_CRT_LINKAGE dynamic) +set(VCPKG_LIBRARY_LINKAGE static) + +set(VCPKG_CMAKE_SYSTEM_NAME Linux)