ghdl: 0.37 -> unstable-2021.01.14
This unreleased version of GHDL fixes a bunch of bugs. It also contains a few internal API changes for synthesis support -- required by the GHDL yosys plugin. Ideally, we can just remove this when 0.38 comes out. Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
5ffd4e1c2c
commit
51d1125f24
@ -5,13 +5,15 @@ assert backend == "mcode" || backend == "llvm";
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ghdl-${backend}";
|
pname = "ghdl-${backend}";
|
||||||
version = "0.37";
|
# NOTE(aseipp): move to 0.38 when it comes out, since it should support a stable
|
||||||
|
# version of the yosys plugin
|
||||||
|
version = "unstable-2021.01.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ghdl";
|
owner = "ghdl";
|
||||||
repo = "ghdl";
|
repo = "ghdl";
|
||||||
rev = "v${version}";
|
rev = "4868294436574660552ccef50a5b0849559393de";
|
||||||
sha256 = "0b53yl4im33c1cd4mdyc4ks9cmrpixym17gzchfmplrl22w3l17y";
|
sha256 = "1wqjf0qc66dam1n2mskmlvj53bcsdwwk5rq9gimq6ah1vcwi222p";
|
||||||
};
|
};
|
||||||
|
|
||||||
LIBRARY_PATH = "${stdenv.cc.libc}/lib";
|
LIBRARY_PATH = "${stdenv.cc.libc}/lib";
|
||||||
@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's/check_version 7.0/check_version 7/g' configure
|
sed -i 's/check_version 7.0/check_version 7/g' configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = lib.optional (backend == "llvm")
|
configureFlags = [ "--enable-synth" ] ++ lib.optional (backend == "llvm")
|
||||||
"--with-llvm-config=${llvm}/bin/llvm-config";
|
"--with-llvm-config=${llvm}/bin/llvm-config";
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
@ -33,7 +35,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/ghdl/ghdl";
|
homepage = "https://github.com/ghdl/ghdl";
|
||||||
description = "VHDL 2008/93/87 simulator";
|
description = "VHDL 2008/93/87 simulator";
|
||||||
maintainers = with maintainers; [ lucus16 ];
|
maintainers = with maintainers; [ lucus16 thoughtpolice ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user