summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1037cd8)
- ensure C++17 (with std::string_view)
Summary: Abseil - C++ common libraries
Summary(pl.UTF-8): Abseil - wspólne biblioteki C++
Name: abseil-cpp
Summary: Abseil - C++ common libraries
Summary(pl.UTF-8): Abseil - wspólne biblioteki C++
Name: abseil-cpp
Release: 1
License: Apache v2.0
Group: Libraries
#Source0Download: https://github.com/abseil/abseil-cpp/releases
Release: 1
License: Apache v2.0
Group: Libraries
#Source0Download: https://github.com/abseil/abseil-cpp/releases
-Source0: https://github.com/abseil/abseil-cpp/archive/refs/tags/%{version}.tar.gz
-# Source0-md5: e0b585398b89ee92a10d8c68ef7eed48
+Source0: https://github.com/abseil/abseil-cpp/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: bdca561519192543378b7cade101ec43
-BuildRequires: cmake >= 3.5
-BuildRequires: libstdc++-devel >= 6:4.7
+BuildRequires: cmake >= 3.8
+BuildRequires: libstdc++-devel >= 6:7
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# refers to _ZN4absl12lts_2021110213cord_internal17cordz_next_sampleE non-function symb ol from libabsl_condz_functions
+%define skip_post_check_so libabsl_cord.so.*
+
%description
Abseil is an open-source collection of C++ library code designed to
augment the C++ standard library. The Abseil library code is collected
%description
Abseil is an open-source collection of C++ library code designed to
augment the C++ standard library. The Abseil library code is collected
Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Abseil
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Abseil
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: libstdc++-devel >= 6:4.7
+Requires: libstdc++-devel >= 6:7
%description devel
Header files for Abseil libraries.
%description devel
Header files for Abseil libraries.
install -d build-static
cd build-static
%cmake .. \
install -d build-static
cd build-static
%cmake .. \
- -DBUILD_SHARED_LIBS=OFF
+ -DABSL_PROPAGATE_CXX_STD=ON \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DCMAKE_CXX_STANDARD=17
install -d build
cd build
install -d build
cd build
+%cmake .. \
+ -DABSL_PROPAGATE_CXX_STD=ON \
+ -DCMAKE_CXX_STANDARD=17