From 3ca752c4d9dbaa32d041c42f6524cf1aee95a8f3 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Wed, 11 Dec 2019 15:47:36 -0800 Subject: [PATCH] scons: Added channel_addr.cc dependency to channel_addr GTest In some circumstances not including channel_addr.cc as a dependency for the channel_addr.test compilation resulted in a build failure (this was observed in gem5's Kokoro CI system). This commit fixes this problem. Change-Id: Ic38a104a1e6bf655fc64158b556e6227d5ac3981 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23603 Reviewed-by: Daniel Carvalho Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/base/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/SConscript b/src/base/SConscript index e2a3215d0..818428ee5 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -98,7 +98,7 @@ if env['USE_HDF5']: GTest('addr_range.test', 'addr_range.test.cc') GTest('addr_range_map.test', 'addr_range_map.test.cc') GTest('bitunion.test', 'bitunion.test.cc') -GTest('channel_addr.test', 'channel_addr.test.cc') +GTest('channel_addr.test', 'channel_addr.test.cc', 'channel_addr.cc') GTest('circlebuf.test', 'circlebuf.test.cc') GTest('circular_queue.test', 'circular_queue.test.cc') GTest('sat_counter.test', 'sat_counter.test.cc') -- 2.30.2