.gear/rules | 3 + .../tags/bfff86dc284a3e4d255e23a486c2c4dd9db98f25 | 6 + .gear/tags/list | 1 + .gear/upstream/remotes | 3 + .gear/verilator.spec | 130 +++++++++++++++++++++ 5 files changed, 143 insertions(+) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 000000000..8f8098057 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +spec: .gear/verilator.spec +tar: v@version@:. +diff: v@version@:. . diff --git a/.gear/tags/bfff86dc284a3e4d255e23a486c2c4dd9db98f25 b/.gear/tags/bfff86dc284a3e4d255e23a486c2c4dd9db98f25 new file mode 100644 index 000000000..bb8842c62 --- /dev/null +++ b/.gear/tags/bfff86dc284a3e4d255e23a486c2c4dd9db98f25 @@ -0,0 +1,6 @@ +object 7d2d32420a630befa4097170ecbf227e04e32522 +type commit +tag v5.012 +tagger Wilson Snyder 1686699441 -0400 + +tagging diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 000000000..c15852c4a --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +bfff86dc284a3e4d255e23a486c2c4dd9db98f25 v5.012 diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes new file mode 100644 index 000000000..39c117d6d --- /dev/null +++ b/.gear/upstream/remotes @@ -0,0 +1,3 @@ +[remote "upstream"] + url = http://git.veripool.org/git/verilator + fetch = +refs/heads/*:refs/remotes/upstream/* diff --git a/.gear/verilator.spec b/.gear/verilator.spec new file mode 100644 index 000000000..0b86f2502 --- /dev/null +++ b/.gear/verilator.spec @@ -0,0 +1,130 @@ +%define _unpackaged_files_terminate_build 1 + +Name: verilator +Version: 5.012 +Release: alt1.1 +Summary: A fast and free Verilog HDL simulator + +Group: Engineering +License: LGPLv3 or Artistic-2.0 +Url: https://www.veripool.org/wiki/verilator + +# VCS: https://github.com/verilator/verilator +Source: %name-%version.tar +Patch0: %name-%version-%release.patch +ExcludeArch: armh + +BuildRequires: flex gcc-c++ +BuildRequires: rpm-build-python3 +BuildRequires: perl-podlators tex(dehypht.tex) help2man +BuildRequires: python3-module-sphinx_rtd_theme +BuildRequires: python3-module-sphinx-sphinx-build-symlink +BuildRequires: gdb /proc + +%description +Verilator is the fastest free Verilog HDL simulator, and beats most commercial +simulators. It compiles synthesizable Verilog, plus some PSL, SystemVerilog and +Synthesis assertions into C++ or SystemC code. It is designed for large projects +where fast simulation performance is of primary concern, and is especially well +suited to generate executable models of CPUs for embedded software design teams. + +%package -n %name-doc +Summary: A fast and free Verilog HDL simulator - documentation and examples +Group: Engineering +BuildArch: noarch + +%description -n %name-doc +Verilator is the fastest free Verilog HDL simulator, and beats most commercial +simulators. This package contains documentation and examples. + +%prep +%setup +%ifarch %e2k +sed -i "s/__armel__/__e2k__/" include/verilatedos.h +%endif + +%build +autoconf +%configure +%make_build all info + +%check +%make test + +%install +%makeinstall_std +mkdir -p %buildroot%_pkgconfigdir/ +mv %buildroot%_datadir/pkgconfig/%name.pc %buildroot%_pkgconfigdir/%name.pc +mkdir -p %buildroot%_docdir/%name/ +mv %buildroot%_datadir/%name/examples %buildroot%_docdir/%name/ + + +%files -n %name +%_bindir/* +%_datadir/%name/ +%_man1dir/* +%_pkgconfigdir/%name.pc + +%files -n %name-doc +%doc verilator.pdf docs/_build/html +%_docdir/%name/ + +%changelog +* Sat Jul 22 2023 Ilya Kurdyukov 5.012-alt1.1 +- fixed build for Elbrus + +* Wed Jul 19 2023 Egor Ignatov 5.012-alt1 +- new version 5.012 + +* Sun Oct 30 2022 Egor Ignatov 5.002-alt1 +- new version 5.002 + +* Fri Oct 07 2022 Egor Ignatov 4.228-alt1 +- new version 4.228 + +* Mon Sep 05 2022 Egor Ignatov 4.226-alt1 +- new version 4.226 + +* Tue Jun 21 2022 Egor Ignatov 4.224-alt1 +- new version 4.224 + +* Fri May 06 2022 Egor Ignatov 4.222-alt1 +- new version 4.222 + +* Thu Mar 17 2022 Egor Ignatov 4.220-alt1 +- new version 4.220 + +* Fri Jan 21 2022 Egor Ignatov 4.218-alt1 +- new version 4.218 + +* Tue Dec 21 2021 Egor Ignatov 4.216-alt1 +- new version 4.216 +- Disable armh build + +* Thu Oct 28 2021 Egor Ignatov 4.214-alt1 +- new version 4.214 + +* Mon Sep 13 2021 Egor Ignatov 4.212-alt1 +- new version 4.212 + +* Fri Jul 09 2021 Egor Ignatov 4.210-alt1 +- new version 4.210 +- remove 0001-Fix-V3Hash-when-building-m32 patch + +* Mon Jun 21 2021 Egor Ignatov 4.204-alt1 +- new version +- add patch to fix build on 32 bit systems +- documentation format changed + +* Tue Apr 20 2021 Egor Ignatov 4.200-alt1 +- new version +- remove pkg-config-version-fix patch + +* Sat Apr 18 2020 Michael Shigorin 3.924-alt1.2 +- added missing BR: /usr/bin/pod2html + +* Fri Apr 03 2020 Igor Vlasenko 3.924-alt1.1 +- NMU: applied logoved fixes + +* Tue Jun 19 2018 Elvira Khabirova 3.924-alt1 +- Initial build