oneAPI-samples
oneAPI-samples copied to clipboard
Does Intel oneAPI support 32bit library with CMake?
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