aea790392a
abseil and other google tools are now subject to
"Google's Foundational C++ Support Policy" [0][1]. This currently mandates
gcc 7.3.1 and C++14 as minimum versions.
Since we don't have guards for patch versions of gcc 7 use gcc 8 as minimum.
[0] https://github.com/abseil/abseil-cpp/releases/tag/20230125.0
[1] b842c39db8/foundational-cxx-support-matrix.md
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
25 lines
699 B
Makefile
25 lines
699 B
Makefile
################################################################################
|
|
#
|
|
# libabseil-cpp
|
|
#
|
|
################################################################################
|
|
|
|
LIBABSEIL_CPP_VERSION = 20230802.1
|
|
LIBABSEIL_CPP_SITE = $(call github,abseil,abseil-cpp,$(LIBABSEIL_CPP_VERSION))
|
|
LIBABSEIL_CPP_LICENSE = Apache-2.0
|
|
LIBABSEIL_CPP_LICENSE_FILES = LICENSE
|
|
LIBABSEIL_CPP_INSTALL_STAGING = YES
|
|
|
|
LIBABSEIL_CPP_CONF_OPTS = \
|
|
-DCMAKE_CXX_STANDARD=14 \
|
|
-DABSL_ENABLE_INSTALL=ON \
|
|
-DABSL_USE_GOOGLETEST_HEAD=OFF
|
|
|
|
HOST_LIBABSEIL_CPP_CONF_OPTS = \
|
|
-DCMAKE_CXX_STANDARD=14 \
|
|
-DABSL_ENABLE_INSTALL=ON \
|
|
-DABSL_USE_GOOGLETEST_HEAD=OFF
|
|
|
|
$(eval $(cmake-package))
|
|
$(eval $(host-cmake-package))
|