Hello Jason Lowe-Power, Matthias Jung, Andreas Sandberg, Christian Menard,
I'd like you to reexamine a change. Please visit
https://gem5-review.googlesource.com/3461
to look at the new patch set (#5).
Change subject: ext: Revamp the systemc SConscripts.
......................................................................
ext: Revamp the systemc SConscripts.
The existing scripts were including pthread code and QT code at the same
time, and also insisting on an having a set of architecture specific
source files for whatever the current architecture is.
This change selects using either QT or pthreads based on the host
architecture, distributes accumulating source files, list source files
explicitly (to avoid including redundant coroutine libraries) and makes
scons insist on an architecture specific QT implementation only if QT is
being used. It also defines a preprocessor symbol which tells some headers
whether or not pthreads are being used, and also clones the scons
environment to avoid leaking flags into the main environment used to
compile gem5 itself.
If the host architecture isn't supported by systemc, a warning will be
printed, and the various build products and SConscript files will be
skipped over.
Change-Id: I1a40123a11e49e02922a054f093246cf197087bf
---
M ext/systemc/SConscript
A ext/systemc/src/sysc/communication/SConscript.sc
A ext/systemc/src/sysc/datatypes/bit/SConscript.sc
A ext/systemc/src/sysc/datatypes/fx/SConscript.sc
A ext/systemc/src/sysc/datatypes/int/SConscript.sc
A ext/systemc/src/sysc/datatypes/misc/SConscript.sc
A ext/systemc/src/sysc/kernel/SConscript.sc
A ext/systemc/src/sysc/qt/SConscript.sc
A ext/systemc/src/sysc/tracing/SConscript.sc
A ext/systemc/src/sysc/utils/SConscript.sc
10 files changed, 411 insertions(+), 26 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/3461
To unsubscribe, visit https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1a40123a11e49e02922a054f093246cf197087bf
Gerrit-Change-Number: 3461
Gerrit-PatchSet: 5
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Christian Menard <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Matthias Jung <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev