<div dir="ltr">   Attached is the revised initial implementation of cmake support for openmp in <a href="http://llvm.org">llvm.org</a> with the following requested changes implemented.<div><br></div><div>1) Indentations normalized to 2 spaces.</div>
<div>2) The test for APPLE moved above UNIX in setting OS_GEN and fatal error condition added.</div><div>3) Implemented used CMAKE_SHARED_LIBRARY_SUFFIX to set OMP_SHLIBEXT.</div><div>4) Added comment explaining the rational for temporary forcing of…</div>
<div><br></div><div>set(CMAKE_CXX_COMPILER "clang++")<br></div><div><br></div><div>to insure that the build of 'make compiler=clang' is always used, regardless of the actual system compiler, until the openmp build is wired into the llvm bootstrap and can be certain to use its clang compilers. Also note that the warnings added to the COMMON_FLAGS may be compiler-specific. Tested as before on x86_64-apple-darwin12 against the clang compilers from Xcode 5.1.1 and on x86_64 Fedora 15 using current clang-omp 3.4.</div>
<div>                  Jack</div><div>ps We also probably want to add a fatal error message for unsupported arches but first I intend to adjust this file to support powerpc as soon as my clang-omp bootstrap completes on ppc darwin9.</div>
</div>