Skip to content

Commit 97affa7

Browse files
added openssl ppc64le sc
1 parent 7208af9 commit 97affa7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
set -e
3+
4+
# Define OpenSSL version
5+
OPENSSL_VERSION="1.1.1k"
6+
7+
# Download and extract OpenSSL
8+
wget https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz
9+
tar -xzf openssl-${OPENSSL_VERSION}.tar.gz
10+
cd openssl-${OPENSSL_VERSION}
11+
12+
# Configure OpenSSL (configure with static libraries)
13+
./config no-shared --prefix=/opt/openssl
14+
15+
# Build and install OpenSSL
16+
make -j$(nproc)
17+
make install
18+
19+
# Clean up the build directory
20+
cd ..
21+
rm -rf openssl-${OPENSSL_VERSION} openssl-${OPENSSL_VERSION}.tar.gz
22+
23+
echo "OpenSSL ${OPENSSL_VERSION} installed successfully."

0 commit comments

Comments
 (0)