[polly] r240315 - Make CMake generate isl/stdint.h

Michael Kruse llvm at meinersbur.de
Mon Jun 22 11:47:39 PDT 2015

Author: meinersbur
Date: Mon Jun 22 13:47:39 2015
New Revision: 240315

URL: http://llvm.org/viewvc/llvm-project?rev=240315&view=rev
Make CMake generate isl/stdint.h

ISL's ./configure examines the system for the stdint.h to include and
creates a header file that points to it. On C99-compatible system

    #include <stdint.h>

is always valid such there no need for system introspection. This should
unbreak the build bots.


Modified: polly/trunk/lib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CMakeLists.txt?rev=240315&r1=240314&r2=240315&view=diff
--- polly/trunk/lib/CMakeLists.txt (original)
+++ polly/trunk/lib/CMakeLists.txt Mon Jun 22 13:47:39 2015
@@ -77,6 +77,7 @@ check_c_source_compiles("
 # Write configure result
 configure_file("External/gitversion.h.cmake" "${ISL_BINARY_DIR}/gitversion.h")
 configure_file("External/isl_config.h.cmake" "${ISL_BINARY_DIR}/isl_config.h")
+file(WRITE "${ISL_BINARY_DIR}/isl/stdint.h" "#include <stdint.h>")
 # ISL files to compile

More information about the llvm-commits mailing list