commit | 4f987ff52d5c3e35b4fd9d9707ca80653154b2df | [log] [tgz] |
---|---|---|
author | Gabe Black <gabe.black@gmail.com> | Sat Dec 11 05:44:56 2021 -0800 |
committer | Bobby Bruce <bbruce@ucdavis.edu> | Thu Dec 16 01:57:26 2021 +0000 |
tree | 3ab2393835f726b518dfefa48916fa78dd20f61c | |
parent | 2a5f2ef55a5b3a2417d16c9f022eab17c92ad691 [diff] |
python: Add a mechanism for installing pybind modules. pybind provides a mechanism for this already, but it assumes that because it works through static initializers, it must run before the python interpreter has started. That is not true when gem5 is built as a library, since its static intitializers won't run until that library is loaded. Change-Id: I6f36c5f3831dda893039b4923902e9ce46a91808 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/54003 Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/54263