Skip to content

Merge from GO #448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions script/app-mlperf-inference/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1820,6 +1820,8 @@ variations:
nvidia-inference-server:
version: r4.1
tags: _go
nvidia-harness:
tags: _v4.0
intel-harness:
tags: _v4.1
nvidia-scratch-space:
Expand All @@ -1841,6 +1843,8 @@ variations:
nvidia-inference-server:
version: r4.0
tags: _mlcommons
nvidia-harness:
tags: _v4.0
intel-harness:
tags: _v4.1
inference-src:
Expand All @@ -1862,6 +1866,8 @@ variations:
nvidia-inference-server:
version: r5.0
tags: _mlcommons
nvidia-harness:
tags: _v5.0
intel-harness:
tags: _v4.1
inference-src:
Expand Down
4 changes: 2 additions & 2 deletions script/detect-sudo/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def preprocess(i):
env['MLC_SUDO'] = '' # root user does not need sudo
env['MLC_SUDO_USER'] = "yes"
else:
if can_execute_sudo_without_password(
logger) or prompt_sudo(logger) == 0:
if not is_true(env.get('MLC_SKIP_SUDO')) and (can_execute_sudo_without_password(
logger) or prompt_sudo(logger) == 0):
env['MLC_SUDO_USER'] = "yes"
env['MLC_SUDO'] = 'sudo'

Expand Down
3 changes: 3 additions & 0 deletions script/get-generic-sys-util/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,9 @@ variations:
postfix:
env:
MLC_SYS_UTIL_NAME: postfix
MLC_SYS_UTIL_VERSION_CMD: postconf mail_version
MLC_SYS_UTIL_VERSION_RE: mail_version = \b(\d+\.\d+(?:\.\d+)?)\b
MLC_TMP_VERSION_DETECT_GROUP_NUMBER: 1
new_env_keys:
- MLC_POSTFIX_VERSION
state:
Expand Down
14 changes: 14 additions & 0 deletions script/get-llvm/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ prehook_deps:
- 'yes'
names: llvm-install
reuse_version: true
inherit_variation_tags: true
skip_inherit_variation_groups:
- install-src
tags: install,llvm
sort: 100
tags:
Expand All @@ -39,13 +42,24 @@ tags:
uid: 99832a103ed04eb8
variations:
from-prebuilt:
group: install-src
default: true
ad:
llvm-install:
tags: prebuilt
from-src:
group: install-src
ad:
llvm-install:
tags: src,_clang
path.#:
env:
MLC_LLVM_DIR_PATH: '#'
release: {}
version.#: {}
branch.#: {}
runtimes.#: {}
flang: {}
sha.#: {}
tag.#: {}

Loading