Accepting request 1082518 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1082518 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=27
This commit is contained in:
commit
31705be39e
@ -1,13 +0,0 @@
|
||||
Fix for programs depending on abseil getting unexpectedly compiled with -maes -msse4.1 (or equivalent for other platforms), raising the CPU requirement.
|
||||
|
||||
--- a/CMake/AbseilHelpers.cmake 2022-06-23 20:22:47.000000000 +0200
|
||||
+++ b/CMake/AbseilHelpers.cmake 2022-07-11 16:51:58.364596579 +0200
|
||||
@@ -166,6 +166,8 @@
|
||||
set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
|
||||
elseif(${cflag} MATCHES "^(-W|/w[1234eo])")
|
||||
# Don't impose our warnings on others.
|
||||
+ elseif(${cflag} MATCHES "^-m")
|
||||
+ # Don't impose CPU instruction requirements on others, as the code performs feature detection on runtime.
|
||||
else()
|
||||
set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
|
||||
endif()
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:91ac87d30cc6d79f9ab974c51874a704de9c2647c40f6932597329a282217ba8
|
||||
size 1957483
|
3
abseil-cpp-20230125.2.tar.gz
Normal file
3
abseil-cpp-20230125.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9a2b5752d7bfade0bdeee2701de17c9480620f8b237e1964c1b9967c75374906
|
||||
size 2119685
|
@ -1,3 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 12:12:45 UTC 2023 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
- update to 20230125.2
|
||||
What's New:
|
||||
The Abseil logging library has been released. This library
|
||||
provides facilities for writing short text messages about the
|
||||
status of a program to stderr, disk files, or other sinks
|
||||
(via an extension API). See the logging library documentation
|
||||
for more information.
|
||||
An extension point, AbslStringify(), allows user-defined types
|
||||
to seamlessly work with Abseil's string formatting functions
|
||||
like absl::StrCat() and absl::StrFormat().
|
||||
A library for computing CRC32C checksums has been added.
|
||||
Floating-point parsing now uses the Eisel-Lemire algorithm,
|
||||
which provides a significant speed improvement.
|
||||
The flags library now provides suggestions for the closest
|
||||
flag(s) in the case of misspelled flags.
|
||||
Using CMake to install Abseil now makes the installed artifacts
|
||||
(in particular absl/base/options.h) reflect the compiled ABI.
|
||||
|
||||
Breaking Changes:
|
||||
Abseil now requires at least C++14 and follows Google's Foundational
|
||||
C++ Support Policy. See this table for a list of currently supported
|
||||
versions compilers, platforms, and build tools.
|
||||
The legacy spellings of the thread annotation macros/functions
|
||||
(e.g. GUARDED_BY()) have been removed by default in favor of the
|
||||
ABSL_ prefixed versions (e.g. ABSL_GUARDED_BY()) due to clashes with
|
||||
other libraries. The compatibility macro ABSL_LEGACY_THREAD_ANNOTATIONS
|
||||
can be defined on the compile command-line to temporarily restore these
|
||||
spellings, but this compatibility macro will be removed in the future.
|
||||
|
||||
Known Issues
|
||||
The Abseil logging library in this release is not a feature-complete
|
||||
replacement for glog yet. VLOG and DFATAL are examples of features
|
||||
that have not yet been released.
|
||||
|
||||
- obsolete Fix-maes-msse41-leaking-into-pkgconfig.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 24 13:47:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package abseil-cpp
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,9 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define lname libabsl2206_0_0
|
||||
%define lname libabsl2301_0_0
|
||||
Name: abseil-cpp
|
||||
Version: 20220623.1
|
||||
Version: 20230125.2
|
||||
Release: 0
|
||||
Summary: C++11 libraries which augment the C++ stdlib
|
||||
License: Apache-2.0
|
||||
@ -34,8 +34,6 @@ Patch0: options-old.patch
|
||||
%else
|
||||
Patch0: options-cxx17.patch
|
||||
%endif
|
||||
# PATCH-FIX-UPSTREAM Fix-maes-msse41-leaking-into-pkgconfig.patch
|
||||
Patch1: Fix-maes-msse41-leaking-into-pkgconfig.patch
|
||||
|
||||
%description
|
||||
Abseil is a collection of C++11 libraries which augment the C++
|
||||
|
@ -3,9 +3,11 @@ to avoid mysterious linker errors when using wrong C++ version in compiler.
|
||||
This version of patch is for new systems (Tumbleweed) where Abseil is built with C++17 support.
|
||||
For more information, see “notice for package managers” in options.h
|
||||
|
||||
--- a/absl/base/options.h 2021-11-03 16:26:14.000000000 +0100
|
||||
+++ b/absl/base/options.h 2022-06-28 22:49:52.830727200 +0200
|
||||
@@ -100,7 +100,7 @@
|
||||
Index: abseil-cpp-20230125.2/absl/base/options.h
|
||||
===================================================================
|
||||
--- abseil-cpp-20230125.2.orig/absl/base/options.h
|
||||
+++ abseil-cpp-20230125.2/absl/base/options.h
|
||||
@@ -94,7 +94,7 @@
|
||||
// User code should not inspect this macro. To check in the preprocessor if
|
||||
// absl::any is a typedef of std::any, use the feature macro ABSL_USES_STD_ANY.
|
||||
|
||||
@ -14,7 +16,7 @@ For more information, see “notice for package managers” in options.h
|
||||
|
||||
|
||||
// ABSL_OPTION_USE_STD_OPTIONAL
|
||||
@@ -127,7 +127,7 @@
|
||||
@@ -121,7 +121,7 @@
|
||||
// absl::optional is a typedef of std::optional, use the feature macro
|
||||
// ABSL_USES_STD_OPTIONAL.
|
||||
|
||||
@ -23,7 +25,7 @@ For more information, see “notice for package managers” in options.h
|
||||
|
||||
|
||||
// ABSL_OPTION_USE_STD_STRING_VIEW
|
||||
@@ -154,7 +154,7 @@
|
||||
@@ -148,7 +148,7 @@
|
||||
// absl::string_view is a typedef of std::string_view, use the feature macro
|
||||
// ABSL_USES_STD_STRING_VIEW.
|
||||
|
||||
@ -32,7 +34,7 @@ For more information, see “notice for package managers” in options.h
|
||||
|
||||
// ABSL_OPTION_USE_STD_VARIANT
|
||||
//
|
||||
@@ -180,7 +180,7 @@
|
||||
@@ -174,7 +174,7 @@
|
||||
// absl::variant is a typedef of std::variant, use the feature macro
|
||||
// ABSL_USES_STD_VARIANT.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user