diff src/gcc-cloog.mk @ 3496:3c7b3646d0b3

update to gcc 4.8.2 and allow building for MinGW-64
author John W. Eaton <jwe@octave.org>
date Mon, 03 Feb 2014 18:16:02 -0500
parents
children f8e5b89bb3e3
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/gcc-cloog.mk	Mon Feb 03 18:16:02 2014 -0500
@@ -0,0 +1,27 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG             := gcc-cloog
+$(PKG)_IGNORE    = $(cloog_IGNORE)
+$(PKG)_VERSION   = $(cloog_VERSION)
+$(PKG)_CHECKSUM  = $(cloog_CHECKSUM)
+$(PKG)_SUBDIR    = $(cloog_SUBDIR)
+$(PKG)_FILE      = $(cloog_FILE)
+$(PKG)_URL       = $(cloog_URL)
+$(PKG)_URL_2     = $(cloog_URL_2)
+$(PKG)_DEPS     := gcc-gmp gcc-isl
+
+define $(PKG)_UPDATE
+    echo $(cloog_VERSION)
+endef
+
+define $(PKG)_BUILD
+    mkdir '$(1).build'
+    cd    '$(1).build' && '$(1)/configure' \
+        --prefix='$(BUILD_TOOLS_PREFIX)' \
+        $(ENABLE_SHARED_OR_STATIC) \
+        --with-gmp-prefix='$(BUILD_TOOLS_PREFIX)' \
+        --with-isl-prefix='$(BUILD_TOOLS_PREFIX)'
+    $(MAKE) -C '$(1).build' -j '$(JOBS)'
+    $(MAKE) -C '$(1).build' -j 1 install
+endef