Changes between Version 124 and Version 135 of Ticket #22626


Ignore:
Timestamp:
11/09/18 10:23:51 (3 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22626

    • Property Authors changed from Nicolas M. Thiéry, ... to Nicolas M. Thiéry, Dima Pasechnik, Jeroen Demeyer
  • Ticket #22626 – Description

    v124 v135  
    11GAP 4.9 comes with a completely rewritten build system that will simplify
    2 our packaging. In fact, it may well enable Sage to use a vanilla GAP
    3 installation as provided by the distribution.
    4 
    5 The GAP team will provide libGAP with GAP 4.10.
    6 
    7 The branch attached to this ticket updates Sage to run on top of
    8 of a recent GAP master branch, close to the future 4.10.
     2our packaging. In particular, libGAP no longer needs to be a separate package.
    93
    104What the branch does:
     
    4135
    4236Status: currently broken  - crashes deep inside GAP error handling system after few simple commands.
    43 
    44 TODO:
    45 
    46 - ???
    47 
    48 To make a GAP package: get their sources from https://github.com/gap-system/gap, then run
    49 {{{
    50 ./autogen.sh
    51 ./configure --prefix=$SAGE_LOCAL
    52 make bootstrap-pkg-minimal
    53 make libgap
    54 make install
    55 }}}
    56 
    57 
    58 Testing libgap in GAP (there are few tests written in C):
    59 {{{
    60 make testlibgap
    61 }}}
    62 
    63 Build and install a tardist for Sage, and rebuild the spkg:
    64 {{{
    65 make distclean
    66 ./autogen.sh
    67 ./configure
    68 make manuals
    69 make clean
    70 
    71 (cd ..; tar zcvf $SAGE/upstream/$GAP.tar.gz --exclude .git $GAP)
    72 
    73 sage --package fix-checksum
    74 sage -f gap                      # -s
    75 }}}
    76 
    77 Header files:
    78 - Copy GAP's header files, as well as gen/config.h to $SAGE/local/include
    79 - Fix them to adapt the include path: #include <src/...> -> #include <gap/...>
    80 - **Replace T_INT by 0 in TNUM_OBJ, around line 414 of objects.h**
    81 
    82 Run:
    83 {{{
    84 sage -b
    85 }}}
    8637
    8738Basic tests on libgap:
     
    13687- Max Horn reviewed the list of GAP symbols we use in Sage; some have already changed in 4.9. See this [[https://hackmd.io/emNi76svSWCh1fBeLKqPdA?edit#|pad]] for notes.
    13788
    138 Tarball : https://github.com/dimpase/gap/releases/download/dev/gap-4.dev.tar.gz
     89'''Tarball''': https://www.gap-system.org/pub/gap/gap-4.10/tar.bz2/gap-4.10.0.tar.bz2