SConstruct (11986:c12e4625ab56) | SConstruct (11988:665cd5f8b52b) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 1013 unchanged lines hidden (view full) --- 1022 1023 conf = NullConf(main) 1024 1025# Cache build files in the supplied directory. 1026if main['M5_BUILD_CACHE']: 1027 print 'Using build cache located at', main['M5_BUILD_CACHE'] 1028 CacheDir(main['M5_BUILD_CACHE']) 1029 | 1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 1013 unchanged lines hidden (view full) --- 1022 1023 conf = NullConf(main) 1024 1025# Cache build files in the supplied directory. 1026if main['M5_BUILD_CACHE']: 1027 print 'Using build cache located at', main['M5_BUILD_CACHE'] 1028 CacheDir(main['M5_BUILD_CACHE']) 1029 |
1030if not GetOption('without_python'): | 1030main['USE_PYTHON'] = not GetOption('without_python') 1031if main['USE_PYTHON']: |
1031 # Find Python include and library directories for embedding the 1032 # interpreter. We rely on python-config to resolve the appropriate 1033 # includes and linker flags. ParseConfig does not seem to understand 1034 # the more exotic linker flags such as -Xlinker and -export-dynamic so 1035 # we add them explicitly below. If you want to link in an alternate 1036 # version of python, see above for instructions on how to invoke 1037 # scons with the appropriate PATH set. 1038 # --- 579 unchanged lines hidden --- | 1032 # Find Python include and library directories for embedding the 1033 # interpreter. We rely on python-config to resolve the appropriate 1034 # includes and linker flags. ParseConfig does not seem to understand 1035 # the more exotic linker flags such as -Xlinker and -export-dynamic so 1036 # we add them explicitly below. If you want to link in an alternate 1037 # version of python, see above for instructions on how to invoke 1038 # scons with the appropriate PATH set. 1039 # --- 579 unchanged lines hidden --- |