diff --git a/verilator-5.021.tar.gz b/verilator-5.021.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f1b6c7b94a51c7bb0b3e21f058d5ed5ffe1cc97b Binary files /dev/null and b/verilator-5.021.tar.gz differ diff --git a/verilator.spec b/verilator.spec new file mode 100644 index 0000000000000000000000000000000000000000..968c45b04a6e248bbc4b6420581ae27f35598bf8 --- /dev/null +++ b/verilator.spec @@ -0,0 +1,38 @@ +Name: verilator +Version: 5.021 +Release: 1 +Summary: Opensource Distributed Tracing System +License: LGPLv3 +URL: https://github.com/verilator/verilator +Source0: %{name}-%{version}.tar.gz +Requires: flex bison help2man +BuildArch: aarch64 + +BuildRequires: flex bison help2man +%description +Verilator open-source SystemVerilog simulator and lint system + +%prep +%setup -q -n %{name} +%global debug_package %{nil} + +%build +autoconf +./configure --prefix=/usr/local/verilator +make %{?_smp_mflags} + +%install +export DONT_STRIP=1 +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + + +%files + +%{_prefix}/local/verilator/bin/* +%{_prefix}/local/verilator/share/* + + +%changelog +* Wed Feb 21 2024 baiyong -%{version}-1 +-initial version