hipfort
hipfort copied to clipboard
[Issue]: Incorrect CMAKE_BUILD_TYPE check
Problem Description
There is an issue with this check. https://github.com/ROCm/hipfort/blob/develop/cmake/Modules/SetFortranFlags.cmake#L10
The default build type for in-box Fedora/EPEL packaging is RelWithDebInfo. This check fails in error.
Operating System
Fedora 44
CPU
ALL
GPU
ALL
ROCm Version
ROCm 7.0.1
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
Honestly, that whole section should probably be deleted.
In fedora it is, here is the in-box patch. https://src.fedoraproject.org/rpms/hipfort/blob/rawhide/f/0001-hipfort-remove-build-type-check.patch