-
For MAC Silcone gem5 build, what dependencies from brew need to be installed? There isn't a build-essentials, but scons exists. I have python 3.11.x under pyenv. I also installed gcc. ~/srccode/github-repo/gem5 stable > scons --version node system 01:42:55 PM After each upgrade of OS, I update xcode utilities. After installing scons and gcc from brew, I see: I didn't see any other scons modules that would help. Any advice would be appreciated. Thank you, Ken Lee |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
As this was more of a question I moved it to the Q&A discussions section. I hope you don't mind. |
Beta Was this translation helpful? Give feedback.
-
It's always worth getting this out the way first: have you tried deleting the build directory with Changing your environment (like updating the OS) can mean the build file needs wiped and to build from scratch. |
Beta Was this translation helpful? Give feedback.
-
I removed pyenv from .zshrc, and installed python 3.11.4 as the system version of python. ext/gdbremote/signals.hh:176:5: error: expected identifier I will try merging #209, and see if that helps as suggested in post #94. Thank you, Ken Lee |
Beta Was this translation helpful? Give feedback.
I removed pyenv from .zshrc, and installed python 3.11.4 as the system version of python.
For building on the mac M1, I get similar warnings and errors mentioned in #94.
ext/gdbremote/signals.hh:176:5: error: expected identifier
EXC_BREAKPOINT = 150, //breakpoint
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/mach/exception_types.h:87:33: note: expanded from macro 'EXC_BREAKPOINT'
#define EXC_BREAKPOINT 6 /* Trace, breakpoint, etc. */
^
[ CXX] X86/python/_m5/param_BaseNonCachingSimpleCPU.cc -> .o
[SO Param] m5.objects.BaseTimingSimpleCPU, BaseTimingSimpleCPU -> X86/python/_m5/param_BaseTimingSimpleCPU.cc
44 warnings and 6 errors generated.
scons: *** [build/X86/cpu/o3/p…