yosys: 0.42 -> 0.43

https://github.com/YosysHQ/yosys/releases/tag/yosys-0.43

Also:
- Update patch to fix error on macOS
- Remove an unused argument
- Remove a call to `chmod` since the file now has the executable bit already

Luflosi 97b0b019 66bd3bd8

+10 -4
+2 -4
pkgs/development/compilers/yosys/default.nix
··· 1 { stdenv 2 , lib 3 - , bash 4 , bison 5 , boost 6 , fetchFromGitHub ··· 76 77 in stdenv.mkDerivation (finalAttrs: { 78 pname = "yosys"; 79 - version = "0.42"; 80 81 src = fetchFromGitHub { 82 owner = "YosysHQ"; 83 repo = "yosys"; 84 rev = "refs/tags/${finalAttrs.pname}-${finalAttrs.version}"; 85 - hash = "sha256-P0peg81wxCG0Bw2EJEX5WuDYU7GmRqgRw2SyWK/CGNI="; 86 fetchSubmodules = true; 87 leaveDotGit = true; 88 postFetch = '' ··· 122 substituteInPlace ./Makefile \ 123 --replace-fail 'echo UNKNOWN' 'echo ${builtins.substring 0 10 finalAttrs.src.rev}' 124 125 - chmod +x ./misc/yosys-config.in 126 patchShebangs tests ./misc/yosys-config.in 127 ''; 128
··· 1 { stdenv 2 , lib 3 , bison 4 , boost 5 , fetchFromGitHub ··· 75 76 in stdenv.mkDerivation (finalAttrs: { 77 pname = "yosys"; 78 + version = "0.43"; 79 80 src = fetchFromGitHub { 81 owner = "YosysHQ"; 82 repo = "yosys"; 83 rev = "refs/tags/${finalAttrs.pname}-${finalAttrs.version}"; 84 + hash = "sha256-MJTtQvHsHvuo4aNNYSPxSMbeXCty66q83/sbp1Yiiv4="; 85 fetchSubmodules = true; 86 leaveDotGit = true; 87 postFetch = '' ··· 121 substituteInPlace ./Makefile \ 122 --replace-fail 'echo UNKNOWN' 'echo ${builtins.substring 0 10 finalAttrs.src.rev}' 123 124 patchShebangs tests ./misc/yosys-config.in 125 ''; 126
+8
pkgs/development/compilers/yosys/fix-clang-build.patch
··· 9 ./cxxrtl-test-${subtest} 10 } 11 12 --- a/tests/fmt/run-test.sh 13 +++ b/tests/fmt/run-test.sh 14 @@ -51,7 +51,7 @@ test_cxxrtl () {
··· 9 ./cxxrtl-test-${subtest} 10 } 11 12 + @@ -14,4 +14,4 @@ run_subtest value_fuzz 13 + 14 + # Compile-only test. 15 + ../../yosys -p "read_verilog test_unconnected_output.v; proc; clean; write_cxxrtl cxxrtl-test-unconnected_output.cc" 16 + -${CC:-gcc} -std=c++11 -c -o cxxrtl-test-unconnected_output -I../../backends/cxxrtl/runtime cxxrtl-test-unconnected_output.cc 17 + +${CXX:-gcc} -std=c++11 -c -o cxxrtl-test-unconnected_output -I../../backends/cxxrtl/runtime cxxrtl-test-unconnected_output.cc 18 + diff --git a/tests/fmt/run-test.sh b/tests/fmt/run-test.sh 19 + index 998047f83..2a4a59f01 100644 20 --- a/tests/fmt/run-test.sh 21 +++ b/tests/fmt/run-test.sh 22 @@ -51,7 +51,7 @@ test_cxxrtl () {