Skip to content

Commit

Permalink
Correct bugs found in CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmaynard committed Jul 22, 2024
1 parent f73b209 commit 899a6ad
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions testing/cpm/cpm_nvcomp-proprietary_binary-lib-location.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ endif()
# every line containing "_IMPORT_PREFIX" also contains "lib64"
set(nvcomp_list_of_target_files
"nvcomp-targets-common-release.cmake"
"nvcomp-targets-common.cmake"
"nvcomp-targets-dynamic-release.cmake"
"nvcomp-targets-dynamic.cmake"
"nvcomp-targets-static-release.cmake"
"nvcomp-targets-static.cmake")
"nvcomp-targets-static-release.cmake")
foreach(filename IN LISTS nvcomp_list_of_target_files)
file(STRINGS "${CMAKE_CURRENT_BINARY_DIR}/_deps/nvcomp_proprietary_binary-src/lib64/cmake/nvcomp/${filename}" nvcomp_targets_release_contents)
foreach(line IN LISTS nvcomp_targets_release_contents)
Expand All @@ -49,7 +46,7 @@ foreach(filename IN LISTS nvcomp_list_of_target_files)
endif()
string(FIND "${line}" "lib64" _LIB64_INDEX)
if(_LIB64_INDEX EQUAL -1)
message(FATAL_ERROR "nvcomp-targets-release.cmake file does not contain lib64")
message(FATAL_ERROR "${filename} file does not contain lib64")
endif()
endforeach()
endforeach()
Expand Down

0 comments on commit 899a6ad

Please sign in to comment.