mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Adapt to standalone third-party dir
This commit is contained in:
parent
630ee401af
commit
f60f1961ea
1 changed files with 2 additions and 4 deletions
|
@ -52,10 +52,6 @@
|
||||||
|
|
||||||
%if %{with snapshot_build}
|
%if %{with snapshot_build}
|
||||||
%undefine rc_ver
|
%undefine rc_ver
|
||||||
# FIXME(kkleine): Until we have the top-level "cmake" directory of the LLVM
|
|
||||||
# source tree separated out, we're going to use the complete source tarball
|
|
||||||
# ("llvm-project" instead of "llvm") for this.
|
|
||||||
%global llvm_srcdir llvm-project-%{llvm_snapshot_version_major}.%{llvm_snapshot_version_minor}.%{llvm_snapshot_version_patch}.src/llvm
|
|
||||||
%global maj_ver %{llvm_snapshot_version_major}
|
%global maj_ver %{llvm_snapshot_version_major}
|
||||||
%global min_ver %{llvm_snapshot_version_minor}
|
%global min_ver %{llvm_snapshot_version_minor}
|
||||||
%global patch_ver %{llvm_snapshot_version_patch}
|
%global patch_ver %{llvm_snapshot_version_patch}
|
||||||
|
@ -63,6 +59,8 @@
|
||||||
|
|
||||||
%global llvm_srcdir llvm-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
%global llvm_srcdir llvm-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
%global cmake_srcdir cmake-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
%global cmake_srcdir cmake-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
%global third_party_srcdir third-party-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
|
|
||||||
|
|
||||||
%if %{with compat_build}
|
%if %{with compat_build}
|
||||||
%global pkg_name llvm%{maj_ver}
|
%global pkg_name llvm%{maj_ver}
|
||||||
|
|
Loading…
Reference in a new issue