【问题标题】:gcc via homebrew has no --without-multilib option通过自制软件的 gcc 没有 --without-multilib 选项
【发布时间】:2018-04-26 02:04:38
【问题描述】:

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

brew install gcc --without-multilib

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

【问题讨论】:

    标签: macos python-3.x gcc anaconda xgboost


    【解决方案1】:

    The option no longer exists, since 8/2017。许多较旧的第 3 方 xgboost 指令已过时。只需在没有选项的情况下执行 brew install gcc 并惊讶于一切仍然有效。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-13
      • 2023-03-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多