-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1485 from firesim/main
Bump `stable` branch
- Loading branch information
Showing
564 changed files
with
20,369 additions
and
14,284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
Checks: > | ||
-*, | ||
clang-diagnostic-*, | ||
misc-*, | ||
-misc-const-correctness, | ||
-misc-unused-parameters, | ||
-misc-non-private-member-variables-in-classes, | ||
bugprone-argument-comment, | ||
bugprone-assert-side-effect, | ||
bugprone-branch-clone, | ||
bugprone-copy-constructor-init, | ||
bugprone-dangling-handle, | ||
bugprone-dynamic-static-initializers, | ||
bugprone-macro-parentheses, | ||
bugprone-macro-repeated-side-effects, | ||
bugprone-misplaced-widening-cast, | ||
bugprone-move-forwarding-reference, | ||
bugprone-multiple-statement-macro, | ||
bugprone-suspicious-semicolon, | ||
bugprone-swapped-arguments, | ||
bugprone-terminating-continue, | ||
bugprone-unused-raii, | ||
bugprone-unused-return-value, | ||
modernize-use-bool-literals, | ||
modernize-loop-convert, | ||
modernize-make-unique, | ||
modernize-raw-string-literal, | ||
modernize-use-equals-default, | ||
modernize-use-default-member-init, | ||
modernize-use-emplace, | ||
modernize-use-nullptr, | ||
modernize-use-override, | ||
modernize-use-using, | ||
performance-for-range-copy, | ||
performance-implicit-conversion-in-loop, | ||
performance-inefficient-algorithm, | ||
performance-inefficient-vector-operation, | ||
performance-no-automatic-move, | ||
performance-trivially-destructible, | ||
performance-move-const-arg, | ||
performance-unnecessary-copy-initialization, | ||
performance-unnecessary-value-param, | ||
#readability-identifier-naming, | ||
readability-avoid-const-params-in-decls, | ||
readability-const-return-type, | ||
readability-inconsistent-declaration-parameter-name, | ||
readability-container-size-empty, | ||
readability-misleading-indentation, | ||
readability-redundant-control-flow, | ||
readability-redundant-smartptr-get, | ||
readability-simplify-boolean-expr, | ||
readability-simplify-subscript-expr, | ||
readability-use-anyofallof | ||
WarningsAsErrors: '*' | ||
CheckOptions: | ||
- key: readability-identifier-naming.ClassCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.EnumCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.FunctionCase | ||
value: camelBack | ||
- key: readability-identifier-naming.MemberCase | ||
value: camelBack | ||
- key: readability-identifier-naming.ParameterCase | ||
value: camelBack | ||
- key: readability-identifier-naming.UnionCase | ||
value: CamelCase | ||
- key: readability-identifier-naming.VariableCase | ||
value: camelBack | ||
- key: readability-identifier-naming.IgnoreMainLikeFunctions | ||
value: 1 | ||
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors | ||
value: 1 | ||
- key: modernize-use-default-member-init.UseAssignment | ||
value: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from fabric.api import prefix, run, execute # type: ignore | ||
|
||
from ci_variables import ci_env | ||
|
||
def build_vitis_driver(): | ||
"""Runs compilation of Vitis driver for the make-default tuple""" | ||
|
||
# assumptions: | ||
# - the firesim repo is already setup in a prior script | ||
# - machine-launch-script requirements are already installed | ||
|
||
with prefix(f"cd {ci_env['GITHUB_WORKSPACE']}"): | ||
with prefix('source sourceme-f1-manager.sh --skip-ssh-setup'): | ||
with prefix("cd ./sim"): | ||
run("make PLATFORM=vitis vitis") | ||
|
||
if __name__ == "__main__": | ||
execute(build_vitis_driver, hosts=["localhost"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
from fabric.api import prefix, run, settings, execute # type: ignore | ||
|
||
from ci_variables import ci_env | ||
|
||
def run_docs_generated_components_check(): | ||
""" Runs checks to make sure generated components of vitis docs have been | ||
updated. """ | ||
|
||
# assumptions: | ||
# - machine-launch-script requirements are already installed | ||
# - XILINX_VITIS, XILINX_XRT, XILINX_VIVADO are setup (in env / LD_LIBRARY_PATH / path / etc) | ||
|
||
# repo should already be checked out | ||
|
||
with prefix(f"cd {ci_env['GITHUB_WORKSPACE']}"): | ||
run("./build-setup.sh --skip-validate") | ||
with prefix('source sourceme-f1-manager.sh --skip-ssh-setup'): | ||
run("firesim managerinit --platform vitis") | ||
with prefix("cd deploy"): | ||
run("cat config_runtime.yaml") | ||
run("cat ../docs/Running-OnPrem-Simulations-Tutorial/DOCS_EXAMPLE_config_runtime.yaml") | ||
run("diff config_runtime.yaml ../docs/Running-OnPrem-Simulations-Tutorial/DOCS_EXAMPLE_config_runtime.yaml") | ||
|
||
if __name__ == "__main__": | ||
execute(run_docs_generated_components_check, hosts=["localhost"]) |
Oops, something went wrong.