dcoliversun commented on PR #5245:
URL:
https://github.com/apache/incubator-gluten/pull/5245#issuecomment-2031006731
@PHILO-HE I have no more suggestion and look forward it. If you need any
help, please let me know! I have already built package validation in Github
Action. Hope it is useful for you. The script is here:
```shell
sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-* || true
&& \
sed -i -e
"s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g"
/etc/yum.repos.d/CentOS-* || true && \
dnf install -y epel-release sudo && \
yum install -y dnf-plugins-core && \
yum config-manager --set-enabled powertools && \
dnf --enablerepo=powertools install -y ninja-build && \
dnf --enablerepo=powertools install -y libdwarf-devel && \
dnf install -y --setopt=install_weak_deps=False ccache gcc-toolset-9 git
wget which libevent-devel openssl-devel re2-devel libzstd-devel lz4-devel
double-conversion-devel curl-devel cmake libicu-devel && \
source /opt/rh/gcc-toolset-9/enable || exit 1 && \
yum install -y java-1.8.0-openjdk-devel patch && \
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk && \
export PATH=$JAVA_HOME/bin:$PATH && \
wget
https://downloads.apache.org/maven/maven-[3](https://github.com/dcoliversun/gluten/actions/runs/8463669591/job/23186962524#step:4:3)/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz
&& \
tar -xvf apache-maven-3.8.8-bin.tar.gz && \
mv apache-maven-3.8.8 /usr/lib/maven && \
export MAVEN_HOME=/usr/lib/maven && \
export PATH=${PATH}:${MAVEN_HOME}/bin && \
cd $GITHUB_WORKSPACE/ && \
./dev/package.sh
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]