Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/atomic/detail/config.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@101 | 1 /* |
Chris@101 | 2 * Distributed under the Boost Software License, Version 1.0. |
Chris@101 | 3 * (See accompanying file LICENSE_1_0.txt or copy at |
Chris@101 | 4 * http://www.boost.org/LICENSE_1_0.txt) |
Chris@101 | 5 * |
Chris@101 | 6 * Copyright (c) 2012 Hartmut Kaiser |
Chris@101 | 7 * Copyright (c) 2014 Andrey Semashev |
Chris@101 | 8 */ |
Chris@101 | 9 /*! |
Chris@101 | 10 * \file atomic/detail/config.hpp |
Chris@101 | 11 * |
Chris@101 | 12 * This header defines configuraion macros for Boost.Atomic |
Chris@101 | 13 */ |
Chris@16 | 14 |
Chris@101 | 15 #ifndef BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_ |
Chris@101 | 16 #define BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_ |
Chris@16 | 17 |
Chris@16 | 18 #include <boost/config.hpp> |
Chris@16 | 19 |
Chris@16 | 20 #ifdef BOOST_HAS_PRAGMA_ONCE |
Chris@16 | 21 #pragma once |
Chris@16 | 22 #endif |
Chris@16 | 23 |
Chris@101 | 24 #if defined(__CUDACC__) |
Chris@101 | 25 // nvcc does not support alternatives in asm statement constraints |
Chris@101 | 26 #define BOOST_ATOMIC_DETAIL_NO_ASM_CONSTRAINT_ALTERNATIVES |
Chris@101 | 27 // nvcc does not support condition code register ("cc") clobber in asm statements |
Chris@101 | 28 #define BOOST_ATOMIC_DETAIL_NO_ASM_CLOBBER_CC |
Chris@16 | 29 #endif |
Chris@101 | 30 |
Chris@101 | 31 #if !defined(BOOST_ATOMIC_DETAIL_NO_ASM_CLOBBER_CC) |
Chris@101 | 32 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC "cc" |
Chris@101 | 33 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA "cc", |
Chris@101 | 34 #else |
Chris@101 | 35 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC |
Chris@101 | 36 #define BOOST_ATOMIC_DETAIL_ASM_CLOBBER_CC_COMMA |
Chris@101 | 37 #endif |
Chris@101 | 38 |
Chris@101 | 39 #endif // BOOST_ATOMIC_DETAIL_CONFIG_HPP_INCLUDED_ |