-
Notifications
You must be signed in to change notification settings - Fork 102
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
Remove remnants of RAJA module usage #1150
Comments
@rhornung67 David made the point that since the ENABLE_MODULES flag never worked in RAJA develop, nobody was really using it anyways. The cmake prefix PR exposed this bug and took out the modules option, but just in case anybody does try to use the new version of that flag, RAJA_ENABLE_MODULES, it gives the deprecated warning and a message that the "-fmodules" flag could be added manually. RAJA/cmake/SetupCompilers.cmake Lines 12 to 15 in 39703eb
|
One note though - maybe we should remove the module map file stuff after next release (so maybe there is something to do for this issue - almost forgot about that). |
We need to rip this stuff out. |
@kab163 this can be closed, right? |
yes! |
Fixed with #1592 |
After reviewing PR #1119, we discovered that the -fmodules flag was never actually being used. Although a user could turn on ENABLE_MODULES, the if statement in SetUpCompiler.cmake only checked a non-existent "RAJA_ENABLE_MODULES" option, making the if statement never evaluate to true and the -fmodules flag was never used. However, PR #1119 created a RAJA_ENABLE_MODULES option, and we discovered this broke the RAJA build.
That option was subsequently taken out of the PR branch, but we should document in the user guide how to enable the modules for CMake and regular make based build systems. This should be done for the next release.
The text was updated successfully, but these errors were encountered: