Support libsleef on AArch64 & RISC-V added by JDK-8329816, JDK-8320500 (RISC-V) & JDK-8312425 (AArch64)
Related: RHEL-120553
This commit is contained in:
parent
1e53c2a5c7
commit
8068bbc02a
@ -142,6 +142,8 @@
|
|||||||
%global svml_arches x86_64
|
%global svml_arches x86_64
|
||||||
# Set of architectures for which java has intrinsics for Arrays.sort (libsimdsort.so)
|
# Set of architectures for which java has intrinsics for Arrays.sort (libsimdsort.so)
|
||||||
%global simdsort_arches x86_64
|
%global simdsort_arches x86_64
|
||||||
|
# Set of architectures for which SLEEF is used for vector math operations
|
||||||
|
%global sleef_arches %{aarch64} riscv64
|
||||||
# Set of architectures where we verify backtraces with gdb
|
# Set of architectures where we verify backtraces with gdb
|
||||||
%global gdb_arches %{jit_arches} %{zero_arches}
|
%global gdb_arches %{jit_arches} %{zero_arches}
|
||||||
# Architecture on which we run Java only tests
|
# Architecture on which we run Java only tests
|
||||||
@ -443,7 +445,7 @@
|
|||||||
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349
|
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1655938
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1655938
|
||||||
%global _privatelibs libsplashscreen[.]so.*|libawt_xawt[.]so.*|libjli[.]so.*|libattach[.]so.*|libawt[.]so.*|libextnet[.]so.*|libawt_headless[.]so.*|libdt_socket[.]so.*|libfontmanager[.]so.*|libinstrument[.]so.*|libj2gss[.]so.*|libj2pcsc[.]so.*|libj2pkcs11[.]so.*|libjaas[.]so.*|libjavajpeg[.]so.*|libjdwp[.]so.*|libjimage[.]so.*|libjsound[.]so.*|libjsvml[.]so.*|liblcms[.]so.*|libmanagement[.]so.*|libmanagement_agent[.]so.*|libmanagement_ext[.]so.*|libmlib_image[.]so.*|libnet[.]so.*|libnio[.]so.*|libprefs[.]so.*|librmi[.]so.*|libsaproc[.]so.*|libsctp[.]so.*|libsimdsort[.]so.*|libsyslookup[.]so.*|libzip[.]so.*%{freetype_lib}
|
%global _privatelibs libsplashscreen[.]so.*|libawt_xawt[.]so.*|libjli[.]so.*|libattach[.]so.*|libawt[.]so.*|libextnet[.]so.*|libawt_headless[.]so.*|libdt_socket[.]so.*|libfontmanager[.]so.*|libinstrument[.]so.*|libj2gss[.]so.*|libj2pcsc[.]so.*|libj2pkcs11[.]so.*|libjaas[.]so.*|libjavajpeg[.]so.*|libjdwp[.]so.*|libjimage[.]so.*|libjsound[.]so.*|libjsvml[.]so.*|liblcms[.]so.*|libmanagement[.]so.*|libmanagement_agent[.]so.*|libmanagement_ext[.]so.*|libmlib_image[.]so.*|libnet[.]so.*|libnio[.]so.*|libprefs[.]so.*|librmi[.]so.*|libsaproc[.]so.*|libsctp[.]so.*|libsimdsort[.]so.*|libsleef[.]so.*|libsyslookup[.]so.*|libzip[.]so.*%{freetype_lib}
|
||||||
%global _publiclibs libjawt[.]so.*|libjava[.]so.*|libjvm[.]so.*|libverify[.]so.*|libjsig[.]so.*
|
%global _publiclibs libjawt[.]so.*|libjava[.]so.*|libjvm[.]so.*|libverify[.]so.*|libjsig[.]so.*
|
||||||
%if %is_system_jdk
|
%if %is_system_jdk
|
||||||
%global __provides_exclude ^(%{_privatelibs})$
|
%global __provides_exclude ^(%{_privatelibs})$
|
||||||
@ -857,6 +859,9 @@ fi
|
|||||||
%ifarch %{simdsort_arches}
|
%ifarch %{simdsort_arches}
|
||||||
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libsimdsort.so
|
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libsimdsort.so
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch %{sleef_arches}
|
||||||
|
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libsleef.so
|
||||||
|
%endif
|
||||||
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libsyslookup.so
|
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libsyslookup.so
|
||||||
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libverify.so
|
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libverify.so
|
||||||
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libzip.so
|
%{_jvmdir}/%{sdkdir -- %{?1}}/lib/libzip.so
|
||||||
@ -1511,6 +1516,11 @@ Provides: bundled(libpng) = 1.6.47
|
|||||||
# Version in src/java.base/share/native/libzip/zlib/zlib.h
|
# Version in src/java.base/share/native/libzip/zlib/zlib.h
|
||||||
Provides: bundled(zlib) = 1.3.1
|
Provides: bundled(zlib) = 1.3.1
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch %{sleef_arches}
|
||||||
|
# SLEEF is always bundled
|
||||||
|
# Version in src/jdk.incubator.vector/linux/native/libsleef/generated/sleefinline_advsimd.h
|
||||||
|
Provides: bundled(sleef) = 3.6.1
|
||||||
|
%endif
|
||||||
|
|
||||||
# this is always built, also during debug-only build
|
# this is always built, also during debug-only build
|
||||||
# when it is built in debug-only this package is just placeholder
|
# when it is built in debug-only this package is just placeholder
|
||||||
@ -2558,6 +2568,7 @@ exit 0
|
|||||||
- Add missing man page alternatives for jdeprscan, jfr, jhsdb, jimage, jlink & jmod and fix alphabetical ordering
|
- Add missing man page alternatives for jdeprscan, jfr, jhsdb, jimage, jlink & jmod and fix alphabetical ordering
|
||||||
- Support jnativescan added by JDK-8317611: "Add a tool like jdeprscan to find usage of restricted methods"
|
- Support jnativescan added by JDK-8317611: "Add a tool like jdeprscan to find usage of restricted methods"
|
||||||
- Add recent native libraries to _privatelibs (libjsvml.so, libsimdsort.so, libsyslookup.so)
|
- Add recent native libraries to _privatelibs (libjsvml.so, libsimdsort.so, libsyslookup.so)
|
||||||
|
- Support libsleef on AArch64 & RISC-V added by JDK-8329816, JDK-8320500 (RISC-V) & JDK-8312425 (AArch64)
|
||||||
- Related: RHEL-120553
|
- Related: RHEL-120553
|
||||||
|
|
||||||
* Sat Oct 25 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:23.0.2.0.7-1
|
* Sat Oct 25 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:23.0.2.0.7-1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user