diff options
author | Tobias Grosser <tobias@grosser.es> | 2016-07-05 15:26:33 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2016-07-05 15:26:33 +0000 |
commit | d1e90f5929ea8b74e24e80e041e1e0b215a52f9c (patch) | |
tree | 3d8e83a2e663954650d86185fa3e1c34e8925f42 /polly | |
parent | e65b39ec09dc561d3d26e8b7d2a78ddbbf39f6bf (diff) | |
download | bcm5719-llvm-d1e90f5929ea8b74e24e80e041e1e0b215a52f9c.tar.gz bcm5719-llvm-d1e90f5929ea8b74e24e80e041e1e0b215a52f9c.zip |
cmake: do not check-format anything in lib/External
There is no need to specifically match for isl, but we can exclude anything in
lib/External from formatting as we assume that externally contributed code
should always match the upstream code. This simplifies the cmake script and
allows additional external projects to be added without the need to explicitly
exclude them from formatting.
llvm-svn: 274557
Diffstat (limited to 'polly')
-rw-r--r-- | polly/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/polly/CMakeLists.txt b/polly/CMakeLists.txt index a998738f444..250f8e5dad5 100644 --- a/polly/CMakeLists.txt +++ b/polly/CMakeLists.txt @@ -169,10 +169,8 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/include/polly/Config/config.h.cmake # Add target to check formatting of polly files file( GLOB_RECURSE files *.h lib/*.cpp lib/*.c tools/*.cpp tools/*.c tools/*.h) file( GLOB_RECURSE jsonfiles lib/JSON/*.h lib/JSON/*.cpp) -file( GLOB_RECURSE islfiles lib/External/isl/*.h lib/External/isl/*.c - lib/External/isl/include/isl/*.h lib/External/isl/imath/*.h - lib/External/isl/imath/*.c) -list( REMOVE_ITEM files ${jsonfiles} ${islfiles}) +file( GLOB_RECURSE external lib/External/*.h lib/External/*.c) +list( REMOVE_ITEM files ${jsonfiles} ${external}) set(check_format_depends) set(update_format_depends) |