Skip to content

Commit d7034c8

Browse files
committed
Overhaul CMake build. Normalize test outputs to support CI.
1 parent 9d03c35 commit d7034c8

File tree

317 files changed

+6718
-9152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+6718
-9152
lines changed

.github/workflows/presubmit.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
- uses: actions/checkout@v2
2828
- name: Install clang-tidy
2929
run: |
30-
sudo apt-get install llvm-9 clang-tidy-9
30+
sudo apt-get install llvm-9 clang-9 libclang-9-dev clang-tidy-9
31+
sudo apt-get remove llvm-8 clang-8 libclang-8-dev clang-tidy-8
3132
- name: Build Compilation DB
3233
run: |
33-
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DHALIDE_REQUIRE_LLVM_VERSION=90 -S . -B build
34+
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_DIR=/usr/lib/llvm-9/lib/cmake/llvm -S . -B build
3435
[ -a build/compile_commands.json ]
3536
- name: Run clang-tidy
3637
run: |

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ build-osx/*
1212
cmake_build*/*
1313
*/build/*
1414
tmp/*
15-
doc/*
1615
include/*
1716
distrib/*
1817
testing/*
@@ -89,3 +88,5 @@ src/.tags_sorted_by_file
8988

9089
/.vs
9190
/CMakeSettings.json
91+
/venv/
92+
/cmake-build-*/

0 commit comments

Comments
 (0)