gem5-dev@gem5.org

The gem5 Developer List

View all threads

[XS] Change in gem5/gem5[develop]: tests: Add '--duplicate-sources' to libgem5 SST build

BB
Bobby Bruce (Gerrit)
Wed, May 10, 2023 7:26 PM

Bobby Bruce has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/70497?usp=email )

Change subject: tests: Add '--duplicate-sources' to libgem5 SST build
......................................................................

tests: Add '--duplicate-sources' to libgem5 SST build

Unfortunately the building of SST (in "ext/sst") depends on generated
header files. Therefore it adds the build directory to the include path.
For this to work the libgem5.so must be build with
"--duplicate-sources".

Change-Id: I5ed26a89c81402d421f5dfa110de7cf758f28694

M tests/nightly.sh
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/nightly.sh b/tests/nightly.sh
index f5f9295..9286c54 100755
--- a/tests/nightly.sh
+++ b/tests/nightly.sh
@@ -159,7 +159,7 @@
"${gem5_root}" --rm  --memory="${docker_mem_limit}"
gcr.io/gem5-test/sst-env:${tag} bash -c "
scons build/${isa}/libgem5_${variant}.so -j${compile_threads}
---without-tcmalloc --ignore-style &&
+--without-tcmalloc --duplicate-sources --ignore-style &&
cd ext/sst &&
make clean; make -j ${compile_threads} &&
sst --add-lib-path=./ sst/example.py && \

--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/70497?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I5ed26a89c81402d421f5dfa110de7cf758f28694
Gerrit-Change-Number: 70497
Gerrit-PatchSet: 1
Gerrit-Owner: Bobby Bruce bbruce@ucdavis.edu

Bobby Bruce has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/70497?usp=email ) Change subject: tests: Add '--duplicate-sources' to libgem5 SST build ...................................................................... tests: Add '--duplicate-sources' to libgem5 SST build Unfortunately the building of SST (in "ext/sst") depends on generated header files. Therefore it adds the build directory to the include path. For this to work the libgem5.so must be build with "--duplicate-sources". Change-Id: I5ed26a89c81402d421f5dfa110de7cf758f28694 --- M tests/nightly.sh 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/nightly.sh b/tests/nightly.sh index f5f9295..9286c54 100755 --- a/tests/nightly.sh +++ b/tests/nightly.sh @@ -159,7 +159,7 @@ "${gem5_root}" --rm --memory="${docker_mem_limit}" \ gcr.io/gem5-test/sst-env:${tag} bash -c "\ scons build/${isa}/libgem5_${variant}.so -j${compile_threads} \ ---without-tcmalloc --ignore-style && \ +--without-tcmalloc --duplicate-sources --ignore-style && \ cd ext/sst && \ make clean; make -j ${compile_threads} && \ sst --add-lib-path=./ sst/example.py && \ -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/70497?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: I5ed26a89c81402d421f5dfa110de7cf758f28694 Gerrit-Change-Number: 70497 Gerrit-PatchSet: 1 Gerrit-Owner: Bobby Bruce <bbruce@ucdavis.edu>