Skip to content

Conversation

@prateekchawla168
Copy link
Contributor

Fixes #2777

Added code in CMakeLists.txt to check if the rajaperf submodule has been checked out.

If the compile-time flag -DKokkosKernels_ENABLE_TESTS_AND_PERFSUITE=ON is set and the submodule does not exist, the flag is switched off, and the user is informed to run git submodule update --init --recursive to download the submodule first. The compilation is allowed to proceed so the build does not fail.

Signed-off-by: Prateek Chawla <p.chawla@fz-juelich.dels>
@lucbv
Copy link
Contributor

lucbv commented Sep 18, 2025

@prateekchawla168 the raja perf tests support was experimental and never got to a stable stage, we should really just remove it actually. Now we are using google perf test and CMake should pull that in automatically for you, we have two associated flags to build and run the tests.

@prateekchawla168
Copy link
Contributor Author

I see, that makes sense. In that case it may be a good idea to remove this flag entirely, else the build still fails in case a user decides to think of using a single flag to activate both tests and the perf suite at the same time.

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.

Build fails without manual installation of rajaperf

2 participants