| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
misc: Run pre-commit run on all files in repo The following command was run: pre-commit run --all-files This ensures all the files in the repository are formatted to pass our checks. Change-Id: Ia2fe3529a50ad925d1076a612d60a4280adc40de Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62572 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> | 3 年前 | |
scons: Use relative paths in codegen to improve build caching (#1975) The gem5 codegen for params, python wrappers, ruby classes etc embeds the absolute path of the codegen script as a comment in the generated code. This is bad news if you happen to have multiple similar checkouts of gem5 in diferent directories and are using ccache as a frontend to your C++ compiler to provide an extra layer of caching across workspaces. (This is something that could easily occur in a CI system too). Even though they're only comments, the differing strings in the generated code will dramatically reduce the hit rate on this shared build cache. Use workspace-relative paths for all the header files to stop everything that transitively #include-s them from missing the build cache. This changes, eg /** * DO NOT EDIT THIS FILE! * File automatically generated by * /home/gem5-dev/gem5/build_tools/sim_object_param_struct_cc.py:295 */ to /** * DO NOT EDIT THIS FILE! * File automatically generated by * build_tools/sim_object_param_struct_cc.py:295 */ Unfortunately, the EmbeddedPython data in the .py.cc bindings require absolute path strings in them, so we can't remove those, but those paths affect a more limited set of object files so this still a big improvement for cross-workspace cacheability. Change-Id: I516adb19a0792c10943b3e410a1835a01ec7589a | 1 年前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 | |
misc,python: Run pre-commit run --all-files Applies the pyupgrade hook to all files in the repo. Change-Id: I9879c634a65c5fcaa9567c63bc5977ff97d5d3bf | 2 年前 | |
misc,python: Run pre-commit run --all-files Applies the pyupgrade hook to all files in the repo. Change-Id: I9879c634a65c5fcaa9567c63bc5977ff97d5d3bf | 2 年前 | |
scons: Add a build script for generating a root Kconfig file. This root Kconfig file "source"s (includes) the base gem5 src/Kconfig file, and also any optional Kconfig files found in the base of EXTRAS directories. These will be called out in the menuconfig interface and config files with the name of the EXTRAS directory they came from, and a blank section will be present either if the Kconfig didn't exist, or it did exist but had no options in it. Change-Id: I54060d613f0e0ab9372bed37a2fe5849bf5bbcdb | 2 年前 | |
misc,python: Run pre-commit run --all-files Applies the pyupgrade hook to all files in the repo. Change-Id: I9879c634a65c5fcaa9567c63bc5977ff97d5d3bf | 2 年前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 | |
scons: Update build_tools to enable importing (#2409) This updates the scripts in build_tools to use if __name__=="__main__". It factors out the main functions to allow them to be used from other scripts. The purpose is to enable code sharing in the case we're not using the importer. Signed-off-by: Jason Lowe-Power <jlowepower@google.com> Co-authored-by: Jason Lowe-Power <jlowepower@google.com> | 11 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 11 个月前 |