mirror of
https://src.fedoraproject.org/rpms/libomp.git
synced 2024-12-01 10:10:01 +00:00
Use llvm_snapshot_version_suffix
This commit is contained in:
parent
bf9ceea26d
commit
e84527d6b3
1 changed files with 2 additions and 3 deletions
|
@ -4,7 +4,6 @@
|
|||
|
||||
%if %{with snapshot_build}
|
||||
%undefine rc_ver
|
||||
%global llvm_snapshot_vers pre%{llvm_snapshot_yyyymmdd}.g%{llvm_snapshot_git_revision_short}
|
||||
%global libomp_srcdir openmp-%{llvm_snapshot_version_major}.%{llvm_snapshot_version_minor}.%{llvm_snapshot_version_patch}.src
|
||||
%global maj_ver %{llvm_snapshot_version_major}
|
||||
%global min_ver %{llvm_snapshot_version_minor}
|
||||
|
@ -19,7 +18,7 @@
|
|||
%endif
|
||||
|
||||
Name: libomp
|
||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_vers:~%{llvm_snapshot_vers}}
|
||||
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}}
|
||||
Release: 1%{?dist}
|
||||
Summary: OpenMP runtime for clang
|
||||
|
||||
|
@ -107,7 +106,7 @@ OpenMP regression tests
|
|||
-DOPENMP_LIBDIR_SUFFIX= \
|
||||
%endif
|
||||
%if %{with snapshot_build}
|
||||
-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_vers}" \
|
||||
-DLLVM_VERSION_SUFFIX="%{llvm_snapshot_version_suffix}" \
|
||||
%endif
|
||||
-DCMAKE_SKIP_RPATH:BOOL=ON
|
||||
|
||||
|
|
Loading…
Reference in a new issue