Disable all tests on RISC-V (riscv64)
BUILDSTDERR: checking python testcase overload_extend_c java_lib_arrays_dimensionless_wrap.cxx: In function 'jdouble Java_java_1lib_1arrays_1dimensionless_java_1lib_1arrays_1dimensionlessJNI_arr_1ll(JNIEnv*, jclass, jlongArray, jint)': BUILDSTDERR: java_lib_arrays_dimensionless_wrap.cxx:1162:47: error: invalid conversion from 'long long int**' to 'jlong**' {aka 'long int**'} [-fpermissive] BUILDSTDERR: 1162 | if (!SWIG_JavaArrayInLonglong(jenv, &jarr1, (long long **)&arg1, jarg1)) return 0; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | long long int** BUILDSTDERR: java_lib_arrays_dimensionless_wrap.cxx:714:74: note: initializing argument 3 of 'int SWIG_JavaArrayInLonglong(JNIEnv*, jlong**, jlong**, jlongArray)' BUILDSTDERR: 714 | static int SWIG_JavaArrayInLonglong (JNIEnv *jenv, jlong **jarr, jlong **carr, jlongArray input) { BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: java_lib_arrays_dimensionless_wrap.cxx:1166:45: error: invalid conversion from 'long long int*' to 'jlong*' {aka 'long int*'} [-fpermissive] BUILDSTDERR: 1166 | SWIG_JavaArrayArgoutLonglong(jenv, jarr1, (long long *)arg1, jarg1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | long long int* BUILDSTDERR: java_lib_arrays_dimensionless_wrap.cxx:735:77: note: initializing argument 3 of 'void SWIG_JavaArrayArgoutLonglong(JNIEnv*, jlong*, jlong*, jlongArray)' BUILDSTDERR: 735 | static void SWIG_JavaArrayArgoutLonglong (JNIEnv *jenv, jlong *jarr, jlong *carr, jlongArray input) { BUILDSTDERR: | ~~~~~~~^~~~ BUILDSTDERR: make[2]: *** [../../../../Examples/Makefile:609: java_cpp] Error 1 BUILDSTDERR: make[1]: *** [Makefile:87: java_lib_arrays_dimensionless.cpptest] Error 2 Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
f5f8e06505
commit
55fcdcc55e
@ -53,7 +53,7 @@
|
||||
Summary: Connects C/C++/Objective C to some high-level programming languages
|
||||
Name: swig
|
||||
Version: 4.0.0
|
||||
Release: 5%{?dist}
|
||||
Release: 5.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
|
||||
@ -229,10 +229,12 @@ done
|
||||
;
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%ifnarch riscv64
|
||||
%if %{with testsuite}
|
||||
# Test suite
|
||||
make check
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%install
|
||||
# Remove all arch dependent files in Examples/ created during tests
|
||||
@ -349,6 +351,9 @@ install -pm 644 Tools/swig.gdb %{buildroot}%{_datadir}/%{name}/gdb
|
||||
%{_datadir}/%{name}/gdb
|
||||
|
||||
%changelog
|
||||
* Wed Aug 21 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> - 4.0.0-5.0.riscv64
|
||||
- Disable all tests on RISC-V (riscv64)
|
||||
|
||||
* Mon Aug 12 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4.0.0-5
|
||||
- Backport upstream fix for Go tests (BZ#1736731)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user