You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2023/01/19 09:12:11 UTC

[flink-shaded] 02/02: [FLINK-30232][Build/Shaded] Include all (including previously missing ARM64) platforms while shading Netty Tcnative Dynamic

This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git

commit ba56570bbe395385c17240a2119c1c2cf8141675
Author: Martijn Visser <mv...@confluent.io>
AuthorDate: Wed Jan 18 11:23:56 2023 +0100

    [FLINK-30232][Build/Shaded] Include all (including previously missing ARM64) platforms while shading Netty Tcnative Dynamic
---
 flink-shaded-netty-tcnative-static/pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-shaded-netty-tcnative-static/pom.xml b/flink-shaded-netty-tcnative-static/pom.xml
index a046f99..fbc5919 100644
--- a/flink-shaded-netty-tcnative-static/pom.xml
+++ b/flink-shaded-netty-tcnative-static/pom.xml
@@ -87,12 +87,12 @@ under the License.
                         <phase>package</phase>
                         <configuration>
                             <target>
-                                <echo message="unpacking netty jar" />
+                                <echo message="unpacking static tcnative netty jar" />
                                 <unzip src="${project.build.directory}/${artifactId}-${version}.jar" dest="${project.build.directory}/unpacked/" />
                                 <echo message="renaming netty_tcnative library" />
                                 <move todir="${project.build.directory}/unpacked/META-INF/native" includeemptydirs="false">
                                     <fileset dir="${project.build.directory}/unpacked/META-INF/native"/>
-                                    <mapper type="regexp" from="(lib)?netty_tcnative_(linux_x86_64.so|linux_aarch_64.so|osx_x86_64.jnilib|windows_x86_64.dll)" to="\1org_apache_flink_shaded_netty4_netty_tcnative_\2"/>
+                                    <mapper type="regexp" from="(lib)?netty_tcnative_(.*)" to="\1org_apache_flink_shaded_netty4_netty_tcnative_\2"/>
                                 </move>
                                 <echo message="repackaging netty jar" />
                                 <jar destfile="${project.build.directory}/${artifactId}-${version}.jar" basedir="${project.build.directory}/unpacked" />