Replies: 4 comments
-
Just an addtitional thing. I use the --verbose option to create a compile_commands.json based on the compile commands executed, as scons seems not be able to create one |
Beta Was this translation helpful? Give feedback.
-
The build way with cutomized option is change in the #69
It should be
For building |
Beta Was this translation helpful? Give feedback.
-
Have you tried this v23.1 or the head version? The documentation says https://www.gem5.org/documentation/general_docs/kconfig_build_system/ Also I got errors that the options --with-cxx-config --without-tcmalloc --verbose are not supported, but I didn't use the build directory and rather the gem5_build directory as the documentation says to use |
Beta Was this translation helpful? Give feedback.
-
Yes, we can build
It means when you want to simple build gem5 with given ISA option in the
These options should be used in the thiry command(compile gem5 to binary command). Feel free to leave comments if any concert. |
Beta Was this translation helpful? Give feedback.
-
I have Problems how to build gem5 with KConfig for all architectures, both for gem5.opt and libgem5_opt.so
Before v23.1 we could build gem5 and the library version just like this:
scons-3 --with-cxx-config --without-tcmalloc USE_SYSTEMC=0 --verbose build/ALL/gem5.opt
scons-3 --with-cxx-config --without-python --without-tcmalloc USE_SYSTEMC=0 --verbose build/ALL/libgem5_opt.so
However this leads to compile errors as described in #591 when using v23.1
So I tried as was proposed for ARM architectures in the ticket for ALL architectures
scons-3 setconfig build/ALL USE_SYSTEMC=n
scons-3 --with-cxx-config --without-tcmalloc --verbose build/gem5.opt
However this didn't work as the gem5.opt is missing all ISA specific Simobjects.
When doing the official KConfig way from the documentation, the options --with-cxx-config --without-tcmalloc --verbose are not supported , Also I find no documentation how to build libgem5 with KConfig
scons-3 defconfig build_gem5 build_opts/ALL
scons-3 setconfig build_gem5 USE_SYSTEMC=n
scons-3 --with-cxx-config --without-tcmalloc --verbose build_gem5/gem5.opt
So what is the official way to build gem5.opt without integrated systemc and the corresponding libgem5 ?
Affects version
v23.1
Beta Was this translation helpful? Give feedback.
All reactions