scons: Move the "duplicate" setting into gem5_env_defaults.py.
This is a generic default environment setting, and so should go alongside all the other generic default environment settings. Change-Id: If3032a4893dd84f7c7d77e7e9420436ab445cf2b Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40967 Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
@@ -203,12 +203,6 @@ Export('main')
|
|||||||
|
|
||||||
main.SConsignFile(os.path.join(build_root, "sconsign"))
|
main.SConsignFile(os.path.join(build_root, "sconsign"))
|
||||||
|
|
||||||
# Default duplicate option is to use hard links, but this messes up
|
|
||||||
# when you use emacs to edit a file in the target dir, as emacs moves
|
|
||||||
# file to file~ then copies to file, breaking the link. Symbolic
|
|
||||||
# (soft) links work better.
|
|
||||||
main.SetOption('duplicate', 'soft-copy')
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Set up global sticky variables... these are common to an entire build
|
# Set up global sticky variables... these are common to an entire build
|
||||||
# tree (not specific to a particular build like X86)
|
# tree (not specific to a particular build like X86)
|
||||||
|
|||||||
@@ -71,3 +71,9 @@ def EnvDefaults(env):
|
|||||||
# add useful python code PYTHONPATH so it can be used by subprocesses
|
# add useful python code PYTHONPATH so it can be used by subprocesses
|
||||||
# as well
|
# as well
|
||||||
env.AppendENVPath('PYTHONPATH', extra_python_paths)
|
env.AppendENVPath('PYTHONPATH', extra_python_paths)
|
||||||
|
|
||||||
|
# Default duplicate option is to use hard links, but this messes up
|
||||||
|
# when you use emacs to edit a file in the target dir, as emacs moves
|
||||||
|
# file to file~ then copies to file, breaking the link. Symbolic
|
||||||
|
# (soft) links work better.
|
||||||
|
env.SetOption('duplicate', 'soft-copy')
|
||||||
|
|||||||
Reference in New Issue
Block a user