<div dir="ltr">       While we wait on the official CMakefiles.txt from Intel to arrive, attached is a small cleanup of the existing runtime/src/CMakeList.txt which fixes the IA-32 build of libiomp5. With these changes…<div>
<br></div><div>%mkdir build</div><div>% cd build</div><div>% cmake -DARCH=32 ..</div><div>% make VERBOSE=1</div><div><br></div><div>will produce a 32-bit libiomp5.</div><div><br></div><div>When "cmake -DARCH=64 .." or "cmake .." is used, the Intel® 64 build is obtained.</div>
<div><br></div><div>         Jack</div><div><br></div><div>ps Note that an explicit ARCH_MODE variable is used pass -m32 to assemble z_Linux_asm.s as passing COMMON_FLAGS with -x assembler-with-cpp produces a compiler error of…</div>
<div><br></div><div><div>clang: error: unknown argument: '-fPIC -Wno-unused-value -Wno-switch -Wno-deprecated-register -fno-exceptions' [-Wunused-command-line-argument-hard-error-in-future]</div></div><div><br></div>
</div>