update to 0.59 snapshot

This commit is contained in:
Gabriel Somlo 2025-11-12 17:18:51 -05:00
commit 6abb5bf26a
6 changed files with 20 additions and 14 deletions

1
.gitignore vendored
View file

@ -61,3 +61,4 @@
/yosys-cec48c6.tar.gz
/yosys_0.52-2.debian.tar.xz
/yosys-9a12d92.tar.gz
/yosys-529886f.tar.gz

View file

@ -1,4 +1,4 @@
From ee19550cdcdf80cc59981fa7f15b4eb739a7264f Mon Sep 17 00:00:00 2001
From 35f4edc3b88a49e311f40991456a46e5ed3c0e4a Mon Sep 17 00:00:00 2001
From: Gabriel Somlo <gsomlo@gmail.com>
Date: Tue, 16 Jul 2024 15:20:56 -0400
Subject: [PATCH 1/3] fedora yosys-cfginc patch
@ -12,10 +12,10 @@ CXXFLAGS with -I/usr/include/yosys
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index fb4fb5776..f0efa2141 100644
index 09dcd0639..661c279cd 100644
--- a/Makefile
+++ b/Makefile
@@ -784,7 +784,7 @@ LIBS_NOVERIFIC = $(LIBS)
@@ -806,7 +806,7 @@ LIBS_NOVERIFIC = $(LIBS)
endif
$(PROGRAM_PREFIX)yosys-config: misc/yosys-config.in $(YOSYS_SRC)/Makefile
@ -25,10 +25,10 @@ index fb4fb5776..f0efa2141 100644
-e 's#@BINDIR@#$(strip $(BINDIR))#;' -e 's#@DATDIR@#$(strip $(DATDIR))#;' < $< > $(PROGRAM_PREFIX)yosys-config
$(Q) chmod +x $(PROGRAM_PREFIX)yosys-config
diff --git a/tests/various/plugin.sh b/tests/various/plugin.sh
index 2880c8c06..a32f11a13 100644
index 75b4c9e56..ddc8f139f 100644
--- a/tests/various/plugin.sh
+++ b/tests/various/plugin.sh
@@ -3,6 +3,6 @@ rm -f plugin.so
@@ -4,7 +4,7 @@ rm -rf plugin_search
CXXFLAGS=$(../../yosys-config --cxxflags)
DATDIR=$(../../yosys-config --datdir)
DATDIR=${DATDIR//\//\\\/}
@ -36,6 +36,7 @@ index 2880c8c06..a32f11a13 100644
+CXXFLAGS=${CXXFLAGS//\/usr\/include\/yosys/..\/..\/share\/include}
../../yosys-config --exec --cxx ${CXXFLAGS} --ldflags -shared -o plugin.so plugin.cc
../../yosys -m ./plugin.so -p "test" | grep -q "Plugin test passed!"
mkdir -p plugin_search
--
2.51.0

View file

@ -1,4 +1,4 @@
From c6a1951e444aa99b5590592f19af094a3a2eefad Mon Sep 17 00:00:00 2001
From 75f62d493199ae25a0914b31863a213582dc11f8 Mon Sep 17 00:00:00 2001
From: Gabriel Somlo <gsomlo@gmail.com>
Date: Thu, 5 Sep 2024 20:56:02 -0400
Subject: [PATCH 2/3] fedora yosys-mancfginc patch
@ -28,7 +28,7 @@ index 74b547a20..91e1e7b28 100644
test0.log: my_cmd.so
$(YOSYS) -QTl test0.log_new -m ./my_cmd.so -p 'my_cmd foo bar' -f verilog absval_ref.v
diff --git a/docs/source/code_examples/extensions/my_cmd.cc b/docs/source/code_examples/extensions/my_cmd.cc
index e6660469c..92f2679a0 100644
index d52268b4a..6b67f10f3 100644
--- a/docs/source/code_examples/extensions/my_cmd.cc
+++ b/docs/source/code_examples/extensions/my_cmd.cc
@@ -1,5 +1,5 @@

View file

@ -1,4 +1,4 @@
From 0c9608a92b1a063de699553c38ca558bcc9fc065 Mon Sep 17 00:00:00 2001
From 002e08e39b6917c9928a6b720bfed756f304f1f5 Mon Sep 17 00:00:00 2001
From: Gabriel Somlo <gsomlo@gmail.com>
Date: Sat, 11 Jan 2025 17:39:16 -0500
Subject: [PATCH 3/3] fedora yosys-cxxopts patch
@ -11,7 +11,7 @@ referencing the cxxopts.hpp include file.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/driver.cc b/kernel/driver.cc
index 76c11853e..6ec4e2397 100644
index 795fd9fc5..7bd7d6522 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -21,7 +21,7 @@

View file

@ -1,2 +1,2 @@
SHA512 (yosys-9a12d92.tar.gz) = 6e0a7e91950d7ef450c04932681e3fb86371d21ff9726875fbf44c7c7fd8e0f92483f89be283d41b4dd53884b9cb0e335183223026fc89c00ddb2d9f20565ae8
SHA512 (yosys-529886f.tar.gz) = bdf65cf9f990ae20c1bae0a3ecb5e80ba8378851f4edefedf56291b7eca5f8ecc45d059f23622f6639fe066fcfdcda2a6ed6c63b7e8a510777bbe54274a50f59
SHA512 (yosys_0.52-2.debian.tar.xz) = 9ceba3ae42b16a0b8b7f7c6e8248e6b50fb411ccb755948e184c70aafbcbd1121b011338be29c3abf6f473b23c904f2058f7ca36bfea8562e05e10f5cc24ffdf

View file

@ -1,10 +1,10 @@
%global commit0 9a12d92551096cd458fd635ed84acf3ba0f2c423
%global commit0 529886f7fb8f0dd6339bca470a01db5e289755b5
%global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
%global snapdate 20251010
%global snapdate 20251111
Name: yosys
Version: 0.58
Version: 0.59
Release: 1.%{snapdate}git%{shortcommit0}%{?dist}
Summary: Yosys Open SYnthesis Suite, including Verilog synthesizer
License: ISC and MIT
@ -39,7 +39,7 @@ BuildRequires: gcc-c++
BuildRequires: cxxopts-devel
BuildRequires: bison flex readline-devel pkgconfig
BuildRequires: tcl-devel libffi-devel
BuildRequires: yosyshq-abc >= 0.57
BuildRequires: yosyshq-abc >= 0.59
BuildRequires: iverilog >= 12.0
BuildRequires: python%{python3_pkgversion}
BuildRequires: python3-devel
@ -55,6 +55,7 @@ BuildRequires: python3-click
BuildRequires: python3-furo
BuildRequires: python3-sphinx-latex
BuildRequires: python3-sphinxcontrib-bibtex
BuildRequires: python3-sphinx-inline-tabs
BuildRequires: texlive-comment
BuildRequires: texlive-pgfplots
BuildRequires: texlive-standalone
@ -173,6 +174,9 @@ make test ABCEXTERNAL=%{_bindir}/abc SEED=314159265359
%changelog
* Tue Nov 11 2025 Gabriel Somlo <gsomlo@gmail.com> - 0.59.1.20251111git529886f
- update to 0.59 snapshot
* Fri Oct 10 2025 Gabriel Somlo <gsomlo@gmail.com> - 0.58.1.20251010git9a12d92
- update to 0.58 snapshot