changeset d8e5ca139d7c in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=d8e5ca139d7c
description:
        swig: Use SWIG from environment when determining version

        This patch fixes a minor issue in the SConstruct where a hardcoded
        swig is used instead of the environment SWIG when determining the
        version.

diffstat:

 SConstruct |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 64db8473f3ab -r d8e5ca139d7c SConstruct
--- a/SConstruct        Mon Jun 18 15:43:12 2012 -0400
+++ b/SConstruct        Wed Jun 20 19:32:42 2012 -0400
@@ -580,7 +580,7 @@
     Exit(1)
 
 # Check for appropriate SWIG version
-swig_version = readCommand(('swig', '-version'), exception='').split()
+swig_version = readCommand([main['SWIG'], '-version'], exception='').split()
 # First 3 words should be "SWIG Version x.y.z"
 if len(swig_version) < 3 or \
         swig_version[0] != 'SWIG' or swig_version[1] != 'Version':
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to