pkgsrc/lang/libunwind/Makefile
adam 35218c6277 libcxx: updated to 9.0.0
Libc++ 9.0.0

Fixes

Minor fixes to std::chrono operators.
libc++ now correctly handles Objective-C++ ARC qualifiers in std::is_pointer.
std::span general updates and fixes.
Updates to the std::abs implementation.
std::to_chars now adds leading zeros.
Ensure std::tuple is trivially constructible.
std::aligned_union now works in C++03.
Output of nullptr to std::basic_ostream is formatted properly.

Features

Implemented P0608: sane variant converting constructor.
Added ssize function.
Added front and back methods in std::span.
std::is_unbounded_array and std::is_bounded_array added to type traits.
std::atomic now includes many new features and specialization including improved Freestanding support.
Added std::midpoint and std::lerp math functions.
Added the function std::is_constant_evaluated.
Erase-like algorithms now return size type.
Added contains method to container types.
std::swap is now a constant expression.

Updates

libc++ dropped support for GCC 4.9; we now support GCC 5.1 and above.
libc++ added explicit support for WebAssembly System Interface (WASI).
Progress towards full support of rvalues and variadics in C++03 mode. std::move and std::forward now both work in C++03 mode.
2019-10-19 13:59:06 +00:00

38 lines
880 B
Makefile

# $NetBSD: Makefile,v 1.19 2019/10/19 13:59:06 adam Exp $
DISTNAME= libunwind-9.0.0.src
PKGNAME= ${DISTNAME:S/.src//}
CATEGORIES= lang devel
MASTER_SITES= http://releases.llvm.org/${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://libunwind.llvm.org/
COMMENT= LLVM libunwind
LICENSE= modified-bsd
CONFIGURE_DIRS= ${WRKDIR}/build
USE_CMAKE= yes
USE_LANGUAGES= c c++11
USE_TOOLS+= pax
GCC_REQD+= 4.8
SSP_SUPPORTED= no
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:Q}
CMAKE_ARG_PATH= ${WRKSRC}
INSTALLATION_DIRS= include
post-extract:
${MKDIR} ${WRKDIR}/build
post-install:
cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include
BUILDLINK_DEPMETHOD.llvm= build
.include "../../lang/llvm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"