From 077d733696e1333e3b747f662e85315e016be5e1 Mon Sep 17 00:00:00 2001 From: Andrei Malashkin Date: Wed, 4 Sep 2024 15:00:47 +0200 Subject: [PATCH] explicit mark enable debug to false --- crypto3/crypto3.nix | 2 +- flake.nix | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/crypto3/crypto3.nix b/crypto3/crypto3.nix index df608a3d32..c6a05331fc 100644 --- a/crypto3/crypto3.nix +++ b/crypto3/crypto3.nix @@ -7,7 +7,7 @@ gdb, cmake_modules, enableDebugging, - enableDebug ? true, + enableDebug ? false, runTests ? false, }: let diff --git a/flake.nix b/flake.nix index 5a53c68379..c24da41176 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ crypto3 = (pkgs.callPackage ./crypto3/crypto3.nix { }); crypto3-tests = (pkgs.callPackage ./crypto3/crypto3.nix { runTests = true; + enableDebug = false; }); crypto3-debug-tests = (pkgs.callPackage ./crypto3/crypto3.nix { enableDebug = true; @@ -33,15 +34,17 @@ evm-assigner = (pkgs.callPackage ./evm-assigner/evm-assigner.nix { crypto3 = crypto3; + enableDebug = false; }); evm-assigner-tests = (pkgs.callPackage ./evm-assigner/evm-assigner.nix { - runTests = true; crypto3 = crypto3; + runTests = true; + enableDebug = false; }); evm-assigner-debug-tests = (pkgs.callPackage ./evm-assigner/evm-assigner.nix { + crypto3 = crypto3; enableDebug = true; runTests = true; - crypto3 = crypto3; }); # The "all" package will build all packages. Convenient for CI, @@ -57,20 +60,24 @@ checks = rec { crypto3-tests-gcc = (pkgs.callPackage ./crypto3/crypto3.nix { + enableDebug = false; runTests = true; }); crypto3-tests-clang = (pkgs.callPackage ./crypto3/crypto3.nix { stdenv = pkgs.llvmPackages_18.stdenv; + enableDebug = false; runTests = true; }); evm-assigner-tests-gcc = (pkgs.callPackage ./evm-assigner/evm-assigner.nix { runTests = true; + enableDebug = false; crypto3 = crypto3-tests-gcc; }); evm-assigner-tests-clang = (pkgs.callPackage ./evm-assigner/evm-assigner.nix { stdenv = pkgs.llvmPackages_18.stdenv; runTests = true; + enableDebug = false; crypto3 = crypto3-tests-clang; });