Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/40967 )
Change subject: scons: Move the "duplicate" setting into
gem5_env_defaults.py.
......................................................................
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
---
M SConstruct
M site_scons/gem5_scons/defaults.py
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/SConstruct b/SConstruct
index 3530cbc..f158ccc 100755
--- a/SConstruct
+++ b/SConstruct
@@ -204,12 +204,6 @@
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
# tree (not specific to a particular build like X86)
diff --git a/site_scons/gem5_scons/defaults.py
b/site_scons/gem5_scons/defaults.py
index e59b40f..8309505 100644
--- a/site_scons/gem5_scons/defaults.py
+++ b/site_scons/gem5_scons/defaults.py
@@ -71,3 +71,9 @@
# add useful python code PYTHONPATH so it can be used by subprocesses
# as well
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')
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/40967
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: If3032a4893dd84f7c7d77e7e9420436ab445cf2b
Gerrit-Change-Number: 40967
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabe.bl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s