You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The --newline, -n option seems a bit useless then. But the issue we have is with legacy autotools build system where FLAGS="$(hipconfig --cpp_config) $FLAGS in configure.ac would generate a Makefile with a newline between the output of hipconfig and $FLAGS, leading to Makefile syntax errors.
The text was updated successfully, but these errors were encountered:
Hi @dindon-sournois, thanks for reporting this issue. This is a known issue that has been resolved internally, but the fix is not available yet (targeted for ROCm 6.2). The user reporting this issue worked around it by trimming the newline off the output themselves; quoting the user, "My workaround was something like export CXXFLAGS="$(hipconfig -C | tr -d '\n')".
As this has been addressed internally, I'll be closing this issue.
The hipconfig from version 5.7 automatically adds a newline which wasn't here from previous hipcc version:
The
--newline, -n
option seems a bit useless then. But the issue we have is with legacy autotools build system whereFLAGS="$(hipconfig --cpp_config) $FLAGS
in configure.ac would generate a Makefile with a newline between the output of hipconfig and $FLAGS, leading to Makefile syntax errors.The text was updated successfully, but these errors were encountered: