Run pre-commit's whitespace related hooks on projects/rocr-runtime (#2130)

* Run pre-commit's whitespace related hooks on projects/rocr-runtime

In order for pre-commit to be useful, everything needs to meet a common
baseline.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>

* Add missing semicolon which would block compilation on big endian CPUs

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>

---------

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
This commit is contained in:
Mario Limonciello
2025-12-08 07:56:50 -06:00
committed by GitHub
parent 3faf36fb25
commit bc5d48e76c
60 changed files with 300 additions and 303 deletions
@@ -59,7 +59,7 @@ set( PACKAGE_VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.
set ( CPACK_GENERATOR "DEB;RPM" CACHE STRING "Package types to build")
set ( PACKAGE_DIRECTORIES "hsa/lib")
add_custom_command ( OUTPUT ${PACKAGE_DIRECTORIES} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E make_directory "hsa/lib" )
add_custom_command ( OUTPUT ${PACKAGE_DIRECTORIES} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${CMAKE_COMMAND} -E make_directory "hsa/lib" )
add_custom_target (create_dirs DEPENDS ${PACKAGE_DIRECTORIES} )
set ( TOOLS_NAME "libhsa-runtime-tools64" )