Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #101 from ROCm-Developer-Tools/kzhuravl/fix-exclud…
Browse files Browse the repository at this point in the history
…e-pat

Exclude .bat only on non-windows oses
  • Loading branch information
kzhuravl authored Jun 30, 2023
2 parents 69d579e + e3ea1a4 commit 70f36cb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions hipcc-backward-compat.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ endfunction()
# Create symlink to binaries
create_binary_symlink()
# TODO: Following has to modified if component based installation is required
install(DIRECTORY ${HIPCC_WRAPPER_BIN_DIR} DESTINATION hip
FILES_MATCHING
PATTERN "*"
PATTERN ${exclusion_pattern} EXCLUDE )
if (NOT WIN32)
install(DIRECTORY ${HIPCC_WRAPPER_BIN_DIR} DESTINATION hip)
else()
install(DIRECTORY ${HIPCC_WRAPPER_BIN_DIR} DESTINATION hip
FILES_MATCHING
PATTERN "*"
PATTERN "*.bat" EXCLUDE )
endif()

0 comments on commit 70f36cb

Please sign in to comment.