Lines Matching +full:polly +full:- +full:build
1 # Check if this is a in tree build.
3 project(Polly)
7 set(LLVM_SUBPROJECT_TITLE "Polly")
38 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
41 # Set directory for polly-isl-test.
67 # -fno-exceptions -fno-rtti
68 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -fno-exceptions -fno-rtti")
70 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHs-c-")
71 add_definitions("-D_HAS_EXCEPTIONS=0")
73 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-rtti")
78 option(POLLY_BUNDLED_ISL "Use the bundled version of libisl included in Polly" ON)
121 option(LLVM_POLLY_LINK_INTO_TOOLS "Statically link Polly into tools (if available)" ${link_into_tools_default})
123 add_definitions( -D_GNU_SOURCE )
135 configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/include/polly/Config/config.h.cmake
136 ${POLLY_BINARY_DIR}/include/polly/Config/config.h )
138 # Add target to check formatting of polly files
147 add_custom_command(OUTPUT polly-check-format${i}
148 COMMAND clang-format -sort-includes -style=llvm ${file} | diff -u ${file} -
152 list(APPEND check_format_depends "polly-check-format${i}")
154 add_custom_command(OUTPUT polly-update-format${i}
155 COMMAND clang-format -sort-includes -i -style=llvm ${file}
159 list(APPEND update_format_depends "polly-update-format${i}")
164 add_custom_target(polly-check-format DEPENDS ${check_format_depends})
165 set_target_properties(polly-check-format PROPERTIES FOLDER "Polly/Metatargets")
167 add_custom_target(polly-update-format DEPENDS ${update_format_depends})
168 set_target_properties(polly-update-format PROPERTIES FOLDER "Polly/Metatargets")