forked from yentencoin/yenten-arm-miner-yespowerr16
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
305e4b4
commit 57a4eda
Showing
1 changed file
with
24 additions
and
0 deletions.
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,24 @@ | ||
# WARNING | ||
# Try on Virtual Machine (Ubuntu 16.04) | ||
# https://lxadm.com/Static_compilation_of_cpuminer | ||
|
||
# DEPENDS | ||
|
||
## OPENSSL | ||
wget https://www.openssl.org/source/openssl-1.1.0g.tar.gz | ||
tar -xvzf openssl-1.1.0g.tar.gz | ||
cd openssl-1.1.0g/ | ||
./config no-shared | ||
make -j$(nproc) | ||
sudo make install | ||
cd .. | ||
|
||
## CURL | ||
wget https://github.com/curl/curl/releases/download/curl-7_57_0/curl-7.57.0.tar.gz | ||
tar -xvzf curl-7.57.0.tar.gz | ||
cd curl-7.57.0/ | ||
./buildconf | grep "buildconf: OK" | ||
./configure --disable-shared | grep "Static=yes" | ||
make -j$(nproc) | ||
sudo make install | ||
cd ../.. |