Skip to content

Commit

Permalink
Update llvm.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar authored May 21, 2024
1 parent 161fe72 commit 40209eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions llvm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ 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
Patch0: https://github.com/llvm/llvm-project/pull/85916.patch
Source2: https://patch-diff.githubusercontent.com/raw/llvm/llvm-project/pull/85916.patch

%define keep_archives true

%prep
Expand All @@ -26,7 +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}
%patch0 -p1
patch -p1 <%{_sourcedir}/85916.patch

%build
## INCLUDE cuda-flags
Expand Down

0 comments on commit 40209eb

Please sign in to comment.