Skip to content

Does Intel oneAPI support 32bit library with CMake? #2101

Open
@phuchm

Description

@phuchm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions