mirror of https://github.com/m2049r/xmrwallet.git
enhance build description (#271)
Writing a script to build the artifacts in a reproducible environment - PATH for openssl build was not set - branch for m2049r/monero.git was not set
This commit is contained in:
parent
5e6d3f3032
commit
8a5121e792
|
@ -46,6 +46,7 @@ git clone https://github.com/m2049r/android-openssl.git
|
||||||
wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz
|
wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz
|
||||||
cd android-openssl
|
cd android-openssl
|
||||||
tar xfz ../OpenSSL_1_0_2l.tar.gz
|
tar xfz ../OpenSSL_1_0_2l.tar.gz
|
||||||
|
PATH="${PATH}:/opt/android/tool/arm/bin/:/opt/android/tool/arm64/bin/:/opt/android/tool/x86/bin/:/opt/android/tool/x86_64/bin" \
|
||||||
ANDROID_NDK_ROOT=/opt/android/ndk ./build-all-arch.sh
|
ANDROID_NDK_ROOT=/opt/android/ndk ./build-all-arch.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -85,6 +86,10 @@ cd boost_1_58_0
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
```
|
```
|
||||||
Comment out ```using ::fgetpos;``` & ```using ::fsetpos;``` in ```cstdio```.
|
Comment out ```using ::fgetpos;``` & ```using ::fsetpos;``` in ```cstdio```.
|
||||||
|
```
|
||||||
|
sed -i backup "s|using ::fgetpos;|//using ::fgetpos;|" boost/compatibility/cpp_c_headers/cstdio
|
||||||
|
sed -i backup "s|using ::fsetpos;|//using ::fsetpos;|" boost/compatibility/cpp_c_headers/cstdio
|
||||||
|
```
|
||||||
|
|
||||||
Then build & install to ```/opt/android/build/boost``` with
|
Then build & install to ```/opt/android/build/boost``` with
|
||||||
```Shell
|
```Shell
|
||||||
|
@ -102,8 +107,9 @@ ln -sf ../include /opt/android/build/boost/x86_64
|
||||||
```Shell
|
```Shell
|
||||||
cd /opt/android
|
cd /opt/android
|
||||||
git clone https://github.com/m2049r/monero.git
|
git clone https://github.com/m2049r/monero.git
|
||||||
|
cd monero
|
||||||
|
git checkout release-v0.12.3
|
||||||
|
|
||||||
cd /opt/android/monero
|
|
||||||
./build-all-arch.sh
|
./build-all-arch.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue