Fixes for PGI threading and ublas.

[SVN r76468]
This commit is contained in:
K. Noel Belcourt
2012-01-13 20:47:36 +00:00
parent b7ff4bb2aa
commit a5086b75d7
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,8 @@
#if __PGIC__ >= 11
// options requested by configure --enable-test
#define BOOST_HAS_PTHREADS
#undef BOOST_HAS_PTHREAD_YIELD
#define BOOST_HAS_NRVO
#define BOOST_HAS_LONG_LONG

View File

@ -81,6 +81,11 @@
// example) also #define _MSC_VER
# error "Compiler threading support is not turned on. Please set the correct command line options for threading: either /MT /MTd /MD or /MDd"
#elif defined __PGIC__
// PGI
//
// No compiler support for threading
#else
# error "Compiler threading support is not turned on. Please consult your compiler's documentation for the appropriate options to use"