Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions llvm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Requires: cuda

Source0: git+https://github.com/cms-externals/llvm-project.git?obj=%{llvmBranch}/%{llvmCommit}&export=llvm-%{realversion}-%{llvmCommit}&module=llvm-%{realversion}-%{llvmCommit}&output=/llvm-%{realversion}-%{llvmCommit}.tgz
Source1: git+https://github.com/include-what-you-use/include-what-you-use.git?obj=%{iwyuBranch}/%{iwyuCommit}&export=iwyu-%{realversion}-%{iwyuCommit}&module=iwyu-%{realversion}-%{iwyuCommit}&output=/iwyu-%{realversion}-%{iwyuCommit}.tgz
Source2: https://patch-diff.githubusercontent.com/raw/llvm/llvm-project/pull/85916.patch

%define keep_archives true

Expand All @@ -26,6 +27,7 @@ sed -ibak '/add_clang_subdirectory(libclang)/a add_subdirectory(include-what-you

# move back to the main setup directory
%setup -T -D -n llvm-%{realversion}-%{llvmCommit}
patch -p1 <%{_sourcedir}/85916.patch

%build
## INCLUDE cuda-flags
Expand Down Expand Up @@ -57,6 +59,7 @@ cmake %{_builddir}/llvm-%{realversion}-%{llvmCommit}/llvm \

ninja -v %{makeprocesses}
ninja -v %{makeprocesses} check-clang-tools
ninja -v %{makeprocesses} check-nsan
bin/clang-tidy --checks=* --list-checks | grep cms-handle

%install
Expand Down