Add a message to say what AOT is up to

(cherry picked from commit d743d587d1f5a8c39fe5ce0dc005d439c09d56f0)


Former-commit-id: f1fd8049754926932349f92cbca49760ac247b42
This commit is contained in:
Jo Shields 2018-04-24 16:40:34 -04:00 committed by Jo Shields
parent 4654dc8a96
commit 7a1ee9d53d

View File

@ -1,6 +1,7 @@
if [ "$1" = "configure" ]
then
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //' | sed 's/el,.*//'`
echo "Mono precompiling #FILE# for ${MONOARCH}..."
mkdir -p /usr/lib/mono/aot-cache/${MONOARCH}/
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all #FILE# > /dev/null 2>&1 || true
fi