summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2022-11-17 20:54:24 +0900
committerRyo Nakamura <upa@haeena.net>2022-11-17 20:54:24 +0900
commita2b4a4c7b3cd0b0071fdacaee9cc3cb34b264de2 (patch)
tree040643d4b24003272fbb46027094f77b00fcdff1 /README.md
parent06c27b96f4c2956662d23860c4984619269c1fe6 (diff)
update README for building mscp with patched libssh
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1361a97..f0fc8ba 100644
--- a/README.md
+++ b/README.md
@@ -170,3 +170,28 @@ Usage: mscp [vqDCHdh] [-n nr_conns]
Note: mscp is still under development, and the author is not
responsible for any accidents due to mscp.
+
+## Build with Async Write
+
+```console
+# install required package
+sudo apt install libkrb5-dev
+
+# clone this repositoy
+git clone https://github.com/upa/mscp -b async-write
+cd mscp
+
+# build pathched libssh
+git clone https://git.libssh.org/projects/libssh.git/ --depth=10 -b libssh-0.10.4
+cd libssh && git apply ../patch/libssh-0.10.4.patch
+mkdir build && cd build
+cmake .. -DCMAKE_INSTALL_PREFIX=../../libssh-installed
+make && make install
+
+# build mscp with patched libssh
+# mv to mscp dir
+mv ../..
+mkdir build && cd build
+cmake .. -DLIBSSH_PATH=../libssh-installed
+make
+``` \ No newline at end of file