From: Brendan Hansen Date: Tue, 8 Mar 2022 04:34:02 +0000 (+0000) Subject: added aarch64 for linux X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=be8b09a3c07eb33688fae483440850235236dca3;p=onyx.git added aarch64 for linux --- diff --git a/build.sh b/build.sh index 147040b7..e3a63e01 100755 --- a/build.sh +++ b/build.sh @@ -6,10 +6,12 @@ CORE_DIR='/usr/share/onyx' # Where the onyx executable will be placed. BIN_DIR='/usr/bin' +ARCH="$(uname -m)" + # Where the Wasmer library files can be found. # They are bundled with the project, but if a different version is available, these can be changed. WASMER_INCLUDE_DIR="$(pwd)/lib/common/include" -WASMER_LIBRARY_DIR="$(pwd)/lib/linux_x86_64/lib" +WASMER_LIBRARY_DIR="$(pwd)/lib/linux_$ARCH/lib" # Where the intermediate build files go. BUILD_DIR='./build' diff --git a/lib/linux_aarch64/lib/libwasmer.a b/lib/linux_aarch64/lib/libwasmer.a new file mode 100644 index 00000000..34f9d15a Binary files /dev/null and b/lib/linux_aarch64/lib/libwasmer.a differ diff --git a/lib/linux_aarch64/lib/libwasmer.so b/lib/linux_aarch64/lib/libwasmer.so new file mode 100755 index 00000000..989a4220 Binary files /dev/null and b/lib/linux_aarch64/lib/libwasmer.so differ