view gub/specs/libgc.py @ 6512:ccc20ae889ca default tip guix

mingw::guile-2.0.7 builds.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 24 Mar 2016 08:03:39 +0100
parents 51850cb3bb0f
children
line wrap: on
line source

from gub import target
from gub import tools

class Libgc (target.AutoBuild):
    source = 'http://hboehm.info/gc/gc_source/gc-7.2alpha4.tar.gz&version=7.2.4'
    xsource = 'http://hboehm.info/gc/gc_source/gc-7.4.2.tar.gz'
    xsource = 'http://hboehm.info/gc/gc_source/gc-7.2.tar.gz'
    xsource = 'http://hboehm.info/gc/gc_source/gc6.8.tar.gz&version=6.8'
    configure_flags = target.AutoBuild.configure_flags + '--enable-threads=pthreads '

class Libgc__linux (Libgc):
    configure_flags = (Libgc.configure_flags
                       + 'CFLAGS=-fno-stack-protector ')

class Libgc__freebsd (Libgc):
    make_flags = 'THREADDLLIBS=-pthread'

class Libgc__freebsd__x86 (Libgc__freebsd):
    source = 'http://hboehm.info/gc/gc_source/gc6.8.tar.gz&version=6.8'
    #patches = ['libgc-6.8-freebsd-x86_64.patch']

class Libgc__mingw (Libgc):
    dependencies = [
        'tools::autoconf',
        'tools::automake',
        'tools::libtool',
        #'pthreads-w32',
        ]
    patches = [
        #'libgc-6.8-mingw-pthreads.patch',
        #'libgc-7.2-mingw-pthreads.patch',
        #'libgc-7.2-automake-1.15.patch',
        'libgc-7.2-mingw-threads.patch',
        ]
    force_autoupdate = True
    #source = 'http://hboehm.info/gc/gc_source/gc6.8.tar.gz&version=6.8'
    source = 'http://hboehm.info/gc/gc_source/gc-7.2alpha4.tar.gz&version=7.2.4'

class Libgc (tools.AutoBuild, Libgc):
    pass