Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel compiler unsupported #2583

Closed
VictorEijkhout opened this issue Jun 22, 2023 · 7 comments
Closed

Intel compiler unsupported #2583

VictorEijkhout opened this issue Jun 22, 2023 · 7 comments
Milestone

Comments

@VictorEijkhout
Copy link

It looks like you don't support the (relatively) new Intel 1API compiler:

cmake -D CMAKE_INSTALL_PREFIX=/work2/00434/eijkhout/sfml/installation-sfml-2.6.0-clx-intel23                                           -D CMAKE_VERBOSE_MAKEFILE=ON                     -D BUILD_SHARED_LIBS=TRUE                     /work2/00434/eijkhout/sfml/sfml-2.6.0
-- The C compiler identification is IntelLLVM 2023.1.0
-- The CXX compiler identification is IntelLLVM 2023.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/intel/oneapi/compiler/2023.1.0/linux/bin/icx - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/intel/oneapi/compiler/2023.1.0/linux/bin/icpx - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/Config.cmake:134 (message):
  Unsupported compiler
@VictorEijkhout
Copy link
Author

Even the Intel classic compiler:

cmake -D CMAKE_INSTALL_PREFIX=/work2/00434/eijkhout/sfml/installation-sfml-2.6.0-clx-intel22                                           -D CMAKE_VERBOSE_MAKEFILE=ON                     -D BUILD_SHARED_LIBS=TRUE                     /work2/00434/eijkhout/sfml/sfml-2.6.0
-- The C compiler identification is Intel 2021.7.0.20220726
-- The CXX compiler identification is Intel 2021.7.0.20220726
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /scratch1/projects/compilers/oneapi_2022.3.0/compiler/latest/linux/bin/intel64/icc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /scratch1/projects/compilers/oneapi_2022.3.0/compiler/latest/linux/bin/intel64/icpc - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/Config.cmake:134 (message):
  Unsupported compiler

@Bambo-Borris
Copy link
Contributor

Bambo-Borris commented Jun 22, 2023

As mentioned over on #2582 please provide additional information alongside these issues regarding the environment you're building on.

@ChrisThrasher
Copy link
Member

Please comment out line 134 in Config.cmake (the FATAL_ERROR message) and try again. If that works then I can submit a patch to remove that line since I think it may be over constraining the build. You're the first person I've seen try to use any Intel compiler with SFML so I'm not surprised such issues may exist.

@Rosme
Copy link
Contributor

Rosme commented Jun 22, 2023

I think we should not prevent generating, but should print a warning saying the Compiler use is not part of the official supported list. To use at your own risk.

@ChrisThrasher
Copy link
Member

master...unrecognized-compilers

I wrote up a quick patch to relax this constraint. This will allow users to at least attempt to use the Intel compilers.

@ChrisThrasher
Copy link
Member

#2585

I went ahead and made a PR for this since it's worth doing even if it doesn't entirely fix these Intel compiler problems.

@ChrisThrasher
Copy link
Member

I think #2585 sufficiently addresses this so I'm going to close this issue. Thanks for the bug report! Please let us know if you run into any more issues using Intel compilers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants