mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Sync with openmp upstream-snapshot branch
This commit is contained in:
parent
6d22898f33
commit
e30affbe86
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.
|
# force off shared libs as cmake macros turns it on.
|
||||||
# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE.
|
# TODO: Disable LLVM_UNREACHABLE_OPTIMIZE.
|
||||||
# TODO: LIBOMP_HAVE_VERSION_SCRIPT_FLAG should be set automatically.
|
# 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 \
|
%cmake -G Ninja \
|
||||||
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" \
|
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" \
|
||||||
\
|
\
|
||||||
|
@ -110,6 +112,7 @@ cd llvm
|
||||||
-DOPENMP_LIBDIR_SUFFIX= \
|
-DOPENMP_LIBDIR_SUFFIX= \
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
-DOPENMP_INSTALL_LIBDIR=%{_lib} \
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
\
|
\
|
||||||
|
|
|
@ -119,10 +119,10 @@
|
||||||
|
|
||||||
%global pkg_name_libomp libomp
|
%global pkg_name_libomp libomp
|
||||||
|
|
||||||
%global so_suffix %{maj_ver}
|
%global so_suffix %{maj_ver}.%{min_ver}
|
||||||
|
|
||||||
%if %{with snapshot_build}
|
%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
|
%endif
|
||||||
|
|
||||||
%ifarch ppc64le
|
%ifarch ppc64le
|
||||||
|
|
Loading…
Reference in a new issue