pkgsrc/devel/abseil/Makefile
adam 4c9af6f5ba abseil: updated to 20220623.0
Abseil LTS 20220623

What's New:

Added absl::AnyInvocable, a move-only function type.
Added absl::CordBuffer, a type for buffering data for eventual inclusion an absl::Cord, which is useful for writing zero-copy code.
Added support for command-line flags of type absl::optional<T>.

Breaking Changes:

CMake builds now use the flag ABSL_BUILD_TESTING (default: OFF) to control whether or not unit tests are built.
The ABSL_DEPRECATED macro now works with the GCC compiler. GCC users that are experiencing new warnings can use -Wno-deprecated-declatations silence the warnings or use -Wno-error=deprecated-declarations to see warnings but not fail the build.
ABSL_CONST_INIT uses the C++20 keyword constinit when available. Some compilers are more strict about where this keyword must appear compared to the pre-C++20 implementation.
Bazel builds now depend on the bazelbuild/bazel-skylib repository. See Abseil's WORKSPACE file for an example of how to add this dependency.

Other:

This will be the last release to support C++11. Future releases will require at least C++14.
2022-07-06 15:16:59 +00:00

27 lines
645 B
Makefile

# $NetBSD: Makefile,v 1.11 2022/07/06 15:16:59 adam Exp $
DISTNAME= abseil-20220623.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=abseil/}
GITHUB_PROJECT= abseil-cpp
GITHUB_TAG= ${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/abseil/abseil-cpp
COMMENT= C++ Common Libraries
LICENSE= apache-2.0
USE_CMAKE= yes
USE_LANGUAGES= c++11
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
. if exists(${OSX_SDK_PATH}/usr/include/execinfo.h)
BUILDLINK_TRANSFORM+= rm:-lexecinfo
. endif
.endif
.include "../../mk/atomic64.mk"
.include "../../mk/bsd.pkg.mk"