Add a message to say what AOT is up to
(cherry picked from commit d743d587d1f5a8c39fe5ce0dc005d439c09d56f0) Former-commit-id: f1fd8049754926932349f92cbca49760ac247b42
This commit is contained in:
parent
4654dc8a96
commit
7a1ee9d53d
1
debian/postinst-monoaot
vendored
1
debian/postinst-monoaot
vendored
@ -1,6 +1,7 @@
|
|||||||
if [ "$1" = "configure" ]
|
if [ "$1" = "configure" ]
|
||||||
then
|
then
|
||||||
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //' | sed 's/el,.*//'`
|
MONOARCH=`mono --version | grep Architecture | sed 's/.*: //' | sed 's/el,.*//'`
|
||||||
|
echo "Mono precompiling #FILE# for ${MONOARCH}..."
|
||||||
mkdir -p /usr/lib/mono/aot-cache/${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
|
/usr/bin/mono --aot=outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all #FILE# > /dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user