通过自制程序的gcc没有--without-multilib选项 [英] gcc via homebrew has no --without-multilib option

查看:112
本文介绍了通过自制程序的gcc没有--without-multilib选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Python 3.5中安装xgboost.这要求gcc支持-fopenmp选项.默认的gcc不支持它.所以我正在使用

I want to install xgboost in Python 3.5. This requires gcc to support -fopenmp option. Default gcc does not support it. So I am using

brew install gcc --without-multilib

但是我明白了Warning: gcc: this formula has no '--without-multilib' option so it will be ignored!有什么想法吗?

But I get Warning: gcc: this formula has no '--without-multilib' option so it will be ignored! Any ideas?

推荐答案

选项no自2017年8月8日起已存在.许多旧的第三方xgboost指令已过时.只需在没有选项的情况下执行brew install gcc,就会惊奇地发现一切仍然有效.

The option no longer exists, since 8/2017. Many older 3rd-party xgboost instructions are outdated. Just do brew install gcc without options and be amazed that everything still works.

这篇关于通过自制程序的gcc没有--without-multilib选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆