[Openmp-dev] -bash: syntax error near unexpected token `newline'

Dominique Gutierrez via Openmp-dev openmp-dev at lists.llvm.org
Thu Mar 19 05:04:14 PDT 2020


Hey I am having this error

"clang: error: unsupported option '-fopenmp'"

when sourcing a setup file on a  Mac desktop.



I tried the following command from http://openmp.llvm.org/



cmake ../llvm -DLLVM_ENABLE_PROJECTS=openmp -DCMAKE_C_COMPILER=<C compiler> -DCMAKE_CXX_COMPILER=<C++ compiler>

but get

-bash: syntax error near unexpected token `newline'




Best,

Dominique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200319/4b318203/attachment.html>


More information about the Openmp-dev mailing list