guyuqi commented on code in PR #1148:
URL: https://github.com/apache/bigtop/pull/1148#discussion_r1281578010


##########
bigtop-packages/src/common/spark/do-component-build:
##########
@@ -30,6 +30,22 @@ BUILD_OPTS="-Divy.home=${HOME}/.ivy2 
-Dsbt.ivy.home=${HOME}/.ivy2 -Duser.home=${
             -Dguava.version=27.0-jre \
             $SPARK_BUILD_OPTS"
 
+#add pandoc by wget and install in openEuler
+. /etc/os-release
+OS="$ID"
+
+if [ "${OS}" = "openEuler" ]; then
+  if [ $HOSTTYPE = "aarch64" ]; then
+    wget 
https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-linux-arm64.tar.gz
+    tar -xf pandoc-2.19.2-linux-arm64.tar.gz
+    cp -r pandoc-2.19.2/bin/pandoc /usr/bin/
+  else
+    wget 
https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-linux-amd64.tar.gz
+    tar -xf pandoc-2.19.2-linux-amd64.tar.gz
+    cp -r pandoc-2.19.2/bin/pandoc /usr/bin/
+  fi
+fi
+

Review Comment:
   We install R and Pandoc in Bigtop_toolchain.
   Please do not install the dependency packages when building components.
   @MacChen01 
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to