c++ - 如何在 XCode 7 中应用支持 OpenMP

标签 c++ xcode gcc compilation openmp

在 XCode 4.6 中是“启用 OpenMP 支持”复选框,但在 XCode 7 中没有这样的选项。我该怎么做?

最佳答案

Apple 的开发人员工具已放弃对 OpenMP 的支持。在 OS X 上,获得 OpenMP 支持的最简单方法是通过 Homebrew 安装 gcc 或 clang-omp .

关于c++ - 如何在 XCode 7 中应用支持 OpenMP,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35424839/

相关文章:

c++ - 状态机与开关盒

c++ - 需要一个好的非托管 C++ OCX 示例

c++ - STL 容器上的模板模板参数

ios - 在模态视图 Controller 后面更改 View Controller

Xcode调试器: Why is it only showing me assembler?

c++ - GCC/VS2008 : Different behaviour of function call when templated base class is derived from itself

c++ - 如何获取从 C++ 中的特定类继承的所有已声明类的列表

ios - 应用程序卡在 LaunchScreen 上且没有错误消息

c++ - GCC 与 Cygwin/Win7 : missing syscall. h

c++ - c++ 目标文件应该只通过 g++ 链接吗?