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:
committed by
GitHub
parent
3faf36fb25
commit
bc5d48e76c
@@ -54,10 +54,10 @@ function( get_path LIB CACHED_PATH HELP )
|
||||
find_file( FULLPATH NAMES ${ARGS_NAMES} HINTS ${${CACHED_PATH}} ${ARGS_HINTS} )
|
||||
endif()
|
||||
set( RESULT (NOT ${FULLPATH} MATCHES NOTFOUND) )
|
||||
|
||||
|
||||
# Extract path
|
||||
get_filename_component ( DIRPATH ${FULLPATH} DIRECTORY )
|
||||
|
||||
|
||||
# Check path against cache
|
||||
if( NOT "${${CACHED_PATH}}" STREQUAL "" )
|
||||
if ( NOT "${${CACHED_PATH}}" STREQUAL "${DIRPATH}" )
|
||||
|
||||
Reference in New Issue
Block a user