m4_define( proj_name, [RISC-V ISA Simulator])
m4_define( proj_maintainer, [Andrew Waterman])
-m4_define( proj_abbreviation, [riscv-sim-isa])
+m4_define( proj_abbreviation, [spike])
#-------------------------------------------------------------------------
# Project version information
# Setup
#-------------------------------------------------------------------------
+AC_LANG_CPLUSPLUS
AC_INIT(proj_name,proj_version,proj_maintainer,proj_abbreviation)
AC_CONFIG_SRCDIR([riscv/common.h])
AC_CONFIG_AUX_DIR([scripts])
# Default compiler flags
#-------------------------------------------------------------------------
-AC_SUBST([CFLAGS], ["-Wall -O2"])
-AC_SUBST([CXXFLAGS],["-Wall -O2"])
+AC_SUBST([CFLAGS], ["-Wall -Wno-unused -O2"])
+AC_SUBST([CXXFLAGS],["-Wall -Wno-unused -O2 -std=c++11"])
#-------------------------------------------------------------------------
# MCPPBS subproject list
# The '*' suffix indicates an optional subproject. The '**' suffix
# indicates an optional subproject which is also the name of a group.
-MCPPBS_SUBPROJECTS([ riscv, softfloat, softfloat_riscv ])
+MCPPBS_SUBPROJECTS([ riscv, hwacha, dummy_rocc, softfloat, spike_main ])
#-------------------------------------------------------------------------
# MCPPBS subproject groups