Skip to content
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

sel4bench-web: adjust for website update #344

Merged
merged 1 commit into from
Mar 20, 2024
Merged
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
13 changes: 7 additions & 6 deletions sel4bench/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,12 @@ def gen_web(runs: List[Run], yml, file_name: str):
]

with open(file_name, 'w') as f:
f.write('<!-- <title>seL4 benchmarks</title> -->\n')
f.write('<!--\n')
f.write('Copyright 2021 seL4 Project a Series of LF Projects, LLC.\n')
f.write('SPDX-License-Identifier: CC-BY-SA-4.0\n')
f.write('-->\n\n')
f.write('---')
f.write('# Copyright 2021 seL4 Project a Series of LF Projects, LLC.')
f.write('# SPDX-License-Identifier: CC-BY-SA-4.0')
f.write('title: seL4 benchmarks')
f.write('redirect_from: /About/Performance/home.pml')
f.write('---')

f.write('<h1>Performance</h1>\n')
f.write('<p>This page displays the latest benchmark numbers for seL4 from the publicly\n')
Expand Down Expand Up @@ -378,7 +379,7 @@ def gen_web(runs: List[Run], yml, file_name: str):
sys.exit(0)

if len(sys.argv) > 1 and sys.argv[1] == '--web':
gen_web(make_runs(builds), yml, "home.pml")
gen_web(make_runs(builds), yml, "index.html")
sys.exit(0)

sys.exit(run_builds(builds, hw_build))