SF.net SVN: gar:[23241] csw/mgar/pkg/cloog/trunk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Mar 16 22:27:10 CET 2014


Revision: 23241
          http://sourceforge.net/p/gar/code/23241
Author:   wahwah
Date:     2014-03-16 21:27:06 +0000 (Sun, 16 Mar 2014)
Log Message:
-----------
cloog/trunk: Version bump, workaround added from https://groups.google.com/d/msg/cloog-development/2XBdvziVrNM/YRnx1bFSSFQJ

Modified Paths:
--------------
    csw/mgar/pkg/cloog/trunk/Makefile
    csw/mgar/pkg/cloog/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/cloog/trunk/files/cloog-isl-config.cmake
    csw/mgar/pkg/cloog/trunk/files/isl-config.cmake

Modified: csw/mgar/pkg/cloog/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cloog/trunk/Makefile	2014-03-16 20:53:55 UTC (rev 23240)
+++ csw/mgar/pkg/cloog/trunk/Makefile	2014-03-16 21:27:06 UTC (rev 23241)
@@ -3,7 +3,7 @@
 # $Id$
 
 NAME = cloog
-VERSION = 0.18.0
+VERSION = 0.18.2
 GARTYPE = v2
 DESCRIPTION = Code Generator in the Polyhedral Model
 define BLURB
@@ -11,6 +11,8 @@
 VENDOR_URL = http://www.cloog.org/
 MASTER_SITES = http://www.bastoul.net/cloog/pages/download/
 DISTFILES  = $(NAME)-$(VERSION).tar.gz
+DISTFILES += isl-config.cmake
+DISTFILES += cloog-isl-config.cmake
 CONFIGURE_ARGS = $(DIRPATHS)
 BUILD64_LIBS_ONLY = 1
 GARCOMPILER = GNU
@@ -30,7 +32,7 @@
 SPKG_DESC_CSWlibcloog-isl4 += $(DESCRIPTION), libcloog-isl.so.4
 RUNTIME_DEP_PKGS_CSWlibcloog-isl4 += CSWlibgcc-s1
 RUNTIME_DEP_PKGS_CSWlibcloog-isl4 += CSWlibgmp10
-RUNTIME_DEP_PKGS_CSWlibcloog-isl4 += CSWlibisl7
+RUNTIME_DEP_PKGS_CSWlibcloog-isl4 += CSWlibisl10
 
 PACKAGES += CSWlibisl10
 PKGFILES_CSWlibisl10 += $(call baseisadirs,$(libdir),libisl\.so\.10(\.\d+)*)
@@ -54,3 +56,11 @@
 SKIPTEST = 1
 
 include gar/category.mk
+
+post-extract:
+	if [ -d $(WORKSRC) ]; then \
+		mkdir $(WORKSRC)/cmake; \
+		gcp -v $(WORKDIR)/isl-config.cmake $(WORKSRC)/cmake; \
+		gcp -v $(WORKDIR)/cloog-isl-config.cmake $(WORKSRC)/cmake; \
+	fi
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/cloog/trunk/checksums
===================================================================
--- csw/mgar/pkg/cloog/trunk/checksums	2014-03-16 20:53:55 UTC (rev 23240)
+++ csw/mgar/pkg/cloog/trunk/checksums	2014-03-16 21:27:06 UTC (rev 23241)
@@ -1 +1 @@
-be78a47bd82523250eb3e91646db5b3d  cloog-0.18.0.tar.gz
+69116aa6cd5e73f6b688d871875e1292  cloog-0.18.2.tar.gz

Added: csw/mgar/pkg/cloog/trunk/files/cloog-isl-config.cmake
===================================================================
--- csw/mgar/pkg/cloog/trunk/files/cloog-isl-config.cmake	                        (rev 0)
+++ csw/mgar/pkg/cloog/trunk/files/cloog-isl-config.cmake	2014-03-16 21:27:06 UTC (rev 23241)
@@ -0,0 +1,26 @@
+# Try to find the cloog-isl library
+
+# CLOOG_ISL_FOUND       - System has cloog-isl lib
+# CLOOG_ISL_INCLUDE_DIR - The cloog-isl include directory
+# CLOOG_ISL_LIBRARY     - Library needed to use cloog-isl
+
+
+if (CLOOG_ISL_INCLUDE_DIR AND CLOOG_ISL_LIBRARY)
+	# Already in cache, be silent
+	set(CLOOG_ISL_FIND_QUIETLY TRUE)
+endif()
+
+find_path(CLOOG_ISL_INCLUDE_DIR NAMES cloog/isl/cloog.h)
+find_library(CLOOG_ISL_LIBRARY NAMES cloog-isl)
+
+if (CLOOG_ISL_LIBRARY AND CLOOG_ISL_INCLUDE_DIR)
+	message(STATUS "Library cloog-isl found =) ${CLOOG_ISL_LIBRARY}")
+else()
+	message(STATUS "Library cloog-isl not found =(")
+endif()
+
+
+include(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(CLOOG_ISL DEFAULT_MSG CLOOG_ISL_INCLUDE_DIR CLOOG_ISL_LIBRARY)
+
+mark_as_advanced(CLOOG_ISL_INCLUDE_DIR CLOOG_ISL_LIBRARY)

Added: csw/mgar/pkg/cloog/trunk/files/isl-config.cmake
===================================================================
--- csw/mgar/pkg/cloog/trunk/files/isl-config.cmake	                        (rev 0)
+++ csw/mgar/pkg/cloog/trunk/files/isl-config.cmake	2014-03-16 21:27:06 UTC (rev 23241)
@@ -0,0 +1,25 @@
+# Try to find the isl library
+
+# ISL_FOUND       - System has isl lib
+# ISL_INCLUDE_DIR - The isl include directory
+# ISL_LIBRARY     - Library needed to use isl
+
+
+if (ISL_INCLUDE_DIR AND ISL_LIBRARY)
+	# Already in cache, be silent
+	set(ISL_FIND_QUIETLY TRUE)
+endif()
+
+find_path(ISL_INCLUDE_DIR NAMES isl/version.h)
+find_library(ISL_LIBRARY NAMES isl)
+
+if (ISL_LIBRARY AND ISL_INCLUDE_DIR)
+	message(STATUS "Library isl found =) ${ISL_LIBRARY}")
+else()
+	message(STATUS "Library isl not found =(")
+endif()
+
+include(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(ISL DEFAULT_MSG ISL_INCLUDE_DIR ISL_LIBRARY)
+
+mark_as_advanced(ISL_INCLUDE_DIR ISL_LIBRARY)

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list