The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / cloog / 0001-add-missing-files.patch
1 Add CMake related files missing from the release tarball
2
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.
6
7 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
9 Index: b/cmake/isl-config.cmake
10 ===================================================================
11 --- /dev/null
12 +++ b/cmake/isl-config.cmake
13 @@ -0,0 +1,25 @@
14 +# Try to find the isl library
15 +
16 +# ISL_FOUND       - System has isl lib
17 +# ISL_INCLUDE_DIR - The isl include directory
18 +# ISL_LIBRARY     - Library needed to use isl
19 +
20 +
21 +if (ISL_INCLUDE_DIR AND ISL_LIBRARY)
22 +       # Already in cache, be silent
23 +       set(ISL_FIND_QUIETLY TRUE)
24 +endif()
25 +
26 +find_path(ISL_INCLUDE_DIR NAMES isl/version.h)
27 +find_library(ISL_LIBRARY NAMES isl)
28 +
29 +if (ISL_LIBRARY AND ISL_INCLUDE_DIR)
30 +       message(STATUS "Library isl found =) ${ISL_LIBRARY}")
31 +else()
32 +       message(STATUS "Library isl not found =(")
33 +endif()
34 +
35 +include(FindPackageHandleStandardArgs)
36 +FIND_PACKAGE_HANDLE_STANDARD_ARGS(ISL DEFAULT_MSG ISL_INCLUDE_DIR ISL_LIBRARY)
37 +
38 +mark_as_advanced(ISL_INCLUDE_DIR ISL_LIBRARY)
39 Index: b/cmake/cloog-isl-config.cmake
40 ===================================================================
41 --- /dev/null
42 +++ b/cmake/cloog-isl-config.cmake
43 @@ -0,0 +1,26 @@
44 +# Try to find the cloog-isl library
45 +
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
49 +
50 +
51 +if (CLOOG_ISL_INCLUDE_DIR AND CLOOG_ISL_LIBRARY)
52 +       # Already in cache, be silent
53 +       set(CLOOG_ISL_FIND_QUIETLY TRUE)
54 +endif()
55 +
56 +find_path(CLOOG_ISL_INCLUDE_DIR NAMES cloog/isl/cloog.h)
57 +find_library(CLOOG_ISL_LIBRARY NAMES cloog-isl)
58 +
59 +if (CLOOG_ISL_LIBRARY AND CLOOG_ISL_INCLUDE_DIR)
60 +       message(STATUS "Library cloog-isl found =) ${CLOOG_ISL_LIBRARY}")
61 +else()
62 +       message(STATUS "Library cloog-isl not found =(")
63 +endif()
64 +
65 +
66 +include(FindPackageHandleStandardArgs)
67 +FIND_PACKAGE_HANDLE_STANDARD_ARGS(CLOOG_ISL DEFAULT_MSG CLOOG_ISL_INCLUDE_DIR CLOOG_ISL_LIBRARY)
68 +
69 +mark_as_advanced(CLOOG_ISL_INCLUDE_DIR CLOOG_ISL_LIBRARY)