Changeset 643b1eb in git


Ignore:
Timestamp:
May 10, 2011, 3:30:09 PM (13 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
b58d4735ba8885b68e60e175df833c691cd3c04e
Parents:
06541226e172777614f7a62af88d739f6cea424c
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-05-10 15:30:09+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:41+01:00
Message:
include ftmpl_inst.cc in libsingcf.a (template instantiations)

- disabled memutil by default in factory
- include readcf.og in the debug version of factory
- check for ntl in libpolys
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • factory/GNUmakefile.in

    r0654122 r643b1eb  
    200200                bifac.cc \
    201201                lgs.cc \
    202                 singext.cc
     202                singext.cc \
     203                ftmpl_inst.cc
    203204
    204205useiofactorysrc := \
     
    216217factoryobj1 :=  $(factorysrc:%.cc=%.o)
    217218factoryobj :=   $(factoryobj1:%.y=%.o)
    218 factorygobj :=  $(factorysrc:%.cc=%.og)
     219factorygobj1 :=  $(factorysrc:%.cc=%.og)
     220factorygobj :=  $(factorygobj1:%.y=%.og)
    219221factorypobj :=  $(factorysrc:%.cc=%.op)
    220222factorydep :=   $(factorysrc:%.cc=%.d)
  • factory/configure.in

    r0654122 r643b1eb  
    389389   
    390390# memory manager
    391 if test "x$with_memman" != xno; then
     391if test "x$with_memman" = xyes; then
    392392  alltargets="$alltargets mem"
    393393  installtargets="$installtargets installmem"
  • libpolys/coeffs/Makefile.am

    r0654122 r643b1eb  
    2020        mpr_complex.h mpr_global.h
    2121
    22 INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${srcdir} ${GMP_CFLAGS}
     22INCLUDES = -I${top_srcdir} -I${top_srcdir}/.. -I${top_builddir} -I${srcdir} ${GMP_CFLAGS} ${NTL_CFLAGS}
    2323
    2424SOURCES = \
     
    4646test_g_SOURCES = test.cc
    4747
    48 test_LDADD   = -lcoeffs ${GMP_LIBS} -lresources -lreporter -lmisc -lsingcf -lomalloc
    49 test_g_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc_g -lsingcf_g -lomalloc_debug
     48test_LDADD   = -lcoeffs ${GMP_LIBS} ${NTL_LIBS} -lresources -lreporter -lmisc -lsingcf -lomalloc
     49test_g_LDADD = -lcoeffs_g ${GMP_LIBS} ${NTL_LIBS} -lresources_g -lreporter_g -lmisc_g -lsingcf_g -lomalloc_debug
    5050
    5151
  • libpolys/coeffs/test.cc

    r0654122 r643b1eb  
    1818#include <coeffs/rintegers.h>
    1919#ifdef HAVE_FACTORY
    20 #include <factory/factory.h>
     20int initializeGMP(){ return 1; }
    2121#endif
    2222
     
    2424
    2525using namespace std;
    26 
    27 // template stuff
    28 #ifdef HAVE_FACTORY
    29   #include <factory/templates/ftmpl_list.cc>
    30   #include <factory/templates/ftmpl_array.cc>
    31   #include <factory/templates/ftmpl_factor.cc>
    32   #include <factory/templates/ftmpl_functions.h>
    33   #include <factory/templates/ftmpl_matrix.cc>
    34   template class Factor<CanonicalForm>;
    35   template class List<CFFactor>;
    36   template class ListItem<CFFactor>;
    37   template class ListItem<CanonicalForm>;
    38   template class ListIterator<CFFactor>;
    39   template class List<CanonicalForm>;
    40   template class List<List<CanonicalForm> >;
    41   template class ListIterator<CanonicalForm>;
    42   template class Array<CanonicalForm>;
    43   template class List<MapPair>;
    44   template class ListItem<MapPair>;
    45   template class ListIterator<MapPair>;
    46   template class Matrix<CanonicalForm>;
    47   template class SubMatrix<CanonicalForm>;
    48   template class Array<REvaluation>;
    49   template bool find ( const List<CanonicalForm> &, const CanonicalForm&);
    50   template List<CFFactor> Union ( const List<CFFactor>&, const List<CFFactor>& );
    51   template int operator == ( const Factor<CanonicalForm>&, const Factor<CanonicalForm>& );
    52 
    53   template CanonicalForm tmax ( const CanonicalForm&, const CanonicalForm& );
    54   template CanonicalForm tmin ( const CanonicalForm&, const CanonicalForm& );
    55 
    56   template Variable tmax ( const Variable&, const Variable& );
    57   template Variable tmin ( const Variable&, const Variable& );
    58 
    59   template int tmax ( const int&, const int& );
    60   template int tmin ( const int&, const int& );
    61   template int tabs ( const int& );
    62 
    63   int initializeGMP()
    64   { return 1; }
    65 #endif
    6626
    6727#pragma GCC diagnostic ignored "-Wwrite-strings"
  • libpolys/configure.ac

    r0654122 r643b1eb  
    2020# Checks for libraries.
    2121LB_CHECK_GMP(3.1.1,,AC_MSG_ERROR([Unable to find GMP on your machine: please use --with-gmp=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
     22
     23LB_CHECK_NTL(5.0,,AC_MSG_WARN([Unable to find NTL (which is strongly recommended) on your machine: please use --with-ntl=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
    2224
    2325# Checks for library functions.
Note: See TracChangeset for help on using the changeset viewer.