Skip to content

Commit

Permalink
Update to v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin8617 authored Jan 2, 2023
1 parent 5f56e66 commit c373d57
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build-ain-arm64.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Download the latest source code from DefiCh/ain and extract them to your `/home/
- [Source code (tar.gz)](https://github.com/DeFiCh/ain/releases)


## Build ain-3.1.1
## Build ain-3.2.0

### Install all dependencies

Expand All @@ -33,26 +33,26 @@ sudo apt-get install g++-aarch64-linux-gnu
### Build Berkeley DB
It is recommended to use Berkeley DB 4.8. If you have to build it yourself, you can use installation script included in contrib:
```
cd /home/pi/ain-3.1.1/
./contrib/install_db4.sh /home/pi/ain-3.1.1/
cd /home/pi/ain-3.2.0/
./contrib/install_db4.sh /home/pi/ain-3.2.0/
```

### Build executables
```
cd /home/pi/ain-3.1.1/depends
cd /home/pi/ain-3.2.0/depends
make HOST=aarch64-linux-gnu NO_QT=1
cd ..
./autogen.sh
```
```
export BDB_PREFIX='/home/pi/ain-3.1.1/db4'
export BDB_PREFIX='/home/pi/ain-3.2.0/db4'
./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" CXXFLAGS="-march=armv8-a+crc+crypto" --prefix=$PWD/depends/aarch64-linux-gnu --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++
```
And finally:
```
make HOST=aarch64-linux-gnu -j4
```
...and if you want you can create a package (e.g. /home/pi/ain-2.11.1/depends/aarch64-linux-gnu) which contains the files as you get them from DeFiChain for the other platforms:
...and if you want you can create a package (e.g. /home/pi/ain-3.2.0/depends/aarch64-linux-gnu) which contains the files as you get them from DeFiChain for the other platforms:
```
make install
```

0 comments on commit c373d57

Please sign in to comment.