aa684dfb4f
(cherry picked from commit c4e565c69dce2d6815a3c91f54c6e5ab492fb1e9) Former-commit-id: fa8de84b5f1d23246161f4c12883dc2526e3b885
8 lines
350 B
Plaintext
8 lines
350 B
Plaintext
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=try-llvm,outfile=/usr/lib/mono/aot-cache/${MONOARCH}/`basename #FILE#.so` -O=all #FILE# > /dev/null 2>&1 || true
|
|
fi
|