oneapi-src / oneapi-src/oneAPI-samples
Does Intel oneAPI support 32bit library with CMake?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 745
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported CMake invocation on 64-bit Linux with icx/icpx, comparing it with the working GCC and ICC builds. Check the oneAPI compiler and CMake configuration guidance for 32-bit support; done means documenting whether the build is supported and identifying the required flags or settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp, linux
- Domain
- build-system, compilers, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100