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

morningman pushed a commit to branch hadoop-3.3.4
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/hadoop-3.3.4 by this push:
     new 753347ef [chore] Build hadoop common native libs. (#98)
753347ef is described below

commit 753347efa4bdc40952a0735292799a3b5efd0bc7
Author: Qi Chen <kaka11.c...@gmail.com>
AuthorDate: Fri Jul 21 11:50:12 2023 +0800

    [chore] Build hadoop common native libs. (#98)
---
 build.sh                                    | 3 ++-
 hadoop-common-project/hadoop-common/pom.xml | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index afff09ef..2461bee2 100755
--- a/build.sh
+++ b/build.sh
@@ -38,7 +38,8 @@ 
LIBHDFS_DIST_DIR="${SRC_HOME}/hadoop-dist/target/hadoop-libhdfs-3.3.4"
 rm -rf "${DIST_DIR}"
 rm -rf "${LIBHDFS_DIST_DIR}"
 
-mvn clean package -Pdist -DskipTests -Dmaven.javadoc.skip -f 
hadoop-common-project -e
+mvn clean package -Pnative,dist -DskipTests -Dmaven.javadoc.skip -f 
hadoop-common-project \
+        -Dopenssl.prefix="${THIRDPARTY_INSTALLED}" -e
 mvn clean package -Pnative,dist -DskipTests -Dmaven.javadoc.skip -f 
hadoop-hdfs-project \
        -Dthirdparty.installed="${THIRDPARTY_INSTALLED}" 
-Dopenssl.prefix="${THIRDPARTY_INSTALLED}" -e
 mvn clean package -Pdist -DskipTests -Dmaven.javadoc.skip -f hadoop-dist -e
diff --git a/hadoop-common-project/hadoop-common/pom.xml 
b/hadoop-common-project/hadoop-common/pom.xml
index 530e18e4..e35f9162 100644
--- a/hadoop-common-project/hadoop-common/pom.xml
+++ b/hadoop-common-project/hadoop-common/pom.xml
@@ -708,6 +708,10 @@
                 <goals><goal>cmake-compile</goal></goals>
                 <configuration>
                   <source>${basedir}/src</source>
+                  <env>
+                    <CFLAGS>-Wno-implicit-function-declaration</CFLAGS>
+                    <CXXFLAGS>-Wno-implicit-function-declaration</CXXFLAGS>
+                  </env>
                   <vars>
                     
<GENERATED_JAVAH>${project.build.directory}/native/javah</GENERATED_JAVAH>
                     
<JVM_ARCH_DATA_MODEL>${sun.arch.data.model}</JVM_ARCH_DATA_MODEL>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to