summaryrefslogtreecommitdiffstats
path: root/src/gcc-isl.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-10-19 07:12:53 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-10-19 07:13:49 (GMT)
commitaadc5cea1ea92b9df0c2961a4d31c6561047bba6 (patch)
tree7af47ccb77d70933b372acaa12c17fe6d525e088 /src/gcc-isl.mk
parent2b82342590795068e41ff72ebbe4d53889475e82 (diff)
downloadmxe-aadc5cea1ea92b9df0c2961a4d31c6561047bba6.zip
mxe-aadc5cea1ea92b9df0c2961a4d31c6561047bba6.tar.gz
mxe-aadc5cea1ea92b9df0c2961a4d31c6561047bba6.tar.bz2
add packages cloog isl and use for gcc optimisations
Diffstat (limited to 'src/gcc-isl.mk')
-rw-r--r--src/gcc-isl.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gcc-isl.mk b/src/gcc-isl.mk
new file mode 100644
index 0000000..3a46a18
--- /dev/null
+++ b/src/gcc-isl.mk
@@ -0,0 +1,27 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+PKG := gcc-isl
+$(PKG)_IGNORE = $(isl_IGNORE)
+$(PKG)_VERSION = $(isl_VERSION)
+$(PKG)_CHECKSUM = $(isl_CHECKSUM)
+$(PKG)_SUBDIR = $(isl_SUBDIR)
+$(PKG)_FILE = $(isl_FILE)
+$(PKG)_URL = $(isl_URL)
+$(PKG)_URL_2 = $(isl_URL_2)
+$(PKG)_DEPS := gcc-gmp
+
+define $(PKG)_UPDATE
+ echo $(isl_VERSION)
+endef
+
+define $(PKG)_BUILD
+ mkdir '$(1).build'
+ cd '$(1).build' && '$(1)/configure' \
+ --prefix='$(PREFIX)' \
+ --with-gmp-prefix='$(PREFIX)'
+ $(MAKE) -C '$(1).build' -j '$(JOBS)'
+ $(MAKE) -C '$(1).build' -j 1 install
+endef
+
+$(PKG)_BUILD_$(BUILD) =