[英]OpenMP support in Xcode 6 (clang 3.5)
xcode 6 is based on clang 3.5; xcode 6基于clang 3.5; on osx 10.9.5 running
clang++ --version
from the command line reports 在osx 10.9.5上运行
clang++ --version
从命令行报告
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
so I supposed that Apple included openmp support given the fact that in the clang 3.5 release notes 所以我认为Apple包含openmp支持,因为在clang 3.5发行说明中
http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html
the clang developers claim partial openmp support. clang开发者声称部分openmp支持。 But it seems that the "-fopenmp" argument is still not recognized.
但似乎仍然无法识别“-fopenmp”参数。
Any hints? 任何提示?
Clang still does not fully support OpenMP, actually it supports only Parsing/Sema analysis + some basic coidegen for 'omp parallel' and 'omp simd' directives. Clang仍然不完全支持OpenMP,实际上它只支持Parsing / Sema分析+'omp parallel'和'omp simd'指令的一些基本coidegen。 You can try to activate it by adding -Xclang -fopenmp=libiomp5 options.
您可以尝试通过添加-Xclang -fopenmp = libiomp5选项来激活它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.