Skip to content

Commit

Permalink
Update llvm.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Aug 4, 2020
1 parent bdfcb03 commit e48376f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ AutoReq: no
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

%define keep_archives true

%prep
%setup -T -b0 -n llvm-%{realversion}-%{llvmCommit}

Expand Down Expand Up @@ -78,8 +76,6 @@ rm -f %{i}/bin/FileRadar.scpt %{i}/bin/GetRadarVersion.scpt

# Avoid dependency on /usr/bin/python, Darwin + Xcode specific
rm -f %{i}/bin/set-xcode-analyzer
# Remove all static libs except libomptarget-nvptx.a
find %{i}/lib64 -name "*.a" -and -not -name "libomptarget-*.a" -delete

%post
%{relocateConfig}include/llvm/Config/llvm-config.h

0 comments on commit e48376f

Please sign in to comment.