From d7c1d0937aa66fddad75abe758cac30475961914 Mon Sep 17 00:00:00 2001 From: ElekCorp <93953948+ElekCorp@users.noreply.github.com> Date: Tue, 31 Dec 2024 03:10:03 +0100 Subject: [PATCH] fixing zig cc flags and version command in .yaml (#455) --- bench/bench_c_ffi.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/bench_c_ffi.yaml b/bench/bench_c_ffi.yaml index 4a698c4f..fc4ef76e 100644 --- a/bench/bench_c_ffi.yaml +++ b/bench/bench_c_ffi.yaml @@ -35,9 +35,10 @@ environments: - os: linux compiler: zigcc version: latest + compiler_version_command: zig version docker: include: c - build: zig cc -pipe -O3 -fomit-frame-pointer -march=native -Wno-deprecated-declarations -mno-fma -o app app.c -lm -lcrypto + build: zig cc -pipe -O3 -fomit-frame-pointer -march=broadwell -Wno-deprecated-declarations -mno-fma -o app app.c -lm -lcrypto after_build: - mv app out out_dir: out