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

cmathcalls.h and sycl/builtins.hpp incompatibility - can't build #386

Open
jackpap opened this issue Sep 26, 2023 · 0 comments
Open

cmathcalls.h and sycl/builtins.hpp incompatibility - can't build #386

jackpap opened this issue Sep 26, 2023 · 0 comments

Comments

@jackpap
Copy link

jackpap commented Sep 26, 2023

Summary

While compiling oneMKL using oneapi 2023.2.1 (installed through intel repos) I get the following clash with glibc-devel (version 2.31-150300.52.2) on OpenSUSE Leap 15.5

/usr/include/bits/cmathcalls.h:62:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (ccos, (Mdouble_complex __z));
^
/opt/intel/oneapi/compiler/2023.2.1/linux/bin-llvm/../include/sycl/builtins.hpp:3375:49: note: previous declaration is here
extern __DPCPP_SYCL_EXTERNAL double complex ccos(double complex z);

Version

oneMKL develop branch - fefa011

I attach my CMakeCache.txt in case I did something stupid...
CMakeCache.txt

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

No branches or pull requests

1 participant