From 57a89ac3756fc3509b988dc9046cd10fa7559027 Mon Sep 17 00:00:00 2001 From: Ivan Folgueira Bande Date: Wed, 17 Sep 2025 10:33:47 +0200 Subject: [PATCH 1/2] update readme with instructions how to build --- README.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README.md b/README.md index f4936c8..08b2fb6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,39 @@ # nim-e2e-reliability Nim implementation of the e2e reliability protocol + +# Building + +## Android + +Download the latest Android NDK. For example, on Ubuntu Intel: + +```code +cd ~ +wget https://dl.google.com/android/repository/android-ndk-r27c-linux.zip +``` +```code +unzip android-ndk-r27c-linux.zip +``` + +Then, add the following to your ~/.bashrc file: +```code +export ANDROID_NDK_HOME=$HOME/android-ndk-r27c +export PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH +``` + +Then, use one of the following commands, according to the current architecture: + +| Architecture | command | +| arm64 | make libsds-android ARCH=arm64 | +| amd64 | make libsds-android ARCH=amd64 | +| x86 | make libsds-android ARCH=x86 | + +At the end of the process, the library will get created in build/libsds.so + +## Windows, Linux or MacOS + +```code +make libsds +``` + + From 26d1b73931fe67a42d5ac14c0d82c109570e6793 Mon Sep 17 00:00:00 2001 From: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> Date: Wed, 17 Sep 2025 16:20:00 +0200 Subject: [PATCH 2/2] Update README.md Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 08b2fb6..9e7da7b 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Then, use one of the following commands, according to the current architecture: | amd64 | make libsds-android ARCH=amd64 | | x86 | make libsds-android ARCH=x86 | -At the end of the process, the library will get created in build/libsds.so +At the end of the process, the library will be created in build/libsds.so ## Windows, Linux or MacOS