| ### :link: Artifact Links | |
| ```sh | |
| # Compiler and host tools archive: | |
| export BUILD_DIR_URL="${BUILD_DIR_GCS_ARTIFACT}" | |
| # Directory of e2e test artifacts: | |
| export E2E_TEST_ARTIFACTS_DIR_URL="${E2E_TEST_ARTIFACTS_GCS_ARTIFACT_DIR}" | |
| # Directory of benchmark tool binaries: | |
| export BENCHMARK_TOOLS_DIR_URL="${BENCHMARK_TOOLS_GCS_ARTIFACT_DIR}" | |
| # Directory of execution benchmark results and traces: | |
| export EXECUTION_BENCHMARK_RESULTS_DIR_URL="${EXECUTION_BENCHMARK_RESULTS_GCS_ARTIFACT_DIR}" | |
| # Compilation benchmark results: | |
| export COMPILATION_BENCHMARK_RESULTS_URL="${COMPILATION_BENCHMARK_RESULTS_GCS_ARTIFACT}" | |
| ``` | |
| You can list `gs://` directories and download files with [gcloud cli]( | |
| https://cloud.google.com/sdk/gcloud/reference/storage). | |
| <details> | |
| <summary>Click to show common usages</summary> | |
| ```sh | |
| # Get compile and run flags of benchmarks | |
| gcloud storage cp -r "${E2E_TEST_ARTIFACTS_GCS_ARTIFACT_DIR}/benchmark-flag-dump.txt" /tmp/ | |
| ``` | |
| ```sh | |
| # Download all artifacts | |
| mkdir /tmp/iree_e2e_test_artifacts | |
| gcloud storage cp -r "${E2E_TEST_ARTIFACTS_GCS_ARTIFACT_DIR}/*" /tmp/iree_e2e_test_artifacts | |
| ``` | |
| ```sh | |
| # Download execution benchmark results and traces | |
| mkdir /tmp/iree_benchmark_results | |
| gcloud storage cp -r "${EXECUTION_BENCHMARK_RESULTS_GCS_ARTIFACT_DIR}/*" /tmp/iree_benchmark_results | |
| ``` | |
| </details> | |
| To run benchmarks locally with the CI-built e2e test artifacts, see [IREE Benchmark Suites]( | |
| https://github.com/${GITHUB_REPOSITORY}/blob/main/docs/developers/developing_iree/benchmark_suites.md#3-fetch-the-benchmark-artifacts). |