summaryrefslogtreecommitdiff
path: root/docs/Writerside/topics/Android.md
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2024-10-17 10:50:22 +0200
committerGitHub <noreply@github.com>2024-10-17 10:50:22 +0200
commitd04dcf67ec042fca76b48ffc09ea9d2ea4b5106e (patch)
tree2f9855c1c5daaece4ac17ff7ce748ba49ec86701 /docs/Writerside/topics/Android.md
parent939040032f6e22529ccb6b5f54d9c48fc94db3d6 (diff)
initial work on docs (#69)
* initial work on docs * fix DOCKER_VERSION * update location * add the path **properly** * Update docs workflow
Diffstat (limited to 'docs/Writerside/topics/Android.md')
-rw-r--r--docs/Writerside/topics/Android.md52
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/Writerside/topics/Android.md b/docs/Writerside/topics/Android.md
new file mode 100644
index 0000000..c02b14f
--- /dev/null
+++ b/docs/Writerside/topics/Android.md
@@ -0,0 +1,52 @@
+# Android
+
+Building on linux has been tested on
+- `ubuntu:22.04` (docker tag)
+
+## Install dependencies
+
+```bash
+$ apt update
+$ apt install -y build-essential pkg-config autoconf libtool \
+ ccache make cmake gcc g++ git curl lbzip2 libtinfo5 gperf \
+ unzip python-is-python3
+```
+
+## Prepare source
+
+> If you are running in docker or have not configured git you may need to do the following:
+> ```bash
+> git config --global --add safe.directory '*'
+> git config --global user.email "ci@mrcyjanek.net"
+> git config --global user.name "CI mrcyjanek.net"
+> ```
+
+```bash
+$ git clone https://github.com/mrcyjanek/monero_c --recursive
+$ cd monero_c
+$ ./apply_patches.sh monero
+```
+
+## Building
+
+<tabs>
+<tab title="x86_64">
+<code-block>
+$ ./build_single.sh monero x86_64-linux-android -j$(nproc)
+</code-block>
+</tab>
+<tab title="aarch64">
+<code-block>
+$ ./build_single.sh monero aarch64-linux-android -j$(nproc)
+</code-block>
+</tab>
+<tab title="armv7a">
+<code-block>
+$ ./build_single.sh monero armv7a-linux-androideabi -j$(nproc)
+</code-block>
+</tab>
+</tabs>
+
+## Known issues
+
+None. Open an issue if you find something not working. \ No newline at end of file