-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
yum install centos-release-scl -y | ||
yum install devtoolset-10 -y | ||
ln -sf /opt/rh/devtoolset-10/root/bin/* /usr/bin/ | ||
|
||
yum install -y ccache python3 | ||
yum install -y bzip2 wget git libstdc++-static byacc flex automake libtool binutils-devel bison ncurses-devel make mlocate unzip patch which vim-common redhat-lsb-core zip libcurl-devel updatedb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
cd /var/local | ||
mkdir ./jdk && tar -zxvf java.tar.gz -C ./jdk --strip-components 1 | ||
mkdir /usr/java && mv jdk /usr/java | ||
export JAVA_HOME=/usr/java/jdk | ||
export JRE_HOME=/usr/java/jdk/jre | ||
export CLASSPATH=.:/usr/java/jdk/lib:/usr/java/jdk/jre/lib:$CLASSPATH | ||
export JAVA_PATH=/usr/java/jdk/bin:/usr/java/jdk/jre/bin | ||
export PATH=$PATH:/usr/java/jdk/bin:/usr/java/jdk/jre/bin | ||
rm -rf java.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
mkdir -p /usr/share/maven /usr/share/maven/ref | ||
curl -fsSL -o /tmp/apache-maven.tar.gz $1/apache-maven-$2-bin.tar.gz | ||
echo "$3 /tmp/apache-maven.tar.gz" | sha512sum -c - | ||
tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 | ||
rm -f /tmp/apache-maven.tar.gz | ||
ln -s /usr/share/maven/bin/mvn /usr/bin/mvn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## JDK | ||
JDK_SOURCE='https://mirror.iscas.ac.cn/kunpeng/archive/compiler/bisheng_jdk/bisheng-jdk-8u262-linux-aarch64.tar.gz' | ||
|
||
## llvm | ||
LLVM_SOURCE='http://cdn-thirdparty.starrocks.com/aarch64/clang-format' | ||
|
||
## CMAKE | ||
CMAKE_SOURCE='https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2-linux-aarch64.tar.gz' | ||
|
||
## GCC | ||
GCC_VERSION=10.3.1 | ||
GCC_URL="https://mirror.iscas.ac.cn/kunpeng/archive/compiler/kunpeng_gcc/gcc-$GCC_VERSION-2021.09-aarch64-linux.tar.gz" | ||
|
||
## MAVEN | ||
MAVEN_VERSION=3.6.3 | ||
SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0 | ||
BASE_URL="https://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters