hipfort icon indicating copy to clipboard operation
hipfort copied to clipboard

[Issue]: Incorrect CMAKE_BUILD_TYPE check

Open trixirt opened this issue 3 months ago • 2 comments

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

trixirt avatar Sep 21 '25 21:09 trixirt

Honestly, that whole section should probably be deleted.

cgmb avatar Sep 23 '25 17:09 cgmb

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

trixirt avatar Sep 23 '25 18:09 trixirt