297 |
env = Environment(tools = ['default', 'msvc'], options = opts) |
env = Environment(tools = ['default', 'msvc'], options = opts) |
298 |
#env = Environment(tools = ['default', 'intelc'], options = opts) |
#env = Environment(tools = ['default', 'intelc'], options = opts) |
299 |
else: |
else: |
300 |
if os.uname()[4]=='ia64': |
if socket.gethostname().split('.')[0] == 'service0': |
301 |
|
env = Environment(tools = ['default', 'intelc'], options = opts) |
302 |
|
elif os.uname()[4]=='ia64': |
303 |
env = Environment(tools = ['default', 'intelc'], options = opts) |
env = Environment(tools = ['default', 'intelc'], options = opts) |
304 |
if env['CXX'] == 'icpc': |
if env['CXX'] == 'icpc': |
305 |
env['LINK'] = env['CXX'] # version >=9 of intel c++ compiler requires use of icpc to link in C++ runtimes (icc does not). FIXME: this behaviour could be directly incorporated into scons intelc.py |
env['LINK'] = env['CXX'] # version >=9 of intel c++ compiler requires use of icpc to link in C++ runtimes (icc does not). FIXME: this behaviour could be directly incorporated into scons intelc.py |
358 |
|
|
359 |
try: |
try: |
360 |
tmp = os.environ['LD_LIBRARY_PATH'] |
tmp = os.environ['LD_LIBRARY_PATH'] |
|
print tmp |
|
361 |
env['ENV']['LD_LIBRARY_PATH'] = tmp |
env['ENV']['LD_LIBRARY_PATH'] = tmp |
362 |
except KeyError: |
except KeyError: |
363 |
pass |
pass |