Skip to content

Fix build errors and improve CI config #42

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

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

rafbiels
Copy link
Collaborator

@rafbiels rafbiels commented Mar 7, 2025

  1. Fix -Wmissing-template-arg-list-after-template-kw compilation errors in nbody and fluid demos.
  2. Fix sycl-ls regex in ConfigureSYCL.cmake following the removal of "ext_oneapi" from backend names.
  3. Update ConfigureSYCL.cmake default CUDA and HIP arch to the oldest supported by oneAPI 2025.0.
  4. Improve OpenMP CMake test in matrix_multiply_omp_compare sample. Previously it assumed all clang++ drivers support -fopenmp. This is only true in the oneAPI base toolkit version, but the open-source DPC++ nightly releases are built without libomp.so and linking with -fopenmp fails. Use try_compile to figure out if -fopenmp works.
  5. Add a warning suppresion file to suppress CI build failures in external code from submodules.
  6. Update the CI container with newer versions of CUDA and ROCm, and use a recent DPC++ open-source nightly instead of a oneAPI Toolkit release.
  7. Restore CI workflow's permission to push containers to registry.
  8. Use fork owner's container registry in pull request CI (still didn't work due to lack of permission).

@rafbiels
Copy link
Collaborator Author

rafbiels commented Mar 7, 2025

FWIW CI passes on my fork: https://github.com/rafbiels/SYCL-samples/actions/runs/13719491952

Will look into the container registry permissions in the meantime.

@rafbiels rafbiels force-pushed the fix-build branch 8 times, most recently from 9105b3f to b9c9afc Compare March 7, 2025 16:04
* Fix -Wmissing-template-arg-list-after-template-kw compilation errors in nbody and fluid demos.
* Fix sycl-ls regex in ConfigureSYCL.cmake following the removal of "ext_oneapi" from backend names.
* Update ConfigureSYCL.cmake default CUDA and HIP arch to the oldest supported by oneAPI 2025.0.
* Improve OpenMP CMake test in matrix_multiply_omp_compare sample. Previously it assumed all clang++ drivers support -fopenmp. This is only true in the oneAPI base toolkit version, but the open-source DPC++ nightly releases are built without libomp.so and linking with -fopenmp fails. Use try_compile to figure out if -fopenmp works.
* Add a warning suppresion file to suppress CI build failures in external code from submodules.
* Update the CI container with newer versions of CUDA and ROCm, and use a recent DPC++ open-source nightly instead of a oneAPI Toolkit release.
* Restore CI workflow's permission to push containers to registry.
* Do not push to registry in pull-request CI (not allowed in GitHub). Instead, push the image to a local registry and use that to build the code. Push to registry only in CI triggered by branch push.
@DuncanMcBain DuncanMcBain merged commit 73bdd25 into codeplaysoftware:main Mar 7, 2025
5 of 6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants