125 |
# BLAS (used by UMFPACK) |
# BLAS (used by UMFPACK) |
126 |
('blas_path', 'Path to BLAS includes', '/usr/include/suitesparse'), |
('blas_path', 'Path to BLAS includes', '/usr/include/suitesparse'), |
127 |
('blas_lib_path', 'Path to BLAS libs', usr_lib), |
('blas_lib_path', 'Path to BLAS libs', usr_lib), |
128 |
('blas_libs', 'BLAS libraries to link with', ['blas']) |
('blas_libs', 'BLAS libraries to link with', ['blas']), |
129 |
|
# An option for specifying the compiler tools set (see windows branch). |
130 |
|
('tools_names', 'allow control over the tools in the env setup', ['intelc']) |
131 |
) |
) |
132 |
|
|
133 |
############ Specify which compilers to use #################### |
############ Specify which compilers to use #################### |
136 |
# failing to find the compilers. This warning can be safely ignored. |
# failing to find the compilers. This warning can be safely ignored. |
137 |
|
|
138 |
if IS_WINDOWS_PLATFORM: |
if IS_WINDOWS_PLATFORM: |
139 |
env = Environment(tools = ['default', 'msvc'], options = opts) |
env = Environment(options = opts) |
140 |
#env = Environment(tools = ['default', 'intelc'], options = opts) |
env = Environment(tools = ['default'] + env['tools_names'], |
141 |
|
options = opts) |
142 |
else: |
else: |
143 |
if socket.gethostname().split('.')[0] == 'service0': |
if socket.gethostname().split('.')[0] == 'service0': |
144 |
env = Environment(tools = ['default', 'intelc'], options = opts) |
env = Environment(tools = ['default', 'intelc'], options = opts) |