Don't explicitly set LIBOMP_HAVE_VERSION_SCRIPT_FLAG

From: ee22a23839
This commit is contained in:
Nikita Popov 2024-07-25 12:17:13 +00:00 committed by Timm Bäder
parent ced5c791da
commit e7a1f94f29

View file

@ -44,7 +44,6 @@ popd
# TODO(kkleine): Follow more closely the Distribution guidelines found here: https://llvm.org/docs/BuildingADistribution.html # TODO(kkleine): Follow more closely the Distribution guidelines found here: https://llvm.org/docs/BuildingADistribution.html
# 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: Override LIBOMP_INSTALL_LIBDIR, because otherwise the libraries # TODO: Override LIBOMP_INSTALL_LIBDIR, because otherwise the libraries
# are installed to /usr/lib64/$TRIPLE and clang can't find them. # are installed to /usr/lib64/$TRIPLE and clang can't find them.
%cmake -G Ninja \ %cmake -G Ninja \
@ -101,7 +100,6 @@ popd
\ \
\ \
%if %{without compat_build} %if %{without compat_build}
-DLIBOMP_HAVE_VERSION_SCRIPT_FLAG:BOOL=ON \
-DLIBOMP_INSTALL_ALIASES=OFF \ -DLIBOMP_INSTALL_ALIASES=OFF \
%if 0%{?__isa_bits} == 64 %if 0%{?__isa_bits} == 64
-DOPENMP_LIBDIR_SUFFIX=64 \ -DOPENMP_LIBDIR_SUFFIX=64 \