mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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
This commit is contained in:
parent
66bd3bd8d2
commit
97b0b019e0
@ -1,6 +1,5 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, bash
|
||||
, bison
|
||||
, boost
|
||||
, fetchFromGitHub
|
||||
@ -76,13 +75,13 @@ let
|
||||
|
||||
in stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "yosys";
|
||||
version = "0.42";
|
||||
version = "0.43";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "YosysHQ";
|
||||
repo = "yosys";
|
||||
rev = "refs/tags/${finalAttrs.pname}-${finalAttrs.version}";
|
||||
hash = "sha256-P0peg81wxCG0Bw2EJEX5WuDYU7GmRqgRw2SyWK/CGNI=";
|
||||
hash = "sha256-MJTtQvHsHvuo4aNNYSPxSMbeXCty66q83/sbp1Yiiv4=";
|
||||
fetchSubmodules = true;
|
||||
leaveDotGit = true;
|
||||
postFetch = ''
|
||||
@ -122,7 +121,6 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
substituteInPlace ./Makefile \
|
||||
--replace-fail 'echo UNKNOWN' 'echo ${builtins.substring 0 10 finalAttrs.src.rev}'
|
||||
|
||||
chmod +x ./misc/yosys-config.in
|
||||
patchShebangs tests ./misc/yosys-config.in
|
||||
'';
|
||||
|
||||
|
@ -9,6 +9,14 @@
|
||||
./cxxrtl-test-${subtest}
|
||||
}
|
||||
|
||||
@@ -14,4 +14,4 @@ run_subtest value_fuzz
|
||||
|
||||
# Compile-only test.
|
||||
../../yosys -p "read_verilog test_unconnected_output.v; proc; clean; write_cxxrtl cxxrtl-test-unconnected_output.cc"
|
||||
-${CC:-gcc} -std=c++11 -c -o cxxrtl-test-unconnected_output -I../../backends/cxxrtl/runtime cxxrtl-test-unconnected_output.cc
|
||||
+${CXX:-gcc} -std=c++11 -c -o cxxrtl-test-unconnected_output -I../../backends/cxxrtl/runtime cxxrtl-test-unconnected_output.cc
|
||||
diff --git a/tests/fmt/run-test.sh b/tests/fmt/run-test.sh
|
||||
index 998047f83..2a4a59f01 100644
|
||||
--- a/tests/fmt/run-test.sh
|
||||
+++ b/tests/fmt/run-test.sh
|
||||
@@ -51,7 +51,7 @@ test_cxxrtl () {
|
||||
|
Loading…
Reference in New Issue
Block a user