This file is indexed.

/usr/include/madness/madness_config.h is in libmadness-dev 0.10-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/*
  This file is part of MADNESS.

  Copyright (C) 2014 Virginia Tech

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  For more information please contact:

  Robert J. Harrison
  Oak Ridge National Laboratory
  One Bethel Valley Road
  P.O. Box 2008, MS-6367

  email: harrisonrj@ornl.gov
  tel:   865-241-3937
  fax:   865-572-0680
*/

/**
 \file madness_config.h
 \brief Macros and tools pertaining to the configuration of MADNESS.
 \ingroup libraries
*/

#ifndef MADNESS_MADNESS_CONFIG_H__INCLUDED
#define MADNESS_MADNESS_CONFIG_H__INCLUDED

#include <madness/config.h>

/* System check */
#if defined(__CRAYXT)

#  define HAVE_CRAYXT 1
#  define MADNESS_HAVE_CRAYXT 1

#elif defined(__CRAYXE)

#  define HAVE_CRAYXE 1
#  define MADNESS_HAVE_CRAYXE 1
#  define X86_64 1
#  define MADNESS_HAVE_X86_64 1

#elif defined(__bgp__)

#  define HAVE_IBMBGP 1
#  define MADNESS_HAVE_POWERPC_32 1

#elif defined(__bgq__)

#  define HAVE_IBMBGQ 1
#  define MADNESS_HAVE_POWERPC_64 1

#endif /* System check */


/* Processor and instruction set checks */
#if defined(__x86_64__) || defined(_M_X64)
   /* x86 64-bit */
#  define X86_64 1
#  define MADNESS_HAVE_X86_64 1

#  if defined(__AVX2__)
#    define MADNESS_HAVE_AVX2 1
#  endif

#  if defined(__AVX__)
#    define MADNESS_HAVE_AVX 1
#  endif

#  if defined(__SSE4_2__)
#    define MADNESS_HAVE_SSE42 1
#  endif

#  if defined(__SSE4_1__)
#    define MADNESS_SSE41 1
#  endif

#  if defined(__SSSE3__)
#    define MADNESS_HAVE_SSSE3 1
#  endif

#  if defined(__SSE3__)
#    define MADNESS_HAVE_SSE3 1
#  endif

/* x86 64-bit always has SSE2 */
#  define MADNESS_HAVE_SSE2 1
#  define MADNESS_HAVE_SSE 1

#  if defined(_M_IX86_FP) /* Defined in MS compiler. 1 = SSE, 2: SSE2 */

#    if _M_IX86_FP == 2
#      define MADNESS_HAVE_SSE2 2
#    elif _M_IX86_FP == 1
#      define MADNESS_HAVE_SSE 1
#    endif

#  endif /* defined(_M_IX86_FP) */


#elif defined(__i386) || defined(_M_IX86)
   /* x86 32-bit */
#  define X86_32
#  define MADNESS_HAVE_X86_32

#  if defined(__SSE2__)
#    define MADNESS_HAVE_SSE2 2
#  endif

#  if defined(__SSE__)
#    define MADNESS_HAVE_SSE 1
#  endif

#endif /* x86 */


#if defined(__powerpc__) || defined(__ppc__) || defined(__PPC__)
  /* POWER PC */

#  if defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) || \
      defined(__64BIT__) || defined(_LP64) || defined(__LP64__)
     /* POWER PC 64-bit */
#    define MADNESS_HAVE_POWERPC_64 1

#  else
     /* POWER PC 32-bit */
#    define MADNESS_HAVE_POWERPC_32 1

#  endif

#endif /* POWERPC */


#endif // MADNESS_MADNESS_CONFIG_H__INCLUDED