Skip to content

Commit 86dbf9b

Browse files
authored
Support --pull_changes option for install-gcc, install-llvm (#805)
1 parent b088aed commit 86dbf9b

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

script/README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MLCommons Automation Scripts
22

3-
*Last updated: 2026-01-23 04:05:12*
3+
*Last updated: 2026-02-04 18:34:12*
44

55
This directory contains automation scripts for MLPerf benchmarks, AI/ML workflows, and development operations.
66

@@ -970,9 +970,18 @@ This directory contains automation scripts for MLPerf benchmarks, AI/ML workflow
970970
- **[get-dataset-mlperf-inference-dlrmv3-synthetic-streaming](get-dataset-mlperf-inference-dlrmv3-synthetic-streaming/)**
971971
- get-dataset-mlperf-inference-dlrmv3-synthetic-streaming
972972
- Tags: `get`, `dataset`, `mlperf`, `inference`, `dlrmv3`, `synthetic-streaming`, `get-dataset-mlperf-inference-dlrmv3-synthetic-streaming`
973+
- **[get-dataset-mlperf-inference-gpt-oss](get-dataset-mlperf-inference-gpt-oss/)**
974+
- get-dataset-mlperf-inference-gpt-oss
975+
- Tags: `get-dataset-mlperf-inference-gpt-oss`
973976
- **[get-dataset-mlperf-inference-llama3](get-dataset-mlperf-inference-llama3/)**
974977
- get-dataset-mlperf-inference-llama3
975978
- Tags: `get`, `dataset`, `mlperf`, `llama3`, `inference`
979+
- **[get-dataset-mlperf-inference-shopify-catalogue](get-dataset-mlperf-inference-shopify-catalogue/)**
980+
- get-dataset-mlperf-inference-shopify-catalogue
981+
- Tags: `get-dataset-mlperf-inference-shopify-catalogue`
982+
- **[get-dataset-mlperf-inference-text-to-video](get-dataset-mlperf-inference-text-to-video/)**
983+
- get-dataset-mlperf-inference-text-to-video
984+
- Tags: `get-dataset-mlperf-inference-text-to-video`
976985
- **[get-dataset-mlperf-inference-yolo-coco2017-filtered-dataset](get-dataset-mlperf-inference-yolo-coco2017-filtered-dataset/)**
977986
- get-dataset-mlperf-inference-yolo-coco2017-filtered-dataset
978987
- Tags: `get`, `dataset`, `mlperf-inference`, `yolo-coco2017-filtered`, `get-dataset-mlperf-inference-yolo-coco2017-filtered-dataset`
@@ -1012,6 +1021,15 @@ This directory contains automation scripts for MLPerf benchmarks, AI/ML workflow
10121021
- **[get-ml-model-pointpainting](get-ml-model-pointpainting/)** (alias: `get-ml-model-pointpillars`)
10131022
- get-ml-model-pointpainting
10141023
- Tags: `get`, `ml-model`, `ml`, `model`, `pointpainting`
1024+
- **[get-ml-model-qwen3-vlm](get-ml-model-qwen3-vlm/)**
1025+
- get-ml-model-qwen3-vlm
1026+
- Tags: `get-ml-model-qwen3-vl`
1027+
- **[get-ml-model-wan2](get-ml-model-wan2/)**
1028+
- get-ml-model-wan2
1029+
- Tags: `get-ml-model-wan2`
1030+
- **[get-ml-model-yolov11](get-ml-model-yolov11/)**
1031+
- get-ml-model-yolov11
1032+
- Tags: `get-ml-model-yolov11`
10151033
- **[get-mlperf-automotive-utils](get-mlperf-automotive-utils/)**
10161034
- get-mlperf-automotive-utils
10171035
- Tags: `get`, `mlperf`, `automotive`, `util`, `utils`, `functions`
@@ -1053,7 +1071,7 @@ This directory contains automation scripts for MLPerf benchmarks, AI/ML workflow
10531071

10541072
## Statistics
10551073

1056-
- **Total Scripts**: 308
1074+
- **Total Scripts**: 314
10571075
- **Categories**: 29
10581076

10591077
## Usage

script/install-gcc-src/meta.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,19 @@ deps:
2424
- MLC_GIT_CHECKOUT_SHA
2525
_tag.:
2626
- MLC_GIT_CHECKOUT_TAG
27+
- tags: pull,git,repo
28+
env:
29+
MLC_GIT_CHECKOUT_PATH: '<<<MLC_GCC_SRC_REPO_PATH>>>'
30+
enable_if_env:
31+
MLC_GCC_REPO_PULL_CHANGES:
32+
- 'yes'
33+
2734
input_mapping:
2835
targets: MLC_GCC_TARGET
2936
host: MLC_GCC_HOST
3037
build: MLC_GCC_BUILD
3138
extra: MLC_GCC_EXTRA_CONFIGURE_STRING
39+
pull_changes: MLC_GCC_REPO_PULL_CHANGES
3240

3341

3442
new_env_keys:

script/install-llvm-src/meta.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,21 @@ deps:
3636
- MLC_GIT_CHECKOUT_TAG
3737
_tag.llvmorg-:
3838
- MLC_VERSION
39+
- tags: pull,git,repo
40+
env:
41+
MLC_GIT_CHECKOUT_PATH: '<<<MLC_LLVM_SRC_REPO_PATH>>>'
42+
enable_if_env:
43+
MLC_LLVM_REPO_PULL_CHANGES:
44+
- 'yes'
45+
3946
input_mapping:
4047
targets: MLC_LLVM_TARGETS_TO_BUILD
4148
target_triple: MLC_LLVM_TARGET_TRIPLE
4249
extra_options: MLC_LLVM_EXTRA_CMAKE_OPTIONS
4350
per_target_runtime_dir: MLC_LLVM_PER_TARGET_RUNTIME_DIR
4451
clean: MLC_CLEAN
52+
pull_changes: MLC_LLVM_REPO_PULL_CHANGES
53+
4554
env:
4655
MLC_GIT_URL: https://github.com/llvm/llvm-project
4756
name: Build LLVM compiler from sources (can take >30 min)

0 commit comments

Comments
 (0)