verilator: 5.002 -> 5.006
This commit is contained in:
parent
75169d683d
commit
c37fedf985
@ -1,22 +1,22 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib, stdenv, fetchFromGitHub
|
||||||
, perl, flex, bison, python3, autoconf
|
, perl, flex, bison, python3, autoconf
|
||||||
, which, cmake
|
, which, cmake, help2man
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "verilator";
|
pname = "verilator";
|
||||||
version = "5.002";
|
version = "5.006";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-RNoKAEF7zl+WqqbxGP/VvdQqQP8VI3hoQku3b/g0XpU=";
|
hash = "sha256-PA8hbE6XECapuaO5YcgEodOoxSDqpMucdijJBBb7fZg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perl ];
|
||||||
nativeBuildInputs = [ flex bison python3 autoconf ];
|
nativeBuildInputs = [ flex bison python3 autoconf help2man ];
|
||||||
nativeCheckInputs = [ which ];
|
nativeCheckInputs = [ which ];
|
||||||
|
|
||||||
doCheck = stdenv.isLinux; # darwin tests are broken for now...
|
doCheck = stdenv.isLinux; # darwin tests are broken for now...
|
||||||
@ -24,14 +24,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = "autoconf";
|
preConfigure = "autoconf";
|
||||||
|
|
||||||
preCheck = ''
|
postPatch = ''
|
||||||
patchShebangs \
|
patchShebangs bin/* src/{flexfix,vlcovgen} test_regress/{driver.pl,t/*.pl}
|
||||||
src/flexfix \
|
|
||||||
src/vlcovgen \
|
|
||||||
bin/verilator \
|
|
||||||
bin/verilator_coverage \
|
|
||||||
test_regress/driver.pl \
|
|
||||||
test_regress/t/*.pl
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user