add makeaot.sh and cleanaot.sh for linux suicidal player. opensim should be started with -O=all option also. Forgetting to run cleanaot when needed may cause fun smoke. (files may need the exec (-x) flag due to creation in windows)

This commit is contained in:
UbitUmarov
2020-10-17 13:34:44 +01:00
parent 9075c3fd08
commit bb48f75570
2 changed files with 34 additions and 0 deletions

17
cleanaot.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
cd bin
rm Nini.dll.so
rm DotNetOpen*.dll.so
rm Ionic.Zip.dll.so
rm Newtonsoft.Json.*.dll.so
rm C5.dll.so
rm CSJ2K.dll.so
rm Npgslq.dll.so
rm RestSharp.dll.so
rm Mono*.dll.so
rm MuSql*.dll.so
rm OpenMetaverse*.dll.so
rm OpenSim*.dll.so
rm OpenSim*.exe.so
rm Robust*.exe.so
cd ..

17
makeaot.sh Normal file
View File

@@ -0,0 +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 MuSql*.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
cd ..