Changeset b3cd39 in git
- Timestamp:
- Dec 4, 2012, 4:18:43 PM (11 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 3c4ee7ec0db9654a8c35db2316417a2de54aa6e6
- Parents:
- 6fcddc9d1ce61bb4b060ffc6ead86cd70694c9a8
- git-author:
- Alexander Dreyer <alexander.dreyer@itwm.fraunhofer.de>2012-12-04 16:18:43+01:00
- git-committer:
- Alexander Dreyer <alexander.dreyer@itwm.fraunhofer.de>2012-12-04 16:18:52+01:00
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r6fcddc9 rb3cd39 37 37 38 38 bin_SCRIPTS = libsingular-config 39 -
Singular/Makefile.am
r6fcddc9 rb3cd39 390 390 MOD: ${abs_top_builddir}/libpolys/polys/.libs 391 391 ln -snf ${abs_top_builddir}/libpolys/polys/.libs/ ${abs_builddir}/MOD 392 393 394 if PYTHON_USE 395 PACKAGES=pyobject 396 moduledir = $(bindir) 397 module_LTLIBRARIES=pyobject.so 398 pyobject_so_SOURCES = pyobject.cc 399 pyobject_so_LIBADD = libSingular.la -lnumeric -lkernel -lpolys -lcoeffs \ 400 -lreporter -lmisc $(FACTORY_LIBS) -lomalloc -lfindexec $(FLINT_LIBS) \ 401 $(NTL_LIBS) $(GMP_LIBS) ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} 402 403 404 pyobject_so_CPPFLAGS = ${AM_CPPFLAGS} @PYTHON_CSPEC@ ${Singular_LDADD} ${AMLDFLAGS} 405 pyobject_so_LDFLAGS = ${AMLDFLAGS} -module -avoid-version @PYTHON_LSPEC@ \ 406 -DHUHUHUHUHU ${pyobject_so_LIBADD} 407 endif -
Singular/blackbox.h
r6fcddc9 rb3cd39 58 58 59 59 /// default procedure blackboxDefaultOp3, to be called as "default:" branch 60 BOOLEAN blackbox DefaultOp3(int op,leftv l, leftv r1,leftv r2, leftv r3);60 BOOLEAN blackbox_default_Op3(int op,leftv l, leftv r1,leftv r2, leftv r3); 61 61 62 62 /// default procedure blackboxDefaultOpM, to be called as "default:" branch -
Singular/pyobject.cc
r6fcddc9 rb3cd39 15 15 #include "config.h" 16 16 #include <kernel/mod2.h> 17 //#include <misc/auxiliary.h> 18 //#include "newstruct.h" 19 20 #include <Python.h> 21 22 #include <Singular/ipid.h> 23 #include <Singular/blackbox.h> 24 #include <Singular/lists.h> 25 #include <Singular/ipid.h> 26 #include <Singular/ipshell.h> 27 #include <Singular/newstruct.h> 28 29 17 30 #include <misc/auxiliary.h> 18 #include "newstruct.h"19 31 20 32 #include <omalloc/omalloc.h> 21 33 22 34 #include <kernel/febase.h> 23 #include < kernel/intvec.h>35 #include <misc/intvec.h> 24 36 25 37 #include "subexpr.h" … … 27 39 #include "ipid.h" 28 40 #include "blackbox.h" 29 30 #include <Python.h> 41 #include "ipshell.h" 42 43 44 45 46 //#include <Python.h> 31 47 // #include <iterator> // std::distance 32 48 // #include <stdio.h> … … 587 603 return FALSE; 588 604 589 return blackbox DefaultOp3(op, res, arg1, arg2, arg3);605 return blackbox_default_Op3(op, res, arg1, arg2, arg3); 590 606 } 591 607 … … 687 703 688 704 // forward declaration 689 int iiAddCproc(char *libname, char *procname, BOOLEAN pstatic,690 BOOLEAN(*func)(leftv res, leftv v));705 //int iiAddCproc(char *libname, char *procname, BOOLEAN pstatic, 706 // BOOLEAN(*func)(leftv res, leftv v)); 691 707 692 708 #define ADD_C_PROC(name) iiAddCproc("", (char*)#name, FALSE, name); -
configure.ac
r6fcddc9 rb3cd39 58 58 LB_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)])) 59 59 LB_CHECK_FLINT(2.3,,AC_MSG_WARN([Unable to find FLINT (which is strongly recommended) on your machine: please use --with-flint=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)])) 60 61 AX_PYTHON_WITH() 62 AX_PYTHON_VERSION_ENSURE( [2.4] ) 63 AX_PYTHON_LSPEC() 64 AX_PYTHON_CSPEC() 60 65 61 66 AC_FUNC_ERROR_AT_LINE
Note: See TracChangeset
for help on using the changeset viewer.