• Gabe Black's avatar
    ext: Revamp the systemc SConscripts. · 6e8b0f65
    Gabe Black authored
    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
    Reviewed-on: https://gem5-review.googlesource.com/3461Reviewed-by: 's avatarMatthias Jung <jungma@eit.uni-kl.de>
    Reviewed-by: 's avatarChristian Menard <christian.menard@tu-dresden.de>
    Reviewed-by: 's avatarJason Lowe-Power <jason@lowepower.com>
    Maintainer: Jason Lowe-Power <jason@lowepower.com>
    6e8b0f65
Name
Last commit
Last update
..
dnet Loading commit data...
drampower Loading commit data...
dramsim2 Loading commit data...
dsent Loading commit data...
fputils Loading commit data...
iostream3 Loading commit data...
libelf Loading commit data...
libfdt Loading commit data...
mcpat Loading commit data...
nomali Loading commit data...
ply Loading commit data...
pybind11 Loading commit data...
sst Loading commit data...
systemc Loading commit data...
x11keysym Loading commit data...
git-commit-msg Loading commit data...