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

Failure compiling on windows with Intel OneAPI #608

Open
byrnHDF opened this issue May 13, 2024 · 2 comments
Open

Failure compiling on windows with Intel OneAPI #608

byrnHDF opened this issue May 13, 2024 · 2 comments

Comments

@byrnHDF
Copy link

byrnHDF commented May 13, 2024

D:\a\hdf5\hdf5\build\ci-StdShar-Intel_deps\blosc2-src\blosc\directories.c(65,5): error: call to undeclared function 'rmdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
rmdir(dir_path);

Adding -Wno-implicit-function-declaration then causes a failure with linking because __cpu_mod is undefined in shuffle.c/blosc_get_cpu_features()

IntelOneAPI is available to use in github CI runners.

@FrancescAlted
Copy link
Member

Hi @byrnHDF ! We would be happy to fix this. Would you mind to send a PR?

@byrnHDF
Copy link
Author

byrnHDF commented May 14, 2024

Not sure how to fix the failure - but Intel OneAPI is LLVM based and CMake identifies it as IntelLLVM.
HDF5 workflows use OneAPI for both CMake and autotools, see the intel-*.yml files for our steps.
The main step is:
- name: Install oneAPI (Linux) uses: fortran-lang/setup-fortran@v1 id: setup-fortran with: compiler: intel version: '2024.1'

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

2 participants