From d7d5990a770e4837362826e2a26c931f3cf53605 Mon Sep 17 00:00:00 2001 From: Igor Krivenko Date: Thu, 16 May 2024 12:07:25 +0200 Subject: [PATCH] CI: Pass to `-march=native` to the compiler --- .github/workflows/build-test-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index ec2724b..faa627b 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -66,6 +66,7 @@ jobs: CXX="${{ matrix.cxx_compiler.cxx }}" cmake .. \ -DCMAKE_BUILD_TYPE=Debug \ -DCMAKE_INSTALL_PREFIX=${GITHUB_WORKSPACE}/installed \ + -DCMAKE_CXX_FLAGS="-march=native" \ -DSTATIC_ANALYSIS=${STATIC_ANALYSIS} \ -DTESTS=ON \ -DEXAMPLES=ON \