Skip to content

Commit

Permalink
add clang packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMlashkin committed Sep 24, 2024
1 parent 49eb312 commit dabeb06
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 39 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
runTests = true;
sanitize = true;
});
crypto3-clang-debug = (pkgs.callPackage ./crypto3/crypto3.nix {
stdenv = pkgs.llvmPackages_19.stdenv;
runTests = false;
enableDebug = true;
});

parallel-crypto3 = (pkgs.callPackage ./parallel-crypto3/parallel-crypto3.nix {
runTests = false;
Expand All @@ -55,8 +60,14 @@
runTests = true;
crypto3 = crypto3;
});
parallel-crypto3-clang-debug = (pkgs.callPackage ./parallel-crypto3/parallel-crypto3.nix {
stdenv = pkgs.llvmPackages_19.stdenv;
enableDebug = true;
runTests = false;
crypto3 = crypto3-clang-debug;
});

evm-assigner = (pkgs.callPackage ./evm-assigner/evm-assigner.nix {
evm-assigner = (pkgs.callPackage ./evm-assigner/evm-assigner.nix {
runTests = false;
enableDebug = false;
crypto3 = crypto3;
Expand All @@ -71,6 +82,12 @@
runTests = true;
crypto3 = crypto3;
});
evm-assigner-clang-debug = (pkgs.callPackage ./evm-assigner/evm-assigner.nix {
stdenv = pkgs.llvmPackages_19.stdenv;
enableDebug = true;
runTests = false;
crypto3 = crypto3-clang-debug;
});

zkevm-framework = (pkgs.callPackage ./zkevm-framework/zkevm-framework.nix {
runTests = false;
Expand All @@ -90,6 +107,13 @@
crypto3 = crypto3;
evm-assigner = evm-assigner;
});
zkevm-framework-clang-debug = (pkgs.callPackage ./zkevm-framework/zkevm-framework.nix {
stdenv = pkgs.llvmPackages_19.stdenv;
enableDebug = true;
runTests = false;
crypto3 = crypto3-clang-debug;
evm-assigner = evm-assigner-clang-debug;
});

transpiler = (pkgs.callPackage ./transpiler/transpiler.nix {
runTests = false;
Expand All @@ -106,6 +130,12 @@
runTests = true;
crypto3 = crypto3;
});
transpiler-clang-debug = (pkgs.callPackage ./transpiler/transpiler.nix {
stdenv = pkgs.llvmPackages_19.stdenv;
enableDebug = true;
runTests = false;
crypto3 = crypto3-clang-debug;
});

proof-producer = (pkgs.callPackage ./proof-producer/proof-producer.nix {
runTests = false;
Expand All @@ -128,6 +158,14 @@
transpiler = transpiler;
parallel-crypto3 = parallel-crypto3;
});
proof-producer-clang-debug = (pkgs.callPackage ./proof-producer/proof-producer.nix {
stdenv = pkgs.llvmPackages_19.stdenv;
enableDebug = true;
runTests = false;
crypto3 = crypto3-clang-debug;
transpiler = transpiler-clang-debug;
parallel-crypto3 = parallel-crypto3-clang-debug;
});

# The "all" package will build all packages. Convenient for CI,
# so that "nix build" will check that all packages are correct.
Expand Down

0 comments on commit dabeb06

Please sign in to comment.