Skip to content

Commit

Permalink
${{ if or(contains(parameters.EP_BUILD_FLAGS, 'use_cuda'), contains(…
Browse files Browse the repository at this point in the history
…parameters.EP_BUILD_FLAGS, 'use_tensorrt')) }}:
  • Loading branch information
jchen351 committed Nov 15, 2023
1 parent 4d7846f commit 38fa4ab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ jobs:
- template: jobs/set-winenv.yml
parameters:
EnvSetupScript: ${{ parameters.ENV_SETUP_SCRIPT }}
${{ if contains(parameters.EP_BUILD_FLAGS, 'use_cuda') }}:
${{ if or(contains(parameters.EP_BUILD_FLAGS, 'use_cuda'), contains(parameters.EP_BUILD_FLAGS, 'use_tensorrt')) }}:
DownloadCUDA: true

- ${{ if eq(parameters.ENV_SETUP_SCRIPT, '') }}:
- template: jobs/download_win_gpu_library.yml
parameters:
CudaVersion: ${{ parameters.CudaVersion }}
${{ if contains(parameters.EP_BUILD_FLAGS, 'use_cuda') }}:
${{ if or(contains(parameters.EP_BUILD_FLAGS, 'use_cuda'), contains(parameters.EP_BUILD_FLAGS, 'use_tensorrt')) }}:
DownloadCUDA: true
${{ if contains(parameters.EP_BUILD_FLAGS, 'use_tensorrt') }}:
DownloadCUDA: true
DownloadTRT: true

- task: PythonScript@0
displayName: 'Update deps.txt'
inputs:
Expand Down

0 comments on commit 38fa4ab

Please sign in to comment.