Skip to content

Commit

Permalink
Add checkPhase for yosys tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RCoeurjoly committed May 22, 2024
1 parent e52a5c6 commit 63bc5c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
buildPhase = ''
make -j$(nproc) ABCEXTERNAL=yosys-abc
'';
checkPhase = ''
make test
'';
meta = with pkgs.lib; {
description = "Yosys Open SYnthesis Suite";
homepage = "https://yosyshq.net/yosys/";
Expand All @@ -39,8 +42,7 @@
};
in {
packages.default = yosys;
defaultPackage = yosys;
devShell = pkgs.mkShell {
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [ clang bison flex libffi tcl readline python3 llvmPackages.libcxxClang zlib git gtest abc-verifier ];
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
};
Expand Down
1 change: 0 additions & 1 deletion result

This file was deleted.

0 comments on commit 63bc5c6

Please sign in to comment.