Our tcmalloc is in a non-standard location and even with this changeset and setting LIBRARY_PATH in my environment, the only way I could get it to build and run with by putting this in the SConstruct:
main.Append(LIBPATH="/path/to/tcmalloc/lib") Am I missing something here? Lisa On Thu, Jul 12, 2012 at 1:06 PM, Andreas Hansson <[email protected]>wrote: > changeset a8749b39f1f8 in /z/repo/gem5 > details: http://repo.gem5.org/gem5?cmd=changeset;node=a8749b39f1f8 > description: > scons: Add LIBRARY_PATH from the user environment to Scons > > This patch adds the LIBRARY_PATH from the users OS environment to > Scons build environment. This path is used when linking to search > for > libraries, and this patch enables tcmalloc to be used during the > build > even if it is not placed in the default search paths. > > diffstat: > > SConstruct | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diffs (14 lines): > > diff -r fdfe72857f89 -r a8749b39f1f8 SConstruct > --- a/SConstruct Thu Jul 12 08:39:20 2012 -0500 > +++ b/SConstruct Thu Jul 12 12:56:11 2012 -0400 > @@ -177,8 +177,8 @@ > # Set up the main build environment. > # > ######################################################################## > -use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH', > 'PATH', > - 'PYTHONPATH', 'RANLIB', 'SWIG' ]) > +use_vars = set([ 'AS', 'AR', 'CC', 'CXX', 'HOME', 'LD_LIBRARY_PATH', > + 'LIBRARY_PATH', 'PATH', 'PYTHONPATH', 'RANLIB', 'SWIG' ]) > > use_env = {} > for key,val in os.environ.iteritems(): > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev > > _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
