view src/cloog.mk @ 3589:780be3cf5995

gcc-*: pcre=8.35, cloog=0.18.1, gmp=6.0.0, isl=0.12.2 * src/cloog.mk: update version 0.18.1. * src/gmp.mk: update version 6.0.0. * src/isl.mk: update version 0.12.2. * src/isl-1-fixes.patch: update patch for -no-undefined
author John Donoghue
date Fri, 25 Apr 2014 14:44:56 -0400
parents 40a589c403d6
children b7d6a53fa46c
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := cloog
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 0.18.1
$(PKG)_CHECKSUM := 2dc70313e8e2c6610b856d627bce9c9c3f848077
$(PKG)_SUBDIR   := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := ftp://gcc.gnu.org/pub/gcc/infrastructure/$($(PKG)_FILE)
$(PKG)_DEPS     := build-gcc gmp isl

# stick to tested versions from gcc
define $(PKG)_UPDATE
    $(WGET) -q -O- 'ftp://gcc.gnu.org/pub/gcc/infrastructure/' | \
    $(SED) -n 's,.*cloog-\([0-9][^>]*\)\.tar.*,\1,p' | \
    $(SORT) -V |
    tail -1
endef

define $(PKG)_BUILD
    cd '$(1)' && ./configure \
        --host='$(TARGET)' \
        $(ENABLE_SHARED_OR_STATIC) \
        --prefix='$(HOST_PREFIX)' \
        --with-gmp-prefix='$(HOST_PREFIX)' \
        --with-isl-prefix='$(HOST_PREFIX)'
    $(MAKE) -C '$(1)' -j '$(JOBS)'
    $(MAKE) -C '$(1)' -j '$(JOBS)' install
endef