There was a bug with the SST and SystemC tests where they wouldn't compile due to a missing path for the gdbremote/signals.hh header, and this change includes that so they run properly. Change-Id: I9ff0404e327358fe2d1b77388bbcc1f807136ebe Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67817 Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu> Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
22 lines
675 B
Makefile
22 lines
675 B
Makefile
SST_VERSION=SST-11.1.0 # Name of the .pc file in lib/pkgconfig where SST is installed
|
|
GEM5_LIB=gem5_opt
|
|
ARCH=RISCV
|
|
OFLAG=3
|
|
|
|
LDFLAGS=-shared -fno-common ${shell pkg-config ${SST_VERSION} --libs} -L../../build/${ARCH}/ -Wl,-rpath ../../build/${ARCH}
|
|
CXXFLAGS=-std=c++17 -g -O${OFLAG} -fPIC ${shell pkg-config ${SST_VERSION} --cflags} ${shell python3-config --includes} -I../../build/${ARCH}/ -I../../ext/pybind11/include/ -I../../build/softfloat/ -I../../ext
|
|
CPPFLAGS+=-MMD -MP
|
|
SRC=$(wildcard *.cc)
|
|
|
|
.PHONY: clean all
|
|
|
|
all: libgem5.so
|
|
|
|
libgem5.so: $(SRC:%.cc=%.o)
|
|
${CXX} ${CPPFLAGS} ${LDFLAGS} $? -o $@ -l${GEM5_LIB}
|
|
|
|
-include $(SRC:%.cc=%.d)
|
|
|
|
clean:
|
|
${RM} *.[do] libgem5.so
|