Ticket #11377: trac_11377-extraflint-dependencies.patch

File trac_11377-extraflint-dependencies.patch, 4.2 KB (added by fbissey, 8 years ago)

I missed a number of flint dependencies in the original patch. Apply trac_11377-build_module_listpy.patchafter

  • module_list.py

    # HG changeset patch
    # User Francois Bissey <francois.bissey@canterbury.ac.nz>
    # Date 1308009499 -43200
    # Node ID 46e11daf8528ac30c693823068fd6475ce6545d3
    # Parent  8d12a178231154712984b1fc9c91aaea536252bc
    #11377 Part 2. I had forgotten a number of flint dependencies.
    
    diff --git a/module_list.py b/module_list.py
    a b  
    411411    Extension('sage.groups.perm_gps.partn_ref.automorphism_group_canonical_label',
    412412              sources = ['sage/groups/perm_gps/partn_ref/automorphism_group_canonical_label.pyx'],
    413413              libraries = ['gmp', 'flint'],
    414               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     414              include_dirs = [SAGE_INC + 'FLINT/'],
    415415              extra_compile_args = ['-std=c99'],
    416               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     416              depends = flint_depends),
    417417
    418418    Extension('sage.groups.perm_gps.partn_ref.double_coset',
    419419              sources = ['sage/groups/perm_gps/partn_ref/double_coset.pyx'],
    420420              libraries = ['gmp', 'flint'],
    421               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     421              include_dirs = [SAGE_INC + 'FLINT/'],
    422422              extra_compile_args = ['-std=c99'],
    423               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     423              depends = flint_depends),
    424424
    425425    Extension('sage.groups.perm_gps.partn_ref.refinement_binary',
    426426              sources = ['sage/groups/perm_gps/partn_ref/refinement_binary.pyx'],
    427427              libraries = ['gmp', 'flint'],
    428               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     428              include_dirs = [SAGE_INC + 'FLINT/'],
    429429              extra_compile_args = ['-std=c99'],
    430               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     430              depends = flint_depends),
    431431
    432432    Extension('sage.groups.perm_gps.partn_ref.refinement_graphs',
    433433              sources = ['sage/groups/perm_gps/partn_ref/refinement_graphs.pyx'],
    434434              libraries = ['gmp', 'flint'],
    435               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     435              include_dirs = [SAGE_INC + 'FLINT/'],
    436436              extra_compile_args = ['-std=c99'],
    437               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     437              depends = flint_depends),
    438438
    439439    Extension('sage.groups.perm_gps.partn_ref.refinement_lists',
    440440              sources = ['sage/groups/perm_gps/partn_ref/refinement_lists.pyx'],
    441441              libraries = ['gmp', 'flint'],
    442               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     442              include_dirs = [SAGE_INC + 'FLINT/'],
    443443              extra_compile_args = ['-std=c99'],
    444               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     444              depends = flint_depends),
    445445
    446446    Extension('sage.groups.perm_gps.partn_ref.refinement_matrices',
    447447              sources = ['sage/groups/perm_gps/partn_ref/refinement_matrices.pyx'],
    448448              libraries = ['gmp', 'flint'],
    449               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     449              include_dirs = [SAGE_INC + 'FLINT/'],
    450450              extra_compile_args = ['-std=c99'],
    451               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     451              depends = flint_depends),
    452452
    453453    Extension('sage.groups.perm_gps.partn_ref.refinement_python',
    454454              sources = ['sage/groups/perm_gps/partn_ref/refinement_python.pyx'],
    455455              libraries = ['gmp', 'flint'],
    456               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     456              include_dirs = [SAGE_INC + 'FLINT/'],
    457457              extra_compile_args = ['-std=c99'],
    458               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     458              depends = flint_depends),
    459459
    460460    ################################
    461461    ##
     
    15811581    Extension('sage.sets.disjoint_set',
    15821582              sources = ['sage/sets/disjoint_set.pyx'],
    15831583              libraries = ['gmp', 'flint'],
    1584               include_dirs = [SAGE_ROOT + '/local/include/FLINT/'],
     1584              include_dirs = [SAGE_INC + 'FLINT/'],
    15851585              extra_compile_args = ['-std=c99'],
    1586               depends = [SAGE_ROOT + "/local/include/FLINT/flint.h"]),
     1586              depends = flint_depends),
    15871587
    15881588    ################################
    15891589    ##