1998-09-22 23:27:26 +08:00
|
|
|
# -*- shell-script -*-
|
|
|
|
#
|
2005-10-21 22:54:41 +08:00
|
|
|
# Copyright by the Board of Trustees of the University of Illinois.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This file is part of HDF5. The full HDF5 copyright notice, including
|
|
|
|
# terms governing use, modification, and redistribution, is contained in
|
|
|
|
# the files COPYING and Copyright.html. COPYING can be found at the root
|
|
|
|
# of the source code distribution tree; Copyright.html can be found at the
|
2005-10-29 04:28:20 +08:00
|
|
|
# root level of an installed copy of the electronic HDF5 document set and
|
2005-10-21 22:54:41 +08:00
|
|
|
# is linked from the top-level documents page. It can also be found at
|
|
|
|
# http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
|
|
|
|
# access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
|
|
|
|
|
|
|
|
|
1998-09-22 23:27:26 +08:00
|
|
|
# This file is part of the HDF5 build script. It is processed shortly
|
|
|
|
# after configure starts and defines, among other things, flags for
|
|
|
|
# the various compile modes.
|
1998-11-13 23:06:06 +08:00
|
|
|
#
|
|
|
|
# See BlankForm in this directory for details
|
|
|
|
|
|
|
|
# Default compiler is `cc'
|
2003-07-29 05:38:04 +08:00
|
|
|
if test "X$CC" = "X"; then
|
|
|
|
CC=cc
|
|
|
|
CC_BASENAME=cc
|
1998-11-13 23:06:06 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
# Flags
|
|
|
|
case "X-$CC" in
|
2003-07-29 05:38:04 +08:00
|
|
|
X-gcc)
|
|
|
|
CFLAGS="$CFLAGS -Wsign-compare" #Only works for some versions
|
|
|
|
DEBUG_CFLAGS="-g -fverbose-asm"
|
|
|
|
DEBUG_CPPFLAGS=
|
|
|
|
PROD_CFLAGS="-O3"
|
|
|
|
PROD_CPPFLAGS=
|
|
|
|
PROFILE_CFLAGS="-pg"
|
|
|
|
PROFILE_CPPFLAGS=
|
|
|
|
;;
|
1998-11-13 23:06:06 +08:00
|
|
|
|
2003-07-29 05:38:04 +08:00
|
|
|
*)
|
[svn-r10218] Purpose: Bug fix
Description: This commit is actually revision 1.155, which is the 3rd step of
changing conversion test. It's for conversion from floating-point to integer.
In this step, the source buffer is filled in with normalized and denormalized
floating-point values. For the normalized values, it starts from FLT(DBL, or
LDBL)_MIN, multiplied by 10(10000 for double, 100000000 for long double) for
the next value, until reaches to FLT_MAX. For denormalized values, the
exponent part is always 0. Mantissa part starts with 000...001, 000...011,
000...111, until reaches to 111...111. The same is with negative values.
There're also fixes in config/hpux11.00 for kelgia where default macro table
size wasn't big enough to handle the big macro in dtypes.c.
Platforms tested: h5committest and kelgia.
2005-03-16 00:31:48 +08:00
|
|
|
CFLAGS="$CFLAGS -Ae -Wp,-H65536" #increase the size of macro definition table. For test/dtypes.c
|
2003-07-29 05:38:04 +08:00
|
|
|
DEBUG_CFLAGS=-g
|
|
|
|
DEBUG_CPPFLAGS=
|
|
|
|
PROD_CFLAGS=
|
|
|
|
PROD_CPPFLAGS=
|
|
|
|
PROFILE_CFLAGS=
|
|
|
|
PROFILE_CPPFLAGS=
|
|
|
|
;;
|
1998-11-13 23:06:06 +08:00
|
|
|
esac
|