mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r20058] Changed Linux system to use mpicc as the default parallel C compiler.
mpif90 is already the default parallel Fortran if mpicc is the C compiler. Tested: Jam (serial and parallel). No need for committest since this change is limited to Linux system.
This commit is contained in:
parent
5edf33586f
commit
d4708e35ab
@ -22,8 +22,14 @@
|
||||
|
||||
# The default compiler is `gcc'.
|
||||
if test -z "$CC"; then
|
||||
CC=gcc
|
||||
CC_BASENAME=gcc
|
||||
if test "X-$enable_parallel" = "X-yes"; then
|
||||
# default to use mpicc which is the defacto MPI compiler name
|
||||
CC=mpicc
|
||||
CC_BASENAME=mpicc
|
||||
else
|
||||
CC=gcc
|
||||
CC_BASENAME=gcc
|
||||
fi
|
||||
fi
|
||||
|
||||
# Figure out GNU C compiler flags
|
||||
|
Loading…
x
Reference in New Issue
Block a user