90 |
('cxx', 'path to C++ compiler', 'DEFAULT'), |
('cxx', 'path to C++ compiler', 'DEFAULT'), |
91 |
('win_cc_name', 'windows C compiler name if needed', 'msvc'), |
('win_cc_name', 'windows C compiler name if needed', 'msvc'), |
92 |
# The strings -DDEFAULT_ get replaced by scons/<hostname>_options.py or by defaults below |
# The strings -DDEFAULT_ get replaced by scons/<hostname>_options.py or by defaults below |
93 |
('cc_flags', 'C compiler flags to use', '-DEFAULT_1'), |
('cc_flags', 'C/C++ compiler flags to use', '-DEFAULT_1'), |
94 |
('cc_optim', 'C compiler optimization flags to use', '-DEFAULT_2'), |
('cc_optim', 'C/C++ optimization flags to use', '-DEFAULT_2'), |
95 |
('cc_debug', 'C compiler debug flags to use', '-DEFAULT_3'), |
('cc_debug', 'C/C++ debug flags to use', '-DEFAULT_3'), |
96 |
('omp_optim', 'OpenMP compiler flags to use (Release build)', '-DEFAULT_4'), |
('omp_optim', 'OpenMP compiler flags to use (Release build)', '-DEFAULT_4'), |
97 |
('omp_debug', 'OpenMP compiler flags to use (Debug build)', '-DEFAULT_5'), |
('omp_debug', 'OpenMP compiler flags to use (Debug build)', '-DEFAULT_5'), |
98 |
('omp_libs', 'OpenMP compiler libraries to link with', '-DEFAULT_6'), |
('omp_libs', 'OpenMP compiler libraries to link with', '-DEFAULT_6'), |
99 |
('cc_extra', 'Extra C/C++ flags', ''), |
('cc_extra', 'Extra C compiler flags', ''), |
100 |
|
('cxx_extra', 'Extra C++ compiler flags', ''), |
101 |
('ld_extra', 'Extra linker flags', ''), |
('ld_extra', 'Extra linker flags', ''), |
102 |
('sys_libs', 'System libraries to link with', []), |
('sys_libs', 'System libraries to link with', []), |
103 |
('ar_flags', 'Static library archiver flags to use', ''), |
('ar_flags', 'Static library archiver flags to use', ''), |
389 |
# Add cc option -L<Escript>/trunk/lib |
# Add cc option -L<Escript>/trunk/lib |
390 |
env.Append(LIBPATH = [Dir(env['libinstall'])]) |
env.Append(LIBPATH = [Dir(env['libinstall'])]) |
391 |
|
|
392 |
if env['cc_extra'] != '': env.Append(CCFLAGS = env['cc_extra']) |
if env['cc_extra'] != '': env.Append(CFLAGS = env['cc_extra']) |
393 |
|
if env['cxx_extra'] != '': env.Append(CXXFLAGS = env['cxx_extra']) |
394 |
if env['ld_extra'] != '': env.Append(LINKFLAGS = env['ld_extra']) |
if env['ld_extra'] != '': env.Append(LINKFLAGS = env['ld_extra']) |
395 |
|
|
396 |
if env['usepedantic']: env.Append(CCFLAGS = pedantic) |
if env['usepedantic']: env.Append(CCFLAGS = pedantic) |
934 |
build_all_list += ['build_finley'] |
build_all_list += ['build_finley'] |
935 |
if env['usempi']: build_all_list += ['target_pythonMPI_exe'] |
if env['usempi']: build_all_list += ['target_pythonMPI_exe'] |
936 |
#if not IS_WINDOWS_PLATFORM: build_all_list += ['target_escript_wrapper'] |
#if not IS_WINDOWS_PLATFORM: build_all_list += ['target_escript_wrapper'] |
937 |
if env['usesilo']: build_all_list += ['target_escriptconvert'] |
build_all_list += ['target_escriptconvert'] |
938 |
env.Alias('build_all', build_all_list) |
env.Alias('build_all', build_all_list) |
939 |
|
|
940 |
install_all_list = [] |
install_all_list = [] |
998 |
|
|
999 |
env.Alias('build_PasoTests','build/'+build_platform+'/paso/profiling/PasoTests') |
env.Alias('build_PasoTests','build/'+build_platform+'/paso/profiling/PasoTests') |
1000 |
|
|
|
env.Alias('release_prep', ['docs', 'install_all']) |
|
1001 |
|
env.Alias('release_prep', ['docs', 'install_all']) |