From: Dan Gohman (djg_at_[hidden])
Date: 2003-02-05 09:55:03
Here's what I've made so far the a Cray platform and compiler config
file. As Matthias pointed out, a reasonable stdint.h is available, so
having this configuration makes the __crayx1 customizations to
Also as Matthias mentioned earlier, the Cray C++ library is based on
Dinkumware, and a recent CVS checkout of the Boost configuration system
is able to detect it in the preliminary Cray X1 testing I've been doing.
Matthias, what version of the config system were you using?
Here's the test in select_platform_config.hpp: It uses _CRAY instead of
CRAY because the former is always defined, while the latter is not in
certain `strict' modes.
# define BOOST_PLATFORM_CONFIG "boost/config/platform/cray.hpp"
and here's the select_compiler_config.hpp entry:
# define BOOST_COMPILER_CONFIG "boost/config/compiler/cray.hpp"
Here's what I have so far for a platform/cray.hpp . I don't have much
access to Cray SV1 machines currently, so that part needs help.
# define BOOST_PLATFORM "Cray X1"
// swprintf is not available
# define BOOST_NO_SWPRINTF
// these are not auto detected by POSIX feature tests:
# define BOOST_HAS_STDINT_H
# define BOOST_HAS_GETTIMEOFDAY
# define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
# define BOOST_PLATFORM "Cray SV2"
// boilerplate code for all Cray platforms:
and a compiler/cray.hpp:
// Cray compiler setup:
#if _RELEASE >= 4
# define BOOST_COMPILER BOOST_STRINGIZE(_RELEASE_STRING)
# define BOOST_COMPILER "Cray C++"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk