Created
November 10, 2018 12:34
-
-
Save EgorBo/63a65b62efb51f3a9030b482d8a2403f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX=/prj/mono-bin | |
git clone https://github.com/mono/mono.git --recursive mono-m | |
cd mono-m | |
./autogen.sh --prefix=$PREFIX --enable-llvm && make -j10 && make install | |
PATH=$PREFIX/bin:$PATH | |
#now: | |
csc -o P.cs && mono --aot=llvm p.exe && mono p.exe | |
#or with additional llvm arguments for opt and llc: | |
csc -o P.cs && mono --aot=llvm,llvmopts="-loop-vectorize",llvmllc="-fp-contract=fast" p.exe && mono p.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment