summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2003-06-28 01:53:49 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2003-06-28 01:53:49 (GMT)
commit0677a1432d892a6286a1e8e5f8e577d18b9def9c (patch)
tree3b03115b63b90213a9f88c64817296a5f3f2af6a
parent6d66e59c9ccf867779947c1c8d485c8a8681cfa9 (diff)
downloadhdf5-0677a1432d892a6286a1e8e5f8e577d18b9def9c.zip
hdf5-0677a1432d892a6286a1e8e5f8e577d18b9def9c.tar.gz
hdf5-0677a1432d892a6286a1e8e5f8e577d18b9def9c.tar.bz2
[svn-r7118]
Purpose: Maintenance Description: I added three new configuration files in c++/config directory for Cray SV1, T3E and T90IEEE Solution: Platforms tested: I used BlankForm in c++/config directory to create new configuration files for Crays. Only test on T3E is finally completed successfully. Two other Crays are still running, and running, and running. I am checking files in since they will not affect any other platforms. Binh-Minh and Bill, could you please take a look since I made minimum changes just to make it to work. I am not sure that everything is correct even if it works. Thanks! Misc. update:
-rw-r--r--c++/config/sv1-cray126
-rw-r--r--c++/config/unicos10.0.X126
-rw-r--r--c++/config/unicosmk2.0.6.X126
3 files changed, 378 insertions, 0 deletions
diff --git a/c++/config/sv1-cray b/c++/config/sv1-cray
new file mode 100644
index 0000000..ff225c2
--- /dev/null
+++ b/c++/config/sv1-cray
@@ -0,0 +1,126 @@
+# -*- 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.
+#----------------------------------------------------------------------------
+
+
+# Choosing a C++ Compiler
+# -----------------------
+#
+# The user should be able to specify the compiler by setting the CXX
+# environment variable to the name of the compiler and any switches it
+# requires for proper operation. If CXX is unset then this script may
+# set it. If CXX is unset by time this script completes then configure
+# will try `g++' and `CC' in that order (perhaps some others too).
+#
+# Note: Code later in this file may depend on the value of $CXX_BASENAME
+# in order to distinguish between different compilers when
+# deciding which compiler command-line switches to use. This
+# variable is set based on the incoming value of $CC and is only
+# used within this file.
+
+if test -z "$CXX"; then
+ CXX="CC"
+ CXX_BASENAME=CC
+fi
+
+
+# C++ Compiler and Preprocessor Flags
+# -----------------------------------
+#
+# Flags that end with `_CXXFLAGS' are always passed to the compiler.
+# Flags that end with `_CPPFLAGS' are passed to the compiler when
+# compiling but not when linking.
+#
+# DEBUG_CXXFLAGS Flags to pass to the compiler to create a
+# DEBUG_CPPFLAGS library suitable for use with debugging
+# tools. Usually this list will exclude
+# optimization switches (like `-O') and include
+# switches that turn on symbolic debugging
+# support (like `-g').
+#
+# PROD_CXXFLAGS Flags to pass to the compiler to create a
+# PROD_CPPFLAGS production version of the library. These
+# usualy exclude symbolic debugging switches
+# (like `-g') and include optimization switches
+# (like `-O').
+#
+# PROFILE_CXXFLAGS Flags to pass to the compiler to create a
+# PROFILE_CPPFLAGS library suitable for performance testing (like
+# `-pg'). This may or may not include debugging
+# or production flags.
+#
+# CXXFLAGS Flags can be added to this variable which
+# might already be partially initialized. These
+# flags will always be passed to the compiler
+# and should include switches to turn on full
+# warnings. HDF5 attempts to be ANSI and Posix
+# compliant and employ good programming
+# practices resulting in few if any
+# warnings.
+#
+# Warning flags do not have to be added to CFLAGS
+# variable if the compiler is the GNU gcc
+# compiler or a descendent of gcc such as EGCS or PGCC.
+#
+# The CFLAGS should contains *something* or else
+# configure will probably add `-g'. For most
+# systems this isn't a problem but some systems
+# will disable optimizations in favor of the
+# `-g'.
+#
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string. You
+# can use the value of $CXX_BASENAME which is the base name of the
+# first word in $CXX (note that the value of CXX may have changed
+# above).
+
+case $CXX_BASENAME in
+ g++)
+ CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions
+ DEBUG_CXXFLAGS="-g -fverbose-asm"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+
+ *)
+ CXXFLAGS="$CXXFLAGS -h instantiate=used"
+ DEBUG_CXXFLAGS="-g"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+esac
+
+
+
+# Overriding Configure Tests
+# --------------------------
+#
+# 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'}
+
+# Set this to the width required by printf() to print type `long
+# long'. For instance, if the format would be `%lld' then set it to
+# `ll' or if the format would be `%qd' set it to `q'.
+#hdf5_cv_printf_ll=${hdf5_cv_printf_ll='ll'}
diff --git a/c++/config/unicos10.0.X b/c++/config/unicos10.0.X
new file mode 100644
index 0000000..ff225c2
--- /dev/null
+++ b/c++/config/unicos10.0.X
@@ -0,0 +1,126 @@
+# -*- 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.
+#----------------------------------------------------------------------------
+
+
+# Choosing a C++ Compiler
+# -----------------------
+#
+# The user should be able to specify the compiler by setting the CXX
+# environment variable to the name of the compiler and any switches it
+# requires for proper operation. If CXX is unset then this script may
+# set it. If CXX is unset by time this script completes then configure
+# will try `g++' and `CC' in that order (perhaps some others too).
+#
+# Note: Code later in this file may depend on the value of $CXX_BASENAME
+# in order to distinguish between different compilers when
+# deciding which compiler command-line switches to use. This
+# variable is set based on the incoming value of $CC and is only
+# used within this file.
+
+if test -z "$CXX"; then
+ CXX="CC"
+ CXX_BASENAME=CC
+fi
+
+
+# C++ Compiler and Preprocessor Flags
+# -----------------------------------
+#
+# Flags that end with `_CXXFLAGS' are always passed to the compiler.
+# Flags that end with `_CPPFLAGS' are passed to the compiler when
+# compiling but not when linking.
+#
+# DEBUG_CXXFLAGS Flags to pass to the compiler to create a
+# DEBUG_CPPFLAGS library suitable for use with debugging
+# tools. Usually this list will exclude
+# optimization switches (like `-O') and include
+# switches that turn on symbolic debugging
+# support (like `-g').
+#
+# PROD_CXXFLAGS Flags to pass to the compiler to create a
+# PROD_CPPFLAGS production version of the library. These
+# usualy exclude symbolic debugging switches
+# (like `-g') and include optimization switches
+# (like `-O').
+#
+# PROFILE_CXXFLAGS Flags to pass to the compiler to create a
+# PROFILE_CPPFLAGS library suitable for performance testing (like
+# `-pg'). This may or may not include debugging
+# or production flags.
+#
+# CXXFLAGS Flags can be added to this variable which
+# might already be partially initialized. These
+# flags will always be passed to the compiler
+# and should include switches to turn on full
+# warnings. HDF5 attempts to be ANSI and Posix
+# compliant and employ good programming
+# practices resulting in few if any
+# warnings.
+#
+# Warning flags do not have to be added to CFLAGS
+# variable if the compiler is the GNU gcc
+# compiler or a descendent of gcc such as EGCS or PGCC.
+#
+# The CFLAGS should contains *something* or else
+# configure will probably add `-g'. For most
+# systems this isn't a problem but some systems
+# will disable optimizations in favor of the
+# `-g'.
+#
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string. You
+# can use the value of $CXX_BASENAME which is the base name of the
+# first word in $CXX (note that the value of CXX may have changed
+# above).
+
+case $CXX_BASENAME in
+ g++)
+ CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions
+ DEBUG_CXXFLAGS="-g -fverbose-asm"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+
+ *)
+ CXXFLAGS="$CXXFLAGS -h instantiate=used"
+ DEBUG_CXXFLAGS="-g"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+esac
+
+
+
+# Overriding Configure Tests
+# --------------------------
+#
+# 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'}
+
+# Set this to the width required by printf() to print type `long
+# long'. For instance, if the format would be `%lld' then set it to
+# `ll' or if the format would be `%qd' set it to `q'.
+#hdf5_cv_printf_ll=${hdf5_cv_printf_ll='ll'}
diff --git a/c++/config/unicosmk2.0.6.X b/c++/config/unicosmk2.0.6.X
new file mode 100644
index 0000000..ff225c2
--- /dev/null
+++ b/c++/config/unicosmk2.0.6.X
@@ -0,0 +1,126 @@
+# -*- 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.
+#----------------------------------------------------------------------------
+
+
+# Choosing a C++ Compiler
+# -----------------------
+#
+# The user should be able to specify the compiler by setting the CXX
+# environment variable to the name of the compiler and any switches it
+# requires for proper operation. If CXX is unset then this script may
+# set it. If CXX is unset by time this script completes then configure
+# will try `g++' and `CC' in that order (perhaps some others too).
+#
+# Note: Code later in this file may depend on the value of $CXX_BASENAME
+# in order to distinguish between different compilers when
+# deciding which compiler command-line switches to use. This
+# variable is set based on the incoming value of $CC and is only
+# used within this file.
+
+if test -z "$CXX"; then
+ CXX="CC"
+ CXX_BASENAME=CC
+fi
+
+
+# C++ Compiler and Preprocessor Flags
+# -----------------------------------
+#
+# Flags that end with `_CXXFLAGS' are always passed to the compiler.
+# Flags that end with `_CPPFLAGS' are passed to the compiler when
+# compiling but not when linking.
+#
+# DEBUG_CXXFLAGS Flags to pass to the compiler to create a
+# DEBUG_CPPFLAGS library suitable for use with debugging
+# tools. Usually this list will exclude
+# optimization switches (like `-O') and include
+# switches that turn on symbolic debugging
+# support (like `-g').
+#
+# PROD_CXXFLAGS Flags to pass to the compiler to create a
+# PROD_CPPFLAGS production version of the library. These
+# usualy exclude symbolic debugging switches
+# (like `-g') and include optimization switches
+# (like `-O').
+#
+# PROFILE_CXXFLAGS Flags to pass to the compiler to create a
+# PROFILE_CPPFLAGS library suitable for performance testing (like
+# `-pg'). This may or may not include debugging
+# or production flags.
+#
+# CXXFLAGS Flags can be added to this variable which
+# might already be partially initialized. These
+# flags will always be passed to the compiler
+# and should include switches to turn on full
+# warnings. HDF5 attempts to be ANSI and Posix
+# compliant and employ good programming
+# practices resulting in few if any
+# warnings.
+#
+# Warning flags do not have to be added to CFLAGS
+# variable if the compiler is the GNU gcc
+# compiler or a descendent of gcc such as EGCS or PGCC.
+#
+# The CFLAGS should contains *something* or else
+# configure will probably add `-g'. For most
+# systems this isn't a problem but some systems
+# will disable optimizations in favor of the
+# `-g'.
+#
+#
+# These flags should be set according to the compiler being used.
+# There are two ways to check the compiler. You can try using `-v' or
+# `--version' to see if the compiler will print a version string. You
+# can use the value of $CXX_BASENAME which is the base name of the
+# first word in $CXX (note that the value of CXX may have changed
+# above).
+
+case $CXX_BASENAME in
+ g++)
+ CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions
+ DEBUG_CXXFLAGS="-g -fverbose-asm"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+
+ *)
+ CXXFLAGS="$CXXFLAGS -h instantiate=used"
+ DEBUG_CXXFLAGS="-g"
+ DEBUG_CPPFLAGS=
+ PROD_CXXFLAGS="-O"
+ PROD_CPPFLAGS=
+ PROFILE_CXXFLAGS="-pg"
+ PROFILE_CPPFLAGS=
+ ;;
+esac
+
+
+
+# Overriding Configure Tests
+# --------------------------
+#
+# 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'}
+
+# Set this to the width required by printf() to print type `long
+# long'. For instance, if the format would be `%lld' then set it to
+# `ll' or if the format would be `%qd' set it to `q'.
+#hdf5_cv_printf_ll=${hdf5_cv_printf_ll='ll'}