riscv64: Add support for riscv64
This patch add riscv64 build support: 1, ppl.hh and ppl_c.h are added riscv32/riscv64 support 2, increase release number. If we did not fix (1), when we built another package which depends on ppl (like polymake), will meet this issue: bundled extension ppl ... failed ERROR: The bundled extension ppl was explicitly requested but failed to configure. Please recheck your argument (--with-ppl=/usr) and build.riscv64/bundled.log . You can also disable it by specifying --without-ppl instead. error: Bad exit status from /var/tmp/rpm-tmp.* (%build) Reviewed-by: Wei Fu <wefu@redhat.com> Signed-off-by: Zhengyu He <hezhy472013@gmail.com>
This commit is contained in:
parent
54071918b4
commit
ff10255d19
4
ppl.hh
4
ppl.hh
|
@ -51,6 +51,10 @@ site: http://www.cs.unipr.it/ppl/ . */
|
||||||
#include "ppl-sparc64.hh"
|
#include "ppl-sparc64.hh"
|
||||||
#elif defined(__sparc__)
|
#elif defined(__sparc__)
|
||||||
#include "ppl-sparc.hh"
|
#include "ppl-sparc.hh"
|
||||||
|
#elif defined(__riscv) && (__riscv_xlen == 64)
|
||||||
|
#include "ppl-riscv64.hh"
|
||||||
|
#elif defined(__riscv) && (__riscv_xlen == 32)
|
||||||
|
#include "ppl-riscv32.hh"
|
||||||
#else
|
#else
|
||||||
#error "This architecture is not supported by the currently installed ppl-devel packages."
|
#error "This architecture is not supported by the currently installed ppl-devel packages."
|
||||||
#endif
|
#endif
|
||||||
|
|
5
ppl.spec
5
ppl.spec
|
@ -1,6 +1,6 @@
|
||||||
Name: ppl
|
Name: ppl
|
||||||
Version: 1.2
|
Version: 1.2
|
||||||
Release: 31%{?dist}
|
Release: 32%{?dist}
|
||||||
Summary: The Parma Polyhedra Library: a library of numerical abstractions
|
Summary: The Parma Polyhedra Library: a library of numerical abstractions
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: http://www.bugseng.com/ppl
|
URL: http://www.bugseng.com/ppl
|
||||||
|
@ -296,6 +296,9 @@ mv \
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 28 2024 Zhengyu He <hezhy472013@gmail.com> - 1.2-32
|
||||||
|
- Add support for riscv64
|
||||||
|
|
||||||
* Wed Feb 14 2024 Jerry James <loganjerry@gmail.com> - 1.2-31
|
* Wed Feb 14 2024 Jerry James <loganjerry@gmail.com> - 1.2-31
|
||||||
- Rebuild for ppl 9.2.1
|
- Rebuild for ppl 9.2.1
|
||||||
- Stop building for 32-bit x86
|
- Stop building for 32-bit x86
|
||||||
|
|
4
ppl_c.h
4
ppl_c.h
|
@ -51,6 +51,10 @@ site: http://www.cs.unipr.it/ppl/ . */
|
||||||
#include "ppl_c-sparc64.h"
|
#include "ppl_c-sparc64.h"
|
||||||
#elif defined(__sparc__)
|
#elif defined(__sparc__)
|
||||||
#include "ppl_c-sparc.h"
|
#include "ppl_c-sparc.h"
|
||||||
|
#elif defined(__riscv) && (__riscv_xlen == 64)
|
||||||
|
#include "ppl_c-riscv64.h"
|
||||||
|
#elif defined(__riscv) && (__riscv_xlen == 32)
|
||||||
|
#include "ppl_c-riscv32.h"
|
||||||
#else
|
#else
|
||||||
#error "This architecture is not supported by the currently installed ppl-devel packages."
|
#error "This architecture is not supported by the currently installed ppl-devel packages."
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue