mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
acd04a1aa6
---------------------- ./config/solaris2.5 Hopefully set up now so it honors the CC and CFLAGS variables and understands solaris cc flags. ./test/big.c Checks to see if creating lots of large sparse files exceeds the user disk quota and skips the test. It also checks that we can actually open ~64 files at once. ./doc/html/Files.html ./src/H5A.c ./src/H5Aprivate.h ./src/H5F.c ./src/H5Fpublic.h Added the H5Fflush() function which takes any object as an argument as long as the object is in some way associated with a file. This required an H5A_entof() ./src/H5.c ./src/H5Flow.c The `%a' format of HDfprintf() now allows a field width and justification flag etc, like the other formats. The old H5F_addr_print() was recoded to call HDfprintf() instead of vice versa.
46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# -*- shell-script -*-
|
|
#
|
|
# 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.
|
|
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Compiler flags. The CPPFLAGS values should not include package debug
|
|
# flags like `-DH5G_DEBUG' since these are added with the
|
|
# `--enable-debug' switch of configure.
|
|
|
|
# We use gcc unless something else is specified.
|
|
CC=${CC:-gcc}
|
|
|
|
case $CC in
|
|
*gcc*)
|
|
CFLAGS="$CFLAGS -ansi"
|
|
DEBUG_CFLAGS="-g -fverbose-asm"
|
|
DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2"
|
|
PROD_CFLAGS="-O3 -finline-functions"
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CFLAGS=-pg
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
|
|
*)
|
|
CFLAGS="-erroff=%none"
|
|
DEBUG_CFLAGS=-g
|
|
DEBUG_CPPFLAGS="-DH5F_LOW_DFLT=H5F_LOW_SEC2"
|
|
PROD_CFLAGS=-xO2
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CFLAGS=-xpg
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
esac
|
|
|
|
#----------------------------------------------------------------------------
|
|
# Values for overriding configuration tests when cross compiling.
|
|
# This includes compiling on some machines where the serial front end
|
|
# compiles for a parallel back end.
|
|
|
|
# Set this to `yes' or `no' depending on whether the target is big
|
|
# endian or little endian.
|
|
#ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}
|