[Maria-discuss] build minimized MariaDB 10.0.x
https://mariadb.atlassian.net/browse/MDEV-7076 well, in general i try to only have Aria/XtraDB/MyISAM -DWITH_XTRADB_STORAGE_ENGINE=ON \ -DWITH_PARTITION_STORAGE_ENGINE=ON \ -DWITH_ARCHIVE_STORAGE_ENGINE=OFF \ -DWITH_BLACKHOLE_STORAGE_ENGINE=OFF \ -DWITH_SPHINX_STORAGE_ENGINE=OFF \ -DWITH_MROONGA_STORAGE_ENGINE=OFF \ -DWITH_OQGRAPH_STORAGE_ENGINE=OFF \ -DWITH_SPIDER_STORAGE_ENGINE=OFF \ -DWITH_CASSANDRA_STORAGE_ENGINE=OFF \ but OOM in context of "mroonga" i want my ./configure --help back while in other aspects cmake is really cool there is no way i know to get a list of valid configure options :-( /usr/bin/ranlib libsql.a make[2]: Leaving directory `/home/builduser/rpmbuild/BUILD/mariadb-10.0.15' /usr/bin/cmake -E cmake_progress_report /home/builduser/rpmbuild/BUILD/mariadb-10.0.15/CMakeFiles 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 make[2]: Leaving directory `/home/builduser/rpmbuild/BUILD/mariadb-10.0.15' make[1]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 99%] Built target sql make[1]: Leaving directory `/home/builduser/rpmbuild/BUILD/mariadb-10.0.15'
Hi, Reindl! On Jan 19, Reindl Harald wrote:
https://mariadb.atlassian.net/browse/MDEV-7076
well, in general i try to only have Aria/XtraDB/MyISAM
-DWITH_XTRADB_STORAGE_ENGINE=ON \ -DWITH_PARTITION_STORAGE_ENGINE=ON \ -DWITH_ARCHIVE_STORAGE_ENGINE=OFF \ -DWITH_BLACKHOLE_STORAGE_ENGINE=OFF \ -DWITH_SPHINX_STORAGE_ENGINE=OFF \ -DWITH_MROONGA_STORAGE_ENGINE=OFF \ -DWITH_OQGRAPH_STORAGE_ENGINE=OFF \ -DWITH_SPIDER_STORAGE_ENGINE=OFF \ -DWITH_CASSANDRA_STORAGE_ENGINE=OFF \
but OOM in context of "mroonga"
i want my ./configure --help back while in other aspects cmake is really cool there is no way i know to get a list of valid configure options :-(
For cmake there is 'cmake -LH' and 'cmake -LAH' (the second also shows "advanced" options). But if a variable is never set in cmakefiles (which is the case for some of WITH_xxx and WITHOUT_xxx - they are only checked, but never set), it will not show out in help. In 10.1 this is fixed in the sense that plugin configuration is now done with PLUGIN_xxx variables. They show up in help, and they are sorted separately, not intermixed with other WITH_xxx variables, like WITH_EMBEDDED_SERVER or WITH_SAFEMALLOC. Regards, Sergei
Am 19.01.2015 um 20:20 schrieb Sergei Golubchik:
Hi, Reindl!
On Jan 19, Reindl Harald wrote:
https://mariadb.atlassian.net/browse/MDEV-7076
well, in general i try to only have Aria/XtraDB/MyISAM
-DWITH_XTRADB_STORAGE_ENGINE=ON \ -DWITH_PARTITION_STORAGE_ENGINE=ON \ -DWITH_ARCHIVE_STORAGE_ENGINE=OFF \ -DWITH_BLACKHOLE_STORAGE_ENGINE=OFF \ -DWITH_SPHINX_STORAGE_ENGINE=OFF \ -DWITH_MROONGA_STORAGE_ENGINE=OFF \ -DWITH_OQGRAPH_STORAGE_ENGINE=OFF \ -DWITH_SPIDER_STORAGE_ENGINE=OFF \ -DWITH_CASSANDRA_STORAGE_ENGINE=OFF \
but OOM in context of "mroonga"
i want my ./configure --help back while in other aspects cmake is really cool there is no way i know to get a list of valid configure options :-(
For cmake there is 'cmake -LH' and 'cmake -LAH' (the second also shows "advanced" options).
But if a variable is never set in cmakefiles (which is the case for some of WITH_xxx and WITHOUT_xxx - they are only checked, but never set), it will not show out in help.
In 10.1 this is fixed in the sense that plugin configuration is now done with PLUGIN_xxx variables. They show up in help, and they are sorted separately, not intermixed with other WITH_xxx variables, like WITH_EMBEDDED_SERVER or WITH_SAFEMALLOC
thanks for feedback can you refer to some docs for that or give examples? currently i have 3 choices in mind -DWITH_MROONGA_STORAGE_ENGINE=OFF \ -DPLUGIN_MROONGA_STORAGE_ENGINE=OFF \ -DPLUGIN_MROONGA=OFF \ https://mariadb.com/kb/en/mariadb/documentation/getting-started/compiling-ma... is not really helpful at all 8also with 5.5)
Am 19.01.2015 um 20:25 schrieb Reindl Harald:
In 10.1 this is fixed in the sense that plugin configuration is now done with PLUGIN_xxx variables. They show up in help, and they are sorted separately, not intermixed with other WITH_xxx variables, like WITH_EMBEDDED_SERVER or WITH_SAFEMALLOC
thanks for feedback
can you refer to some docs for that or give examples? currently i have 3 choices in mind
-DWITH_MROONGA_STORAGE_ENGINE=OFF \ -DPLUGIN_MROONGA_STORAGE_ENGINE=OFF \ -DPLUGIN_MROONGA=OFF \
https://mariadb.com/kb/en/mariadb/documentation/getting-started/compiling-ma... is not really helpful at all 8also with 5.5)
uhm i missed the "10.1" which is out of question at all https://mariadb.com/kb/en/mariadb/documentation/getting-started/compiling-ma... MariaDB starting with 5.5 cmake -DWITHOUT_OQGRAPH=1 MariaDB starting with 10.1 cmake -DPLUGIN_OQGRAPH=NO so my *guess* is leave "XTRADB" and "PARTITION" untouched (while i have no use for partitioning at all but without in the past a ton of tests failed writing the disk full) and use -DWITHOUT_ARCHIVE=1 -DWITHOUT_BLACKHOLE=1 -DWITHOUT_SPHINX=1 -DWITHOUT_MROONGA=1 -DWITHOUT_OQGRAPH=1 -DWITHOUT_SPIDER=1 -DWITHOUT_CASSANDRA=1 still unsure if the both should not be there for *builtin* instead loadable - frankly that's all a mess with too much guessing -DWITH_XTRADB_STORAGE_ENGINE=ON \ -DWITH_PARTITION_STORAGE_ENGINE=ON \ ________________________________________________________ -DWITH_XTRADB_STORAGE_ENGINE=ON \ -DWITH_PARTITION_STORAGE_ENGINE=ON \ -DWITH_ARCHIVE_STORAGE_ENGINE=OFF \ -DWITH_BLACKHOLE_STORAGE_ENGINE=OFF \ -DWITH_SPHINX_STORAGE_ENGINE=OFF \ -DWITH_MROONGA_STORAGE_ENGINE=OFF \ -DWITH_OQGRAPH_STORAGE_ENGINE=OFF \ -DWITH_SPIDER_STORAGE_ENGINE=OFF \ -DWITH_CASSANDRA_STORAGE_ENGINE=OFF \
participants (2)
-
Reindl Harald
-
Sergei Golubchik