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

Add CMake Integration tests #2247

Open
SimeonEhrig opened this issue Mar 9, 2024 · 0 comments
Open

Add CMake Integration tests #2247

SimeonEhrig opened this issue Mar 9, 2024 · 0 comments
Milestone

Comments

@SimeonEhrig
Copy link
Member

I found played around with Unix IPC sockets this week and used the library therefore: https://github.com/fpagliughi/sockpp

Using the library via find_package works without problem. If I use the FetchContent from CMake, the CMake target does not provide the path of the include folder. I think the problem is caused by a missing INTERFACE target library. Long story short, if one method to integrate alpaka in the CMake project is working, it does not mean that the other methods also works. Therefore we should implement CMake integration tests, where an external Project uses alpaka via the following CMake methods:

  • find_package()
  • add_subdirectory()
  • FetchContent_Declare() and FetchContent_MakeAvailable()

I did it already for vikunja: https://github.com/alpaka-group/vikunja/blob/9613b24ef5f9e0d66ef6d33e1781700c38d6f56c/ci/gitlab_scripts/integration_test/addsubdirectory.cmake#L47

@SimeonEhrig SimeonEhrig added this to the 1.2.0 milestone Mar 9, 2024
@SimeonEhrig SimeonEhrig modified the milestones: 1.2.0, 2.0.0 Sep 30, 2024
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

1 participant