The makefiles works with C and C++ based source codes. It is much easier now, to support new chess engines, as i can take most of the essential settings in Android.mk (needed for compilation with Android NDK). I created my own makefile structure now, especially for the CECSA script, but can also be used outside. The most essential environment variables in the script can be overwritten by engine settings. With CECSA_ZIP_JNI=true the files for Android NDK will also be included in the zip archive. Stockfish for example needs the directory name "Stockfish" in the src directory (as you can see it, after downloading from GitHub), otherwise the script will not find the sources. CECSA will not donwload any sources from GitHub now, instead it starts the compilation immediately. Download the source code manually, extract it to src directory (take care of the directory structure and names, must be identical with GitHub), set CECSA_ONLINE to false and start the script. With this feature you can do now an offline compilation. The script assumes that the source code is already in the src directory. If CECSA_ONLINE=false the script doesn't download any sources from GitHub. With CECSA_PGO=true, profile guided optimization will be used (if available).ĬECSA_ONLINE=true means, that the source code of an chess engine will download from GitHub first before the compilation starts (the default behavior). ![]() As you can see, there is a new option "CECSA_PGO". ![]() ![]() The most essential environment variables are at the bottom of the script. Code: Select all CECSA_ABI_ARMEABI_V7A=true
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |