Skip to content

Commit

Permalink
Fix cuda fetch script (iree-org#15011)
Browse files Browse the repository at this point in the history
Account for license files (in each component) being write-protected.
  • Loading branch information
kuhar authored Sep 26, 2023
1 parent de51b22 commit 85319c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build_tools/docker/context/fetch_cuda_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ for component in ${COMPONENTS[@]}; do
--os "$OS" \
--arch "$ARCH" \
--component "$component"

# Each component comes with a LICENSE file that we need to be able to
# overwrite.
chmod +w "${SRC_DIR}/LICENSE"
done

if ! [ -d "$SRC_DIR" ]; then
Expand Down

0 comments on commit 85319c8

Please sign in to comment.