Retrieve the compilation options for octave

时间:2016-05-17 11:15:23

标签: octave configure

Is there any simple way to retrieve the compilation options for octave ?

Something similar to python:

import distutils.sysconfig
print(distutils.sysconfig.get_config_var('CONFIG_ARGS'))
>>> '--enable-shared' '--enable-ipv6' '--with-ensurepip=no' <...>

I'm running Ubuntu 16.04

1 个答案:

答案 0 :(得分:1)

octave_config_info()非常健谈。例如,您在我的系统上询问的配置选项:

SELECT d.*
FROM device d
LEFT OUTER JOIN installation_record ir1 ON (d.id = ir1.device)
LEFT OUTER JOIN installation_record ir2 ON (d.id = ir2.device AND ir1.install_date < ir2.install_date)
WHERE ir2.id IS NULL AND ir1.uninstall_date IS NULL;

编辑:正如carandraug指出的那样&#34; octave_config_info()&#34;已弃用4.2。您可以在此处查看维护者邮件列表的讨论:http://mlwiki.org/index.php/ROC_Analysis