#6391: libGAP!  -- create a Cython library interface to gap
----------------------------------------------------------------------------+
       Reporter:  was                                                       |   
      Owner:  was                                                     
           Type:  enhancement                                               |   
     Status:  needs_review                                            
       Priority:  major                                                     |   
  Milestone:  sage-5.3                                                
      Component:  group theory                                              |   
 Resolution:                                                          
       Keywords:                                                            |   
Work issues:                                                          
Report Upstream:  N/A                                                       |   
  Reviewers:  Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein
        Authors:  Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein  |   
  Merged in:                                                          
   Dependencies:  #13211                                                    |   
   Stopgaps:                                                          
----------------------------------------------------------------------------+

Comment (by vbraun):

 The `sage/libs/gap/test/main.c` is only for instructional purposes, it
 demonstrates how to build a standalone binary so you can run libGAP under
 a debugger/valgrind without Sage. It doesn't exercise anything thats not
 already in doctests.

 One could add a `spkg-check` to test `src/test` in the spkg, but they
 again don't exercise anything thats not covered by libGAP doctests.

 I've removed the upstream-gap-x.y.z directories from the spkg, the `make-
 spkg.sh` script copied them there accidentally.

 Gap links against MPIR just fine, the only issue is with a version check
 that I reported here: https://groups.google.com/d/topic/mpir-
 devel/X48SfwGkSd8/discussion. This is why the `spkg-install` adds
 `-D__GMP_MP_RELEASE=50002` to the `CFLAGS`:
 {{{
 (sage-sh) vbraun@volker-desktop:spkg$ ldd ~/Sage/sage/local/lib/libgap.so
         linux-vdso.so.1 =>  (0x00007fff8ebff000)
         libgmp.so.7 =>
 /home/vbraun/opt/sage-5.4.beta1/local/lib/libgmp.so.7 (0x00007f8a82885000)
         libc.so.6 => /lib64/libc.so.6 (0x00007f8a824a9000)
         /lib64/ld-linux-x86-64.so.2 (0x00000036c4000000)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6391#comment:104>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to