From 2ac8c495caca72f1e21ccc4ef9771a686c5b95b8 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 17 Oct 2020 14:06:31 +0100 Subject: [PATCH] add some aot options --- cleanaot.sh | 4 ++-- makeaot.sh | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/cleanaot.sh b/cleanaot.sh index 0150cd809c..907b11de52 100644 --- a/cleanaot.sh +++ b/cleanaot.sh @@ -3,10 +3,10 @@ cd bin rm Nini.dll.so rm DotNetOpen*.dll.so rm Ionic.Zip.dll.so -rm Newtonsoft.Json.*.dll.so +rm Newtonsoft.Json.dll.so rm C5.dll.so rm CSJ2K.dll.so -rm Npgslq.dll.so +rm Npgsql.dll.so rm RestSharp.dll.so rm Mono*.dll.so rm MySql*.dll.so diff --git a/makeaot.sh b/makeaot.sh index ffcb1fae1a..91d40fde16 100644 --- a/makeaot.sh +++ b/makeaot.sh @@ -1,17 +1,17 @@ #!/bin/sh cd bin -mono --aot -O=all Nini.dll -mono --aot -O=all DotNetOpen*.dll -mono --aot -O=all Ionic.Zip.dll -mono --aot -O=all Newtonsoft.Json.*.dll -mono --aot -O=all C5.dll -mono --aot -O=all CSJ2K.dll -mono --aot -O=all Npgslq.dll -mono --aot -O=all RestSharp.dll -mono --aot -O=all Mono*.dll -mono --aot -O=all MySql*.dll -mono --aot -O=all OpenMetaverse*.dll -mono --aot -O=all OpenSim*.dll -mono --aot -O=all OpenSim*.exe -mono --aot -O=all Robust*.exe +mono --aot=mcpu=native,bind-to-runtime-version -O=all Nini.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all DotNetOpen*.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all Ionic.Zip.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all Newtonsoft.Json.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all C5.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all CSJ2K.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all Npgsql.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all RestSharp.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all Mono*.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all MySql*.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all OpenMetaverse*.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all OpenSim*.dll +mono --aot=mcpu=native,bind-to-runtime-version -O=all OpenSim*.exe +mono --aot=mcpu=native,bind-to-runtime-version -O=all Robust*.exe cd .. \ No newline at end of file