mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Sync with openmp upstream-snapshot branch
This commit is contained in:
parent
3ac2fe8c45
commit
8fea7e788b
2 changed files with 5 additions and 2 deletions
|
@ -45,6 +45,8 @@ cd llvm
|
|||
# force off shared libs as cmake macros turns it on.
|
||||
# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE.
|
||||
# TODO: LIBOMP_HAVE_VERSION_SCRIPT_FLAG should be set automatically.
|
||||
# TODO: Override LIBOMP_INSTALL_LIBDIR, because otherwise the libraries
|
||||
# are installed to /usr/lib64/$TRIPLE and clang can't find them.
|
||||
%cmake -G Ninja \
|
||||
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" \
|
||||
\
|
||||
|
@ -110,6 +112,7 @@ cd llvm
|
|||
-DOPENMP_LIBDIR_SUFFIX= \
|
||||
%endif
|
||||
%endif
|
||||
-DOPENMP_INSTALL_LIBDIR=%{_lib} \
|
||||
\
|
||||
\
|
||||
\
|
||||
|
|
|
@ -119,10 +119,10 @@
|
|||
|
||||
%global pkg_name_libomp libomp
|
||||
|
||||
%global so_suffix %{maj_ver}
|
||||
%global so_suffix %{maj_ver}.%{min_ver}
|
||||
|
||||
%if %{with snapshot_build}
|
||||
%global so_suffix %{maj_ver}%{llvm_snapshot_version_suffix}
|
||||
%global so_suffix %{maj_ver}.%{min_ver}%{llvm_snapshot_version_suffix}
|
||||
%endif
|
||||
|
||||
%ifarch ppc64le
|
||||
|
|
Loading…
Reference in a new issue