Changeset 57c6ed2 in git


Ignore:
Timestamp:
Mar 25, 2011, 8:03:49 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
cf3743ac8056f3ef32435fb19bfb2336330b8591
Parents:
c45b2dc39dc745a56b92c3c59742e2fbe4f23e07
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-03-25 20:03:49+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:13+01:00
Message:
fix: debug/optimized for polys
Location:
libpolys/polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/Makefile.am

    rc45b2dc r57c6ed2  
    11ACLOCAL_AMFLAGS = -I m4
    22CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
    3 AM_CFLAGS       = -O3 -w -fomit-frame-pointer ${PIPE}
    4 AM_CXXFLAGS     = -O3 -w -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS}
     3
     4
     5DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long
     6
     7NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer
     8NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer --no-rtti
     9NODEBUGCPPFLAGS = -DNDEBUG -DOM_NDEBUG
     10
     11AM_CPPFLAGS     = -DHAVE_CONFIG_H
     12
     13AM_CFLAGS       = ${PIPE}
     14AM_CXXFLAGS     = ${PIPE} ${CXXTEMPLFLAGS}
     15
    516INCLUDES        = -I${top_srcdir}/.. -I${top_srcdir}/../.. -I${top_builddir}/.. -I${srcdir} -I${includedir}
    6 AM_CPPFLAGS     = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
    717AM_LDFLAGS      = -L${top_builddir}/../coeffs -L${top_builddir}/../reporter -L${top_builddir}/../resources -L${top_builddir}/../../omalloc -L${builddir}
    8 
    9 ## we removed -Dix86_Linux from AM_CPPFLAGS
    1018
    1119SOURCES = \
     
    2230
    2331include_HEADERS = \
    24         monomials/ring.h \
     32        monomials/ring.h monomials/nc.h \
    2533        pInline0.h operations/pShallowCopyDelete.h \
    2634        templates/p_MemAdd.h templates/p_MemCmp.h templates/p_MemCopy.h operations/p_Mult_q.h \
     
    3038        kbuckets.h sbuckets.h simpleideals.h weight.h
    3139
    32 P_PROCS_CPPFLAGS_COMMON = -DDYNAMIC_VERSION
    33 libp_Procs_FieldGeneral_la_CPPFLAGS = -Dp_Procs_FieldGeneral ${P_PROCS_CPPFLAGS_COMMON}
    34 libp_Procs_FieldIndep_la_CPPFLAGS = -Dp_Procs_FieldIndep ${P_PROCS_CPPFLAGS_COMMON}
    35 libp_Procs_FieldQ_la_CPPFLAGS = -Dp_Procs_FieldQ ${P_PROCS_CPPFLAGS_COMMON}
    36 libp_Procs_FieldZp_la_CPPFLAGS = -Dp_Procs_FieldZp ${P_PROCS_CPPFLAGS_COMMON}
     40P_PROCS_CPPFLAGS_COMMON = -DHAVE_CONFIG_H -DDYNAMIC_VERSION
     41
     42libp_Procs_FieldGeneral_la_CPPFLAGS = -Dp_Procs_FieldGeneral ${P_PROCS_CPPFLAGS_COMMON} ${NODEBUGCPPFLAGS}
     43libp_Procs_FieldIndep_la_CPPFLAGS = -Dp_Procs_FieldIndep ${P_PROCS_CPPFLAGS_COMMON} ${NODEBUGCPPFLAGS}
     44libp_Procs_FieldQ_la_CPPFLAGS = -Dp_Procs_FieldQ ${P_PROCS_CPPFLAGS_COMMON} ${NODEBUGCPPFLAGS}
     45libp_Procs_FieldZp_la_CPPFLAGS = -Dp_Procs_FieldZp ${P_PROCS_CPPFLAGS_COMMON} ${NODEBUGCPPFLAGS}
     46
     47libp_Procs_FieldGeneral_g_la_CPPFLAGS = -Dp_Procs_FieldGeneral ${P_PROCS_CPPFLAGS_COMMON}
     48libp_Procs_FieldIndep_g_la_CPPFLAGS = -Dp_Procs_FieldIndep ${P_PROCS_CPPFLAGS_COMMON}
     49libp_Procs_FieldQ_g_la_CPPFLAGS = -Dp_Procs_FieldQ ${P_PROCS_CPPFLAGS_COMMON}
     50libp_Procs_FieldZp_g_la_CPPFLAGS = -Dp_Procs_FieldZp ${P_PROCS_CPPFLAGS_COMMON}
     51
     52libp_Procs_FieldGeneral_la_CXXFLAGS = ${NODEBUGCXXFLAGS}
     53libp_Procs_FieldIndep_la_CXXFLAGS = ${NODEBUGCXXFLAGS}
     54libp_Procs_FieldQ_la_CXXFLAGS = ${NODEBUGCXXFLAGS}
     55libp_Procs_FieldZp_la_CXXFLAGS = ${NODEBUGCXXFLAGS}
     56
     57libp_Procs_FieldGeneral_g_la_CXXFLAGS = ${DEBUGCXXFLAGS}
     58libp_Procs_FieldIndep_g_la_CXXFLAGS = ${DEBUGCXXFLAGS}
     59libp_Procs_FieldQ_g_la_CXXFLAGS = ${DEBUGCXXFLAGS}
     60libp_Procs_FieldZp_g_la_CXXFLAGS = ${DEBUGCXXFLAGS}
     61
    3762
    3863P_PROCS = templates/p_Procs_Lib.cc
     
    4368libp_Procs_FieldZp_la_SOURCES = ${P_PROCS}
    4469
    45 #-g -Wextra -Wall -pedantic -Wno-long-long
     70libp_Procs_FieldGeneral_g_la_SOURCES = ${P_PROCS}
     71libp_Procs_FieldIndep_g_la_SOURCES = ${P_PROCS}
     72libp_Procs_FieldQ_g_la_SOURCES = ${P_PROCS}
     73libp_Procs_FieldZp_g_la_SOURCES = ${P_PROCS}
     74
     75
    4676
    4777lib_LIBRARIES=libpolys.a libpolys_g.a
     
    4979moduledir = ${libdir}/singular/MOD/
    5080
    51 module_LTLIBRARIES=libp_Procs_FieldGeneral.la libp_Procs_FieldIndep.la libp_Procs_FieldQ.la libp_Procs_FieldZp.la
    52 #               libp_Procs_FieldGeneral_g.la libp_Procs_FieldIndep_g.la libp_Procs_FieldQ_g.la libp_Procs_FieldZp_g.la
     81module_LTLIBRARIES=libp_Procs_FieldGeneral.la libp_Procs_FieldIndep.la libp_Procs_FieldQ.la libp_Procs_FieldZp.la \
     82                   libp_Procs_FieldGeneral_g.la libp_Procs_FieldIndep_g.la libp_Procs_FieldQ_g.la libp_Procs_FieldZp_g.la
    5383
    5484libpolys_a_SOURCES = ${SOURCES}
     
    6191libpolys_g_a_DEPENDENCIES = $(DL_KERNEL_OBJECT_DEBUG)
    6292
     93
     94libpolys_a_includedir  =$(includedir)/libpolys/polys
     95libpolys_g_a_includedir=$(includedir)/libpolys/polys
     96
    6397EXTRA_PROGRAMS = templates/p_Procs_Generate
    6498templates_p_Procs_Generate_SOURCES = templates/p_Procs_Generate.cc
     99
     100
     101###test_LDADD   = libcoeffs.a -lresources -lreporter -lgmp -lomalloc
     102
     103templates_p_Procs_Generate_CFLAGS   = ${NODEBUGCFLAGS}
     104templates_p_Procs_Generate_CXXFLAGS = ${NODEBUGCXXFLAGS}
     105templates_p_Procs_Generate_CPPFLAGS = ${NODEBUGCPPFLAGS}
     106templates_p_Procs_Generate_LDADD    = -lreporter
     107
    65108
    66109templates/p_Procs.inc: templates/p_Procs_Generate
    67110        ${builddir}/templates/p_Procs_Generate > ${builddir}/templates/p_Procs.inc
    68111
    69 libpolys_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long
     112libpolys_g_a_CXXFLAGS = ${DEBUGCXXFLAGS}
    70113#  -fdiagnostics-show-option
    71114
  • libpolys/polys/configure.ac

    rc45b2dc r57c6ed2  
    33
    44AC_PREREQ([2.65])
    5 AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
     5AC_INIT([polys], [3.1.2.sw])
    66AC_CONFIG_AUX_DIR([.])
    77AM_INIT_AUTOMAKE
     
    1717AC_LIBTOOL_DLOPEN
    1818AC_PROG_LIBTOOL
     19AM_PROG_CC_C_O
    1920
    2021# Checks for libraries.
Note: See TracChangeset for help on using the changeset viewer.