From 2566513ada9af32e2ca8b22d971e76406a829fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C3=A8be=20-=20Romain=20Gerard?= Date: Fri, 1 May 2020 13:01:47 +0200 Subject: [PATCH] Create build_aarch64.sh Former-commit-id: 88978bba39f4160ca5cfdd12931c2d5ec9d08b56 Former-commit-id: 32aa38f21b2f6bc9450d1aabd37f97fc9229329a [formerly d6b078361710049a63b2fe36fbdf15c9f803e37f] [formerly a83a3114da4fa96d86eb75ae8b36a3763ce32e65 [formerly ac5b825246e2326ee9350304f98796e46d93ce38 [formerly ac5b825246e2326ee9350304f98796e46d93ce38 [formerly ac5b825246e2326ee9350304f98796e46d93ce38 [formerly 49ba895f37570a1411c5e2df394450c1c46d9a41]]]]] Former-commit-id: 883bc997a58d831c6c0525533f5ccece98e0bfd6 [formerly 3a8ba9315e5c64b1e77678ea3164a43cbc6d13ba] Former-commit-id: 21d32c3cde9958bfdf78f591b99672bcd2484ae6 Former-commit-id: d2d91a50d89630d540f5ae76a180081c974cac88 Former-commit-id: 835c4686d5bdb12a9dfb75806e1181c1b34808c1 Former-commit-id: 3a159551cd27c8c332a1feb4946a0505ce5c74bf [formerly 47ac98a752ce3187401747a29204a9063dc28f0d] Former-commit-id: 15459ca846a11e33ed3193a7ad53a4f821d15a8b --- build_aarch64.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 build_aarch64.sh diff --git a/build_aarch64.sh b/build_aarch64.sh new file mode 100644 index 0000000..f60f877 --- /dev/null +++ b/build_aarch64.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +# Ubuntu 18 + +sudo apt-get git llvm6.0-tools zlib1g-dev +export PATH="/usr/lib/llvm-6.0/bin/:$PATH" + +wget https://github.com/commercialhaskell/stack/releases/download/v2.1.3/stack-2.1.3-linux-aarch64.tar.gz +tar xzvf stack-2.1.3-linux-aarch64.tar.gz +sudo cp stack-2.1.3-linux-aarch64/stack /usr/local/bin/ +git clone https://github.com/erebe/wstunnel +cd wstunnel +stack setup +stack build