Add support for RISC-V (riscv64)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
a4db9fed81
commit
4cf9ef752f
12
swig.spec
12
swig.spec
|
@ -1,5 +1,9 @@
|
|||
# We can skip tests
|
||||
%ifnarch riscv64
|
||||
%bcond_without testsuite
|
||||
%else
|
||||
%bcond_with testsuite
|
||||
%endif
|
||||
|
||||
%{!?tcl:%global tcl 1}
|
||||
%{!?guile:%global guile 0}
|
||||
|
@ -19,7 +23,7 @@
|
|||
%{!?Rlang:%global Rlang 1}
|
||||
%bcond_without build_ccache_swig
|
||||
%endif
|
||||
%ifarch aarch64 %{arm} %{mips} ppc64le ppc %{power64} s390 s390x
|
||||
%ifarch aarch64 %{arm} %{mips} ppc64le ppc %{power64} s390 s390x riscv64
|
||||
%{!?javalang:%global javalang 0}
|
||||
%else
|
||||
%{!?javalang:%global javalang 1}
|
||||
|
@ -34,7 +38,7 @@
|
|||
Summary: Connects C/C++/Objective C to some high-level programming languages
|
||||
Name: swig
|
||||
Version: 3.0.12
|
||||
Release: 21%{?dist}
|
||||
Release: 21.0.riscv64%{?dist}
|
||||
License: GPLv3+ and BSD
|
||||
URL: http://swig.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
|
||||
|
@ -332,6 +336,10 @@ install -pm 644 Tools/swig.gdb %{buildroot}%{_datadir}/%{name}/gdb
|
|||
%{_datadir}/%{name}/gdb
|
||||
|
||||
%changelog
|
||||
* Sun Jul 29 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.0.12-21.0.riscv64
|
||||
- Enable Java for RISC-V (riscv64)
|
||||
- Disable testsuite for RISC-V (riscv64) as it takes too long
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.12-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue