如何禁用 MariaDB 中的测试套件
今天我编译了 MariaDB 并注意到大约一半的安装文件仅与测试套件相关。目前我从安装目录中 rm usr/{mysql-test,sql-bench} ,但我想在配置/编译时禁用该套件。是否有一些选项可以禁用编译?据我所知,configure 没有这样的选项。 这应该至少会减少一点打包时间,并且不会使用非标准目录。
Today I compiled MariaDB and noticed that about half of the installed files are just related to the test suite. Currently I rm usr/{mysql-test,sql-bench} from the install directory, but I'd like to disable the suite at configuration / compile time. Is there some option to disable compiling? configure takes no such option as far as I discovered.
That should decrease packaging time at least a little and it wouldn't use non-standard directories.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
配置&测试套件的编译时间很短(几秒钟),因此这应该不是一个大问题。
在没有测试套件的情况下选择“make install”可能不是一个坏主意,可以使安装更小。我将尝试在 MariaDB 5.5 中修复我们有这样的选项。
“非标准目录”是什么意思?
Configure & compile for the test suite is minimal (a few seconds) so this should not be a big problem.
Having an option for 'make install' without test suite would probably not be a bad idea to make the install smaller. I will try to fix in MariaDB 5.5 that we have such an option.
What do you mean with 'non standard directories'?