Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
1b125004
Unverified
Commit
1b125004
authored
Aug 21, 2025
by
youkaichao
Committed by
GitHub
Aug 20, 2025
Browse files
[misc] fix multiple arch wheels for the nightly index (#23110)
Signed-off-by:
youkaichao
<
youkaichao@gmail.com
>
parent
4fbda0b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
.buildkite/generate_index.py
.buildkite/generate_index.py
+16
-2
No files found.
.buildkite/generate_index.py
View file @
1b125004
...
...
@@ -8,7 +8,8 @@ template = """<!DOCTYPE html>
<html>
<body>
<h1>Links for vLLM</h1/>
<a href="../{wheel_html_escaped}">{wheel}</a><br/>
<a href="../{x86_wheel_html_escaped}">{x86_wheel}</a><br/>
<a href="../{arm_wheel_html_escaped}">{arm_wheel}</a><br/>
</body>
</html>
"""
...
...
@@ -21,7 +22,20 @@ filename = os.path.basename(args.wheel)
with
open
(
"index.html"
,
"w"
)
as
f
:
print
(
f
"Generated index.html for
{
args
.
wheel
}
"
)
if
"x86_64"
in
filename
:
x86_wheel
=
filename
arm_wheel
=
filename
.
replace
(
"x86_64"
,
"aarch64"
)
elif
"aarch64"
in
filename
:
x86_wheel
=
filename
.
replace
(
"aarch64"
,
"x86_64"
)
arm_wheel
=
filename
else
:
raise
ValueError
(
f
"Unsupported wheel:
{
filename
}
"
)
# cloudfront requires escaping the '+' character
f
.
write
(
template
.
format
(
wheel
=
filename
,
wheel_html_escaped
=
filename
.
replace
(
"+"
,
"%2B"
))
template
.
format
(
x86_wheel
=
x86_wheel
,
x86_wheel_html_escaped
=
x86_wheel
.
replace
(
"+"
,
"%2B"
),
arm_wheel
=
arm_wheel
,
arm_wheel_html_escaped
=
arm_wheel
.
replace
(
"+"
,
"%2B"
),
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment