|
Gabriel Somlo |
dadba48 |
%global commit ac17c36bec5b0ae8d57b66f825acb6f21f2ca323
|
|
|
95561c3 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
95561c3 |
|
|
Gabriel Somlo |
dadba48 |
%global snapdate 20221109
|
|
Gabriel L. Somlo |
8b55d47 |
|
|
|
95561c3 |
Name: nextpnr
|
|
Gabriel Somlo |
e665bbb |
Version: 1
|
|
Gabriel Somlo |
dadba48 |
Release: 14.%{snapdate}git%{shortcommit}%{?dist}
|
|
|
95561c3 |
Summary: FPGA place and route tool
|
|
|
95561c3 |
|
|
|
95561c3 |
License: ISC and BSD and MIT and (MIT or Public Domain)
|
|
|
95561c3 |
URL: https://github.com/YosysHQ/nextpnr
|
|
|
95561c3 |
Source0: https://github.com/YosysHQ/nextpnr/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
|
|
95561c3 |
|
|
|
95561c3 |
BuildRequires: cmake
|
|
|
95561c3 |
BuildRequires: gcc-c++
|
|
|
95561c3 |
BuildRequires: make
|
|
|
95561c3 |
BuildRequires: python3-devel
|
|
Gabriel Somlo |
042b74a |
BuildRequires: python3-setuptools
|
|
|
95561c3 |
BuildRequires: libglvnd-devel
|
|
|
95561c3 |
BuildRequires: boost-filesystem
|
|
|
95561c3 |
BuildRequires: boost-thread
|
|
|
95561c3 |
BuildRequires: boost-program-options
|
|
|
95561c3 |
BuildRequires: boost-iostreams
|
|
|
95561c3 |
BuildRequires: qt5-qtconfiguration-devel
|
|
|
95561c3 |
BuildRequires: cmake(QtConfiguration)
|
|
|
95561c3 |
BuildRequires: boost-python3-devel
|
|
Gabriel L. Somlo |
16b4c9f |
BuildRequires: eigen3-devel
|
|
Gabriel Somlo |
f94fcf9 |
BuildRequires: pybind11-devel
|
|
Gabriel Somlo |
1507fcb |
# NOTE: remember to update icestorm & trellis before rebuilding nextpnr!!!
|
|
Gabriel Somlo |
943fcda |
BuildRequires: icestorm >= 0-0.24
|
|
Gabriel Somlo |
dadba48 |
BuildRequires: trellis-devel >= 1.2.1-12
|
|
|
95561c3 |
|
|
|
95561c3 |
# License: ISC
|
|
|
95561c3 |
Provides: bundled(qtimgui)
|
|
|
95561c3 |
|
|
|
95561c3 |
# Qt5 enabled fork of QtPropertyBrowser
|
|
|
95561c3 |
# License: BSD
|
|
|
95561c3 |
Provides: bundled(QtPropertyBrowser)
|
|
|
95561c3 |
|
|
|
95561c3 |
# License: MIT
|
|
|
95561c3 |
Provides: bundled(python-console)
|
|
|
95561c3 |
|
|
|
95561c3 |
# License: (MIT or Public Domain)
|
|
|
95561c3 |
Provides: bundled(imgui) = 1.66-wip
|
|
|
95561c3 |
|
|
|
95561c3 |
|
|
|
95561c3 |
%description
|
|
|
95561c3 |
nextpnr aims to be a vendor neutral, timing driven, FOSS FPGA place and
|
|
|
95561c3 |
route tool.
|
|
|
95561c3 |
|
|
|
95561c3 |
|
|
|
95561c3 |
%prep
|
|
|
95561c3 |
%autosetup -n %{name}-%{commit}
|
|
|
11c6337 |
cp 3rdparty/imgui/LICENSE.txt LICENSE-imgui.txt
|
|
|
11c6337 |
cp 3rdparty/qtimgui/LICENSE LICENSE-qtimgui.txt
|
|
|
11c6337 |
cp 3rdparty/python-console/LICENSE LICENSE-python-console.txt
|
|
|
95561c3 |
|
|
|
95561c3 |
|
|
|
95561c3 |
%build
|
|
Gabriel Somlo |
606c9cf |
%cmake -DARCH=all \
|
|
Gabriel Somlo |
1507fcb |
-DICEBOX_DATADIR=%{_datadir}/icestorm \
|
|
Gabriel Somlo |
a7d1b0c |
-DTRELLIS_LIBDIR=%{_libdir}/trellis \
|
|
Gabriel Somlo |
f94fcf9 |
-DPYBIND11_INCLUDE_DIR="/usr/include/pybind11/" \
|
|
Gabriel Somlo |
a7d1b0c |
-DBUILD_GUI=ON \
|
|
Gabriel Somlo |
a7d1b0c |
-DUSE_OPENMP=ON
|
|
Gabriel Somlo |
1507fcb |
%cmake_build
|
|
Gabriel L. Somlo |
16b4c9f |
# prepare examples doc. directory:
|
|
Gabriel Somlo |
e3405db |
mkdir -p examples/ice40
|
|
Gabriel L. Somlo |
16b4c9f |
cp -r ice40/examples/* examples/ice40
|
|
|
95561c3 |
|
|
|
95561c3 |
|
|
|
95561c3 |
%install
|
|
Gabriel Somlo |
1507fcb |
%cmake_install
|
|
|
95561c3 |
|
|
|
95561c3 |
|
|
|
95561c3 |
%files
|
|
|
95561c3 |
%{_bindir}/nextpnr-generic
|
|
|
95561c3 |
%{_bindir}/nextpnr-ice40
|
|
|
95561c3 |
%{_bindir}/nextpnr-ecp5
|
|
Gabriel L. Somlo |
16b4c9f |
%doc README.md docs examples
|
|
|
95561c3 |
%license COPYING
|
|
|
11c6337 |
%license LICENSE-imgui.txt
|
|
|
11c6337 |
%license LICENSE-qtimgui.txt
|
|
|
11c6337 |
%license LICENSE-python-console.txt
|
|
|
95561c3 |
|
|
|
95561c3 |
|
|
|
95561c3 |
%changelog
|
|
Gabriel Somlo |
dadba48 |
* Wed Nov 09 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-14.20221109gitac17c36
|
|
Gabriel Somlo |
dadba48 |
- Update to newer snapshot
|
|
Gabriel Somlo |
dadba48 |
|
|
Gabriel Somlo |
943fcda |
* Thu Oct 06 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-13.20221006git0d1ea9e
|
|
Gabriel Somlo |
943fcda |
- Update to newer snapshot
|
|
Gabriel Somlo |
943fcda |
|
|
Gabriel Somlo |
b52aec3 |
* Mon Sep 12 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-12.20220912gitf1349e1
|
|
Gabriel Somlo |
b52aec3 |
- Update to newer snapshot
|
|
Gabriel Somlo |
b52aec3 |
|
|
Gabriel Somlo |
99b7bb8 |
* Sun Aug 21 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-11.20220821gitccf4367
|
|
Gabriel Somlo |
99b7bb8 |
- Update to newer snapshot
|
|
Gabriel Somlo |
99b7bb8 |
|
|
|
8e32f1b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1-10.20220705git86396c4
|
|
|
8e32f1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
8e32f1b |
|
|
Gabriel Somlo |
f94fcf9 |
* Tue Jul 05 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-9.20220705git86396c4
|
|
Gabriel Somlo |
f94fcf9 |
- Update to newer snapshot (incl. fix for Python 3.11, BZ 2103645).
|
|
Gabriel Somlo |
f94fcf9 |
|
|
Gabriel Somlo |
14ad3c4 |
* Sat Jun 11 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-8.20220611giteac864e
|
|
Gabriel Somlo |
ac2044f |
- Update to newer snapshot.
|
|
Gabriel Somlo |
ac2044f |
|
|
|
0e60dc3 |
* Wed May 11 2022 Thomas Rodgers <trodgers@redhat.com> - 1-7.20220509git769a1f2
|
|
|
0e60dc3 |
- Rebuilt for Boost 1.78
|
|
|
0e60dc3 |
|
|
Gabriel Somlo |
78dae65 |
* Mon May 09 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-6.20220509git769a1f2
|
|
Gabriel Somlo |
78dae65 |
- Update to newer snapshot.
|
|
Gabriel Somlo |
78dae65 |
|
|
|
8c733ad |
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 1-5.20220407gitd5ec421
|
|
|
8c733ad |
- Rebuilt for Boost 1.78
|
|
|
8c733ad |
|
|
Gabriel Somlo |
37430a6 |
* Thu Apr 07 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-4.20220407gitd5ec421
|
|
Gabriel Somlo |
37430a6 |
- Update to newer snapshot.
|
|
Gabriel Somlo |
37430a6 |
|
|
Gabriel Somlo |
606c9cf |
* Fri Mar 04 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-3.20220304git2c6ca48
|
|
Gabriel Somlo |
606c9cf |
- Update to newer snapshot.
|
|
Gabriel Somlo |
606c9cf |
|
|
Gabriel Somlo |
606c9cf |
* Tue Feb 22 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-2.20220222git4666ea7
|
|
Gabriel Somlo |
193e6a1 |
- Update to newer snapshot.
|
|
Gabriel Somlo |
193e6a1 |
|
|
Gabriel Somlo |
e665bbb |
* Thu Jan 27 2022 Gabriel Somlo <gsomlo@gmail.com> - 1-1.20220127git1301feb
|
|
Gabriel Somlo |
e665bbb |
- Update to newer snapshot.
|
|
Gabriel Somlo |
e665bbb |
|
|
Gabriel Somlo |
193e6a1 |
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.29.20211209gitfd2d4a8
|
|
|
46c9e4c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
46c9e4c |
|
|
Gabriel Somlo |
6da8fe2 |
* Thu Dec 09 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.28.20211209gitfd2d4a8
|
|
Gabriel Somlo |
6da8fe2 |
- Update to newer snapshot.
|
|
Gabriel Somlo |
6da8fe2 |
|
|
Gabriel Somlo |
e38528f |
* Sat Nov 06 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.27.20211106git1615b0a
|
|
Gabriel Somlo |
e38528f |
- Update to newer snapshot.
|
|
Gabriel Somlo |
e38528f |
|
|
Gabriel Somlo |
cbbc422 |
* Tue Sep 28 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.26.20210928git9d8d3bd
|
|
Gabriel Somlo |
cbbc422 |
- Update to newer snapshot.
|
|
Gabriel Somlo |
cbbc422 |
|
|
Gabriel Somlo |
6e7d4a1 |
* Sat Sep 04 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.25.20210904gitfd6366f
|
|
Gabriel Somlo |
6e7d4a1 |
- Update to newer snapshot.
|
|
Gabriel Somlo |
6e7d4a1 |
|
|
|
3010195 |
* Sat Aug 07 2021 Jonathan Wakely <jwakely@redhat.com> - 0-0.24.20210523gite19d44e
|
|
|
3010195 |
- Rebuilt for Boost 1.76
|
|
|
3010195 |
|
|
|
d77cd83 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.23.20210523gite19d44e
|
|
|
d77cd83 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
d77cd83 |
|
|
|
fb2bb46 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0-0.22.20210523gite19d44e
|
|
|
fb2bb46 |
- Rebuilt for Python 3.10
|
|
|
fb2bb46 |
|
|
Gabriel Somlo |
a7d1b0c |
* Wed Jun 02 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.21.20210523gite19d44e
|
|
Gabriel Somlo |
a7d1b0c |
- Enable GUI (BZ 1966568)
|
|
Gabriel Somlo |
a7d1b0c |
|
|
Gabriel Somlo |
3b6190e |
* Sun May 23 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.20.20210523gite19d44e
|
|
Gabriel Somlo |
3b6190e |
- Update to newer snapshot.
|
|
Gabriel Somlo |
3b6190e |
|
|
Gabriel Somlo |
c8e427b |
* Sun Mar 07 2021 Gabriel Somlo <gsomlo@gmail.com> - 0-0.19.20210307gitf0e30ab
|
|
Gabriel Somlo |
c8e427b |
- Update to newer snapshot.
|
|
Gabriel Somlo |
c8e427b |
|
|
|
5cf7c85 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.18.20201124git8955230
|
|
|
5cf7c85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5cf7c85 |
|
|
|
9c0c336 |
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 0-0.17.20201124git8955230
|
|
|
9c0c336 |
- Rebuilt for Boost 1.75
|
|
|
9c0c336 |
|
|
Gabriel Somlo |
9be5141 |
* Tue Nov 24 2020 Gabriel Somlo <gsomlo@gmail.com> - 0-0.16.20201124git8955230
|
|
Gabriel Somlo |
9be5141 |
- Update to newer snapshot
|
|
Gabriel Somlo |
9be5141 |
|
|
Gabriel Somlo |
1507fcb |
* Thu Aug 06 2020 Gabriel Somlo <gsomlo@gmail.com> - 0-0.15.20200806gitb39a2a5
|
|
Gabriel Somlo |
1507fcb |
- Update to newer snapshot
|
|
Gabriel Somlo |
1507fcb |
- Update cmake build commands (fix FTBFS BZ 1864193)
|
|
Gabriel Somlo |
1507fcb |
|
|
|
32ee27d |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.14.20200129git85f4452
|
|
|
32ee27d |
- Second attempt - Rebuilt for
|
|
|
32ee27d |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
32ee27d |
|
|
|
0325157 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.13.20200129git85f4452
|
|
|
0325157 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0325157 |
|
|
|
b4971a4 |
* Sun May 31 2020 Jonathan Wakely <jwakely@redhat.com> - 0-0.12.20200129git85f4452
|
|
|
b4971a4 |
- Rebuilt for Boost 1.73
|
|
|
b4971a4 |
|
|
|
25d6d47 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0-0.11.20200129git85f4452
|
|
|
25d6d47 |
- Rebuilt for Python 3.9
|
|
|
25d6d47 |
|
|
Gabriel Somlo |
8d54ff0 |
* Tue Feb 11 2020 Gabriel Somlo <gsomlo@gmail.com> - 0-0.10.20200129git85f4452
|
|
Gabriel Somlo |
8d54ff0 |
- Rebuilt for trellis dependency.
|
|
Gabriel Somlo |
8d54ff0 |
|
|
Gabriel Somlo |
e3405db |
* Wed Jan 29 2020 Gabriel Somlo <gsomlo@gmail.com> - 0-0.9.20200129git85f4452
|
|
Gabriel Somlo |
e3405db |
- Update to newer snapshot.
|
|
Gabriel Somlo |
e3405db |
- Fix Python 3.9 build (BZ #1795549).
|
|
Gabriel Somlo |
e3405db |
|
|
|
e15e73f |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.8.20190821gitc192ba2
|
|
|
e15e73f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e15e73f |
|
|
Gabriel L. Somlo |
8b55d47 |
* Wed Aug 21 2019 Gabriel Somlo <gsomlo@gmail.com> - 0-0.7.20190821gitc192ba2
|
|
Gabriel L. Somlo |
8b55d47 |
- Update to newer snapshot
|
|
Gabriel L. Somlo |
8b55d47 |
- Spec file: add 'snapdate' variable
|
|
Gabriel L. Somlo |
8b55d47 |
- Fix python 3.8 build (BZ #1743893)
|
|
Gabriel L. Somlo |
8b55d47 |
|
|
|
c9e56d9 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0-0.6.20190415gitdb7e850
|
|
|
c9e56d9 |
- Rebuilt for Python 3.8
|
|
|
c9e56d9 |
|
|
|
32dc170 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.5.20190415gitdb7e850
|
|
|
32dc170 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
32dc170 |
|
|
Gabriel L. Somlo |
9dec259 |
* Mon Apr 15 2019 Gabriel Somlo <gsomlo@gmail.com> - 0-0.4.20190415gitdb7e850
|
|
Gabriel L. Somlo |
8b55d47 |
- Update to newer snapshot
|
|
Gabriel L. Somlo |
9dec259 |
|
|
Gabriel L. Somlo |
72c3739 |
* Mon Apr 01 2019 Gabriel Somlo <gsomlo@gmail.com> - 0-0.3.20190401gitd27ec2c
|
|
Gabriel L. Somlo |
8b55d47 |
- Update to snapshot with fast HeAP-based analytical placer
|
|
Gabriel L. Somlo |
16b4c9f |
- Package included ice40, ecp5 example projects as documentation
|
|
Gabriel L. Somlo |
16b4c9f |
|
|
|
95561c3 |
* Thu Mar 21 2019 Lubomir Rintel <lkundrak@v3.sk> - 0-0.2.20190319gitcadbf42
|
|
|
95561c3 |
- Enable ecp5
|
|
|
95561c3 |
|
|
|
95561c3 |
* Tue Mar 19 2019 Lubomir Rintel <lkundrak@v3.sk> - 0-0.1.20190319gitcadbf42
|
|
|
95561c3 |
- Initial packaging
|