/[escript]/branches/inv2jf/SConstruct
ViewVC logotype

Diff of /branches/inv2jf/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5182 by caltinay, Mon Sep 15 01:25:23 2014 UTC revision 5183 by caltinay, Tue Sep 30 05:55:37 2014 UTC
# Line 135  vars.AddVariables( Line 135  vars.AddVariables(
135    ('SVN_VERSION', 'Do not use from options file', -2),    ('SVN_VERSION', 'Do not use from options file', -2),
136    ('pythoncmd', 'which python to compile with','python'),    ('pythoncmd', 'which python to compile with','python'),
137    ('usepython3', 'Is this a python3 build? (experimental)', False),    ('usepython3', 'Is this a python3 build? (experimental)', False),
138      ('longindices', 'use long indices (for very large matrices)', False),
139    ('pythonlibname', 'Name of the python library to link. (This is found automatically for python2.X.)', ''),    ('pythonlibname', 'Name of the python library to link. (This is found automatically for python2.X.)', ''),
140    ('pythonlibpath', 'Path to the python library. (You should not need to set this unless your python has moved)',''),    ('pythonlibpath', 'Path to the python library. (You should not need to set this unless your python has moved)',''),
141    ('pythonincpath','Path to python include files. (You should not need to set this unless your python has moved',''),    ('pythonincpath','Path to python include files. (You should not need to set this unless your python has moved',''),
# Line 287  if env['nvccflags'] != 'default': Line 288  if env['nvccflags'] != 'default':
288      env['NVCCFLAGS'] = env['nvccflags']      env['NVCCFLAGS'] = env['nvccflags']
289      env['SHNVCCFLAGS'] = env['nvccflags'] + ' -shared'      env['SHNVCCFLAGS'] = env['nvccflags'] + ' -shared'
290    
291  if env['BADPYTHONMACROS']: env.Append(CXXFLAGS = ' -DBADPYTHONMACROS')  if env['BADPYTHONMACROS']:
292        env.Append(CPPDEFINES = ['BADPYTHONMACROS'])
293    
294    if env['longindices']:
295        env.Append(CPPDEFINES = ['ESYS_INDEXTYPE_LONG'])
296    
297  if env['usepython3']:  if env['usepython3']:
298      env.Append(CPPDEFINES=['ESPYTHON3'])      env.Append(CPPDEFINES=['ESPYTHON3'])

Legend:
Removed from v.5182  
changed lines
  Added in v.5183

  ViewVC Help
Powered by ViewVC 1.1.26