Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/48137 )

Change subject: scons: Use a different suffix for test object files.
......................................................................

scons: Use a different suffix for test object files.

These files are built with a different command line, and so should be
distinct build artifacts in the build directory.

Change-Id: Iec9403ad73fbdbcb1cd268d68716c3aa85a80b24
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48137
Tested-by: kokoro <[email protected]>
Reviewed-by: Jason Lowe-Power <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
---
M src/SConscript
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
  kokoro: Regressions pass




4 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.


diff --git a/src/SConscript b/src/SConscript
index 4351f8a..a92dd17 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -556,6 +556,8 @@
     @classmethod
     def declare_all(cls, env):
         env = env.Clone()
+        env['OBJSUFFIX'] = 't' + env['OBJSUFFIX']
+        env['SHOBJSUFFIX'] = 't' + env['SHOBJSUFFIX']
         env.Append(LIBS=env['GTEST_LIBS'])
         env.Append(CPPFLAGS=env['GTEST_CPPFLAGS'])
         env['GTEST_LIB_SOURCES'] = Source.all.with_tag(env, 'gtest lib')

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

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Iec9403ad73fbdbcb1cd268d68716c3aa85a80b24
Gerrit-Change-Number: 48137
Gerrit-PatchSet: 7
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Bobby Bruce <[email protected]>
Gerrit-Reviewer: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to