source: trunk/Clp/src/AbcCommon.hpp @ 1910

Last change on this file since 1910 was 1910, checked in by stefan, 7 years ago
  • add configure option --enable-aboca={1,2,3,4,yes,no}
  • compile Aboca source only if --enable-aboca set (instead of compiling empty source files)
  • fix svn properties
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1/* $Id: AbcCommon.hpp 1910 2013-01-27 02:00:13Z stefan $ */
2// Copyright (C) 2003, International Business Machines
3// Corporation and others, Copyright (C) 2012, FasterCoin.  All Rights Reserved.
4// This code is licensed under the terms of the Eclipse Public License (EPL).
5/*
6   Authors
7
8   John Forrest
9
10 */
11#ifndef AbcCommon_H
12#define AbcCommon_H
13
14#include "ClpConfig.h"
15
16/*
17  0 - off
18  1 - build Abc serial but no inherit code
19  2 - build Abc serial and inherit code
20  3 - build Abc cilk parallel but no inherit code
21  4 - build Abc cilk parallel and inherit code
22 */
23#ifdef CLP_HAS_ABC
24#if CLP_HAS_ABC==1
25#ifndef ABC_PARALLEL
26#define ABC_PARALLEL 0
27#endif
28#ifndef ABC_USE_HOMEGROWN_LAPACK
29#define ABC_USE_HOMEGROWN_LAPACK 2
30#endif
31#elif CLP_HAS_ABC==2
32#ifndef ABC_PARALLEL
33#define ABC_PARALLEL 0
34#endif
35#ifndef ABC_USE_HOMEGROWN_LAPACK
36#define ABC_USE_HOMEGROWN_LAPACK 2
37#endif
38#ifndef ABC_INHERIT
39#define ABC_INHERIT
40#endif
41#elif CLP_HAS_ABC==3
42#ifndef ABC_PARALLEL
43#define ABC_PARALLEL 2
44#endif
45#ifndef ABC_USE_HOMEGROWN_LAPACK
46#define ABC_USE_HOMEGROWN_LAPACK 2
47#endif
48#elif CLP_HAS_ABC==4
49#ifndef ABC_PARALLEL
50#define ABC_PARALLEL 2
51#endif
52#ifndef ABC_USE_HOMEGROWN_LAPACK
53#define ABC_USE_HOMEGROWN_LAPACK 2
54#endif
55#ifndef ABC_INHERIT
56#define ABC_INHERIT
57#endif
58#else
59#error "Valid values for CLP_HAS_ABC are 0-4"
60#endif
61#endif
62#endif
Note: See TracBrowser for help on using the repository browser.