ghdl: 2.0.0 -> 3.0.0
This commit is contained in:
parent
2af64a3d1d
commit
bcc3d036eb
|
@ -13,24 +13,15 @@ assert backend == "mcode" || backend == "llvm";
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ghdl-${backend}";
|
||||
version = "2.0.0";
|
||||
version = "3.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ghdl";
|
||||
repo = "ghdl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-B/G3FGRzYy4Y9VNNB8yM3FohiIjPJhYSVbqsTN3cL5k=";
|
||||
hash = "sha256-94RNtHbOpbC2q/Z+PsQplrLxXmpS3LXOCXyTBB+n9c4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/ghdl/ghdl/issues/2056
|
||||
(fetchpatch {
|
||||
name = "fix-build-gcc-12.patch";
|
||||
url = "https://github.com/ghdl/ghdl/commit/f8b87697e8b893b6293ebbfc34670c32bfb49397.patch";
|
||||
hash = "sha256-tVbMm8veFkNPs6WFBHvaic5Jkp1niyg0LfFufa+hT/E=";
|
||||
})
|
||||
];
|
||||
|
||||
LIBRARY_PATH = "${stdenv.cc.libc}/lib";
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -59,8 +50,6 @@ stdenv.mkDerivation rec {
|
|||
"--with-llvm-config=${llvm.dev}/bin/llvm-config"
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru = {
|
||||
|
|
Loading…
Reference in a new issue