gem5-dev@gem5.org

The gem5 Developer List

View all threads

[S] Change in gem5/gem5[develop]: scons: Update default environment comments

YW
Yu-hsin Wang (Gerrit)
Thu, Jul 6, 2023 2:27 AM

Yu-hsin Wang has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/72058?usp=email )

Change subject: scons: Update default environment comments
......................................................................

scons: Update default environment comments

Change-Id: Ib6dcf1a6390010682365f393241c1e022aeeb813

M site_scons/gem5_scons/defaults.py
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/site_scons/gem5_scons/defaults.py
b/site_scons/gem5_scons/defaults.py
index 944f7e5..aeca94f 100644
--- a/site_scons/gem5_scons/defaults.py
+++ b/site_scons/gem5_scons/defaults.py
@@ -44,7 +44,7 @@

def EnvDefaults(env):

  • export TERM so that clang reports errors in color

  • initialize the toolchain related env with host environment

    use_vars = set(
    [
    "AS",
    @@ -60,15 +60,15 @@
    "PROTOC",
    "PYTHONPATH",
    "RANLIB",
  •        "TERM",
    
  •        "PYTHON_CONFIG",
    
  •        "CCFLAGS_EXTRA",
    
  •        "GEM5PY_CCFLAGS_EXTRA",
    
  •        "GEM5PY_LINKFLAGS_EXTRA",
    
  •        "LINKFLAGS_EXTRA",
    
  •        "LANG",
    
  •        "LC_CTYPE",
    
  •        "DISPLAY",
    
  •        "TERM",  # for clang reports errors in color
    
  •        "PYTHON_CONFIG",  # gem5 specific build env
    
  •        "CCFLAGS_EXTRA",  # gem5 specific build env
    
  •        "GEM5PY_CCFLAGS_EXTRA",  # gem5 specific build env
    
  •        "GEM5PY_LINKFLAGS_EXTRA",  # gem5 specific build env
    
  •        "LINKFLAGS_EXTRA",  # gem5 specific build env
    
  •        "LANG",  # for work with non-ascii directory path
    
  •        "LC_CTYPE",  # for work with non-ascii directory path
    
  •        "DISPLAY",  # for gui program, ex kconfig guiconfig
        ]
    )
    

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

Gerrit-MessageType: newchange
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ib6dcf1a6390010682365f393241c1e022aeeb813
Gerrit-Change-Number: 72058
Gerrit-PatchSet: 1
Gerrit-Owner: Yu-hsin Wang yuhsingw@google.com

Yu-hsin Wang has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/72058?usp=email ) Change subject: scons: Update default environment comments ...................................................................... scons: Update default environment comments Change-Id: Ib6dcf1a6390010682365f393241c1e022aeeb813 --- M site_scons/gem5_scons/defaults.py 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/site_scons/gem5_scons/defaults.py b/site_scons/gem5_scons/defaults.py index 944f7e5..aeca94f 100644 --- a/site_scons/gem5_scons/defaults.py +++ b/site_scons/gem5_scons/defaults.py @@ -44,7 +44,7 @@ def EnvDefaults(env): - # export TERM so that clang reports errors in color + # initialize the toolchain related env with host environment use_vars = set( [ "AS", @@ -60,15 +60,15 @@ "PROTOC", "PYTHONPATH", "RANLIB", - "TERM", - "PYTHON_CONFIG", - "CCFLAGS_EXTRA", - "GEM5PY_CCFLAGS_EXTRA", - "GEM5PY_LINKFLAGS_EXTRA", - "LINKFLAGS_EXTRA", - "LANG", - "LC_CTYPE", - "DISPLAY", + "TERM", # for clang reports errors in color + "PYTHON_CONFIG", # gem5 specific build env + "CCFLAGS_EXTRA", # gem5 specific build env + "GEM5PY_CCFLAGS_EXTRA", # gem5 specific build env + "GEM5PY_LINKFLAGS_EXTRA", # gem5 specific build env + "LINKFLAGS_EXTRA", # gem5 specific build env + "LANG", # for work with non-ascii directory path + "LC_CTYPE", # for work with non-ascii directory path + "DISPLAY", # for gui program, ex kconfig guiconfig ] ) -- To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/72058?usp=email To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: public/gem5 Gerrit-Branch: develop Gerrit-Change-Id: Ib6dcf1a6390010682365f393241c1e022aeeb813 Gerrit-Change-Number: 72058 Gerrit-PatchSet: 1 Gerrit-Owner: Yu-hsin Wang <yuhsingw@google.com>