oneAPI-samples icon indicating copy to clipboard operation
oneAPI-samples copied to clipboard

Does Intel oneAPI support 32bit library with CMake?

Open phuchm opened this issue 2 years ago • 0 comments

Hi authors,

I've ever used both GCC and ICC successfully to build a 32bit C++ library with CMake on Linux 64bit. But when switch to oneAPI (icx/icpx), it will be error when run: cmake -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32" .. If I remove -DCMAKE_C_FLAGS="-m32" -DCMAKE_CXX_FLAGS="-m32", it will run normally.

So, my question is: Does Intel oneAPI support 32bit library with CMake? If yes, could you please help me about flags or settings to build?

Thanks

phuchm avatar Dec 12 '23 08:12 phuchm