1 Add CMake related files missing from the release tarball
3 Due to a bug in the cloog release, a few files were missing from the
4 release tarball. This patch re-adds those files, which are needed for
5 the build to work. This patch can be dropped when cloog is bumped.
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 Index: b/cmake/isl-config.cmake
10 ===================================================================
12 +++ b/cmake/isl-config.cmake
14 +# Try to find the isl library
16 +# ISL_FOUND - System has isl lib
17 +# ISL_INCLUDE_DIR - The isl include directory
18 +# ISL_LIBRARY - Library needed to use isl
21 +if (ISL_INCLUDE_DIR AND ISL_LIBRARY)
22 + # Already in cache, be silent
23 + set(ISL_FIND_QUIETLY TRUE)
26 +find_path(ISL_INCLUDE_DIR NAMES isl/version.h)
27 +find_library(ISL_LIBRARY NAMES isl)
29 +if (ISL_LIBRARY AND ISL_INCLUDE_DIR)
30 + message(STATUS "Library isl found =) ${ISL_LIBRARY}")
32 + message(STATUS "Library isl not found =(")
35 +include(FindPackageHandleStandardArgs)
36 +FIND_PACKAGE_HANDLE_STANDARD_ARGS(ISL DEFAULT_MSG ISL_INCLUDE_DIR ISL_LIBRARY)
38 +mark_as_advanced(ISL_INCLUDE_DIR ISL_LIBRARY)
39 Index: b/cmake/cloog-isl-config.cmake
40 ===================================================================
42 +++ b/cmake/cloog-isl-config.cmake
44 +# Try to find the cloog-isl library
46 +# CLOOG_ISL_FOUND - System has cloog-isl lib
47 +# CLOOG_ISL_INCLUDE_DIR - The cloog-isl include directory
48 +# CLOOG_ISL_LIBRARY - Library needed to use cloog-isl
51 +if (CLOOG_ISL_INCLUDE_DIR AND CLOOG_ISL_LIBRARY)
52 + # Already in cache, be silent
53 + set(CLOOG_ISL_FIND_QUIETLY TRUE)
56 +find_path(CLOOG_ISL_INCLUDE_DIR NAMES cloog/isl/cloog.h)
57 +find_library(CLOOG_ISL_LIBRARY NAMES cloog-isl)
59 +if (CLOOG_ISL_LIBRARY AND CLOOG_ISL_INCLUDE_DIR)
60 + message(STATUS "Library cloog-isl found =) ${CLOOG_ISL_LIBRARY}")
62 + message(STATUS "Library cloog-isl not found =(")
66 +include(FindPackageHandleStandardArgs)
67 +FIND_PACKAGE_HANDLE_STANDARD_ARGS(CLOOG_ISL DEFAULT_MSG CLOOG_ISL_INCLUDE_DIR CLOOG_ISL_LIBRARY)
69 +mark_as_advanced(CLOOG_ISL_INCLUDE_DIR CLOOG_ISL_LIBRARY)