Revert "Revert "Use the ieee128 format for long double on ppc64le" until rhbz#2100546 is fixed"

This reverts commit e26357988c.
This commit is contained in:
Tom Stellard 2022-07-18 22:13:26 +00:00
parent 4bdb1778ec
commit 2efd3e3d10
2 changed files with 8 additions and 3 deletions

View File

@ -39,7 +39,7 @@
Name: %pkg_name Name: %pkg_name
Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}} Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}}
Release: 4%{?dist} Release: 5%{?dist}
Summary: A C language family front-end for LLVM Summary: A C language family front-end for LLVM
License: NCSA License: NCSA
@ -310,6 +310,7 @@ CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized"
# -DLLVM_ENABLE_NEW_PASS_MANAGER=ON can be removed once this patch is committed: # -DLLVM_ENABLE_NEW_PASS_MANAGER=ON can be removed once this patch is committed:
# https://reviews.llvm.org/D107628 # https://reviews.llvm.org/D107628
# -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON to match gcc.
%cmake -G Ninja \ %cmake -G Ninja \
-DLLVM_PARALLEL_LINK_JOBS=1 \ -DLLVM_PARALLEL_LINK_JOBS=1 \
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
@ -359,6 +360,9 @@ CFLAGS="$CFLAGS -Wno-address -Wno-nonnull -Wno-maybe-uninitialized"
-DCLANG_BUILD_EXAMPLES:BOOL=OFF \ -DCLANG_BUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS=OFF \ -DBUILD_SHARED_LIBS=OFF \
-DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \ -DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \
%if 0%{?fedora}
-DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON \
%endif
%ifarch %{arm} %ifarch %{arm}
-DCLANG_DEFAULT_LINKER=lld \ -DCLANG_DEFAULT_LINKER=lld \
%endif %endif
@ -591,6 +595,9 @@ false
%endif %endif
%changelog %changelog
* Mon Jul 18 2022 Tom Stellard <tstellar@redhat.com> - 14.0.5-5
- Re-enable ieee128 as the default long double format on ppc64le
* Thu Jul 28 2022 Amit Shah <amitshah@fedoraproject.org> - 14.0.5-4 * Thu Jul 28 2022 Amit Shah <amitshah@fedoraproject.org> - 14.0.5-4
- Use the dist_vendor macro to identify the distribution - Use the dist_vendor macro to identify the distribution

View File

@ -1,8 +1,6 @@
summary: Test that gcc and clang use the same long double format on ppc64le summary: Test that gcc and clang use the same long double format on ppc64le
test: $WITH_SCL ./runtest.sh test: $WITH_SCL ./runtest.sh
duration: 1h duration: 1h
# see https://bugzilla.redhat.com/show_bug.cgi?id=2100546
enabled: false
adjust: adjust:
# Common requirements when LLVM is not SCL-ized # Common requirements when LLVM is not SCL-ized
- require+: - require+: