systemc: remove boost header dependency
authorEarl Ou <shunhsingou@google.com>
Mon, 1 Feb 2021 09:49:18 +0000 (17:49 +0800)
committerEarl Ou <shunhsingou@google.com>
Tue, 2 Feb 2021 10:01:32 +0000 (10:01 +0000)
The current tests included don't require boost header to work. Remove
the dependency. This also gets rid of the warning message generated by
the latest boost headers.

Tested by running systemC tests:

src/systemc/tests/verify.py --update-json \
  --filter-file=src/systemc/tests/working.filt -j 56 build/ARM/

Change-Id: I9d3bfe145597335abdf24f2de85ed3c0708aea27
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40315
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/systemc/ext/systemc

index 60ec1e6431e7f0b38c4ad62ef8e5c82accbf207d..6968b4cc4c46db50e44632f82a474441d71cc702 100644 (file)
 #ifndef __SYSTEMC_EXT_SYSTEMC__
 #define __SYSTEMC_EXT_SYSTEMC__
 
-// This include isn't supposed to be necessary, but some regression tests
-// assume that the sc_bind macro will work without explicitly including the
-// boost headers. This is in contradiction to the spec which says boost isn't
-// a required dependency.
-#include <boost/bind.hpp>
-
 #include "channel/_channel.hh"
 #include "core/_core.hh"
 #include "dt/_dt.hh"