Ticket #13806: trac_13806.2.patch

File trac_13806.2.patch, 1.5 KB (added by jpflori, 8 years ago)

New version completly discarding Cephes use on Cygwin.

  • module_list.py

    # HG changeset patch
    # User Jean-Pierre Flori <jean-pierre.flor@ssi.gouv.fr>
    # Date 1355912378 -3600
    # Node ID 7647134d39c4af7c0e0883e0567c357b86a37ab1
    # Parent  23061edf00176562a9d754123cfebbb8e3f631d3
    #13806: Remove unneeded cephes dependencies on Cygwin
    
    diff --git a/module_list.py b/module_list.py
    a b  
    13681368    Extension('sage.rings.complex_double',
    13691369              sources = ['sage/rings/complex_double.pyx'],
    13701370              extra_compile_args=["-std=c99",  "-D_XPG6"],
    1371               libraries = (['gsl', BLAS, BLAS2, 'pari', 'gmp'] +
    1372                            uname_specific('CYGWIN', ['mc', 'md'], []) +
    1373                            ['m'])),
     1371              libraries = (['gsl', BLAS, BLAS2, 'pari', 'gmp', 'm'])),
    13741372
    13751373    Extension('sage.rings.complex_interval',
    13761374              sources = ['sage/rings/complex_interval.pyx'],
  • sage/ext/gen_interpreters.py

    diff --git a/sage/ext/gen_interpreters.py b/sage/ext/gen_interpreters.py
    a b  
    41434143
    41444144    Extension('sage.ext.interpreters.wrapper_cdf',
    41454145              sources = ['sage/ext/interpreters/wrapper_cdf.pyx',
    4146                          'sage/ext/interpreters/interp_cdf.c'],
    4147               libraries = (['mc', 'md'] if 'CYGWIN' in os.uname()[0] else []),
    4148               ),
     4146                         'sage/ext/interpreters/interp_cdf.c'],),
    41494147
    41504148    Extension('sage.ext.interpreters.wrapper_rr',
    41514149              sources = ['sage/ext/interpreters/wrapper_rr.pyx',