pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang libcxx: updated to 9.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88e0ab72c1e3
branches:  trunk
changeset: 342451:88e0ab72c1e3
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 19 13:59:06 2019 +0000

description:
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.

diffstat:

 lang/libcxx/Makefile                                             |   9 +--
 lang/libcxx/PLIST                                                |  14 +-----
 lang/libcxx/buildlink3.mk                                        |   4 +-
 lang/libcxx/distinfo                                             |  24 +++++----
 lang/libcxx/patches/patch-src_filesystem_directory__iterator.cpp |   8 +-
 lang/libcxxabi/Makefile                                          |  10 +--
 lang/libcxxabi/buildlink3.mk                                     |   4 +-
 lang/libcxxabi/distinfo                                          |  18 +++---
 lang/libunwind/Makefile                                          |  10 +--
 lang/libunwind/buildlink3.mk                                     |   4 +-
 lang/libunwind/distinfo                                          |  10 ++--
 11 files changed, 51 insertions(+), 64 deletions(-)

diffs (276 lines):

diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxx/Makefile
--- a/lang/libcxx/Makefile      Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxx/Makefile      Sat Oct 19 13:59:06 2019 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2019/08/05 19:06:49 adam Exp $
+# $NetBSD: Makefile,v 1.6 2019/10/19 13:59:07 adam Exp $
 
-DISTNAME=      libcxx-8.0.1.src
+DISTNAME=      libcxx-9.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
-GITHUB_PROJECT=        llvm-project
-GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}
+MASTER_SITES=   http://releases.llvm.org/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -19,7 +17,6 @@
 # circular dependencies.  This must be kept in sync with libcxxabi/Makefile.
 LIBCXXABI=             ${DISTNAME:S/cxx/cxxabi/}
 _EXTRA_DIST=           ${LIBCXXABI}${EXTRACT_SUFX}
-SITES.${_EXTRA_DIST}=  ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
 
 DISTFILES=     ${DEFAULT_DISTFILES} ${_EXTRA_DIST}
 
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxx/PLIST
--- a/lang/libcxx/PLIST Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxx/PLIST Sat Oct 19 13:59:06 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2019/06/02 08:41:58 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/10/19 13:59:07 adam Exp $
 include/c++/v1/__bit_reference
 include/c++/v1/__bsd_locale_defaults.h
 include/c++/v1/__bsd_locale_fallbacks.h
@@ -68,8 +68,6 @@
 include/c++/v1/experimental/__config
 include/c++/v1/experimental/__memory
 include/c++/v1/experimental/algorithm
-include/c++/v1/experimental/any
-include/c++/v1/experimental/chrono
 include/c++/v1/experimental/coroutine
 include/c++/v1/experimental/deque
 include/c++/v1/experimental/filesystem
@@ -79,17 +77,11 @@
 include/c++/v1/experimental/list
 include/c++/v1/experimental/map
 include/c++/v1/experimental/memory_resource
-include/c++/v1/experimental/numeric
-include/c++/v1/experimental/optional
 include/c++/v1/experimental/propagate_const
-include/c++/v1/experimental/ratio
 include/c++/v1/experimental/regex
 include/c++/v1/experimental/set
 include/c++/v1/experimental/simd
 include/c++/v1/experimental/string
-include/c++/v1/experimental/string_view
-include/c++/v1/experimental/system_error
-include/c++/v1/experimental/tuple
 include/c++/v1/experimental/type_traits
 include/c++/v1/experimental/unordered_map
 include/c++/v1/experimental/unordered_set
@@ -98,6 +90,7 @@
 include/c++/v1/ext/__hash
 include/c++/v1/ext/hash_map
 include/c++/v1/ext/hash_set
+include/c++/v1/fenv.h
 include/c++/v1/filesystem
 include/c++/v1/float.h
 include/c++/v1/forward_list
@@ -164,7 +157,6 @@
 include/c++/v1/support/xlocale/__nop_locale_mgmt.h
 include/c++/v1/support/xlocale/__posix_l_fallback.h
 include/c++/v1/support/xlocale/__strtonum_fallback.h
-include/c++/v1/support/xlocale/xlocale.h
 include/c++/v1/system_error
 include/c++/v1/tgmath.h
 include/c++/v1/thread
@@ -185,5 +177,3 @@
 lib/libc++.so
 lib/libc++.so.1
 lib/libc++.so.1.0
-lib/libc++experimental.a
-lib/libc++fs.a
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxx/buildlink3.mk
--- a/lang/libcxx/buildlink3.mk Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxx/buildlink3.mk Sat Oct 19 13:59:06 2019 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2019/06/02 08:41:58 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2019/10/19 13:59:07 adam Exp $
 
 BUILDLINK_TREE+=       libcxx
 
 .if !defined(LIBCXX_BUILDLINK3_MK)
 LIBCXX_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libcxx+= libcxx>=8.0.0
+BUILDLINK_API_DEPENDS.libcxx+= libcxx>=9.0.0
 BUILDLINK_PKGSRCDIR.libcxx?=   ../../lang/libcxx
 
 .include "../../lang/llvm/buildlink3.mk"
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxx/distinfo
--- a/lang/libcxx/distinfo      Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxx/distinfo      Sat Oct 19 13:59:06 2019 +0000
@@ -1,12 +1,16 @@
-$NetBSD: distinfo,v 1.6 2019/08/05 19:06:49 adam Exp $
+$NetBSD: distinfo,v 1.7 2019/10/19 13:59:07 adam Exp $
 
-SHA1 (libcxx-8.0.1.src.tar.xz) = 4aeec12226a98d438d600cd0e0a76975419989a0
-RMD160 (libcxx-8.0.1.src.tar.xz) = caebe333a79c719ade136fad3bf9ec9333e46c3c
-SHA512 (libcxx-8.0.1.src.tar.xz) = 75749d08b2b343c6f5f9aefb04be63e42f6d12efc51101d3647ed6f70c7a6d050afb3ab2f3636eae78cb523f5844de67b960a7a3145ed89ab0c7015deb14921e
-Size (libcxx-8.0.1.src.tar.xz) = 1739524 bytes
-SHA1 (libcxxabi-8.0.1.src.tar.xz) = 7834b58ad0e7adb5229342a8daa08ef1d29a8b13
-RMD160 (libcxxabi-8.0.1.src.tar.xz) = ad50977425cd182d5e03ab7b847978b8215a0d84
-SHA512 (libcxxabi-8.0.1.src.tar.xz) = 577cfcb04ebb29ee84d35ed31aa8fecb28fc74b07ef7ff298f0fe2d440f823def73e092359c41d8d8600e6df18f55224ed89674d403c5ae56a7d7973487b8734
-Size (libcxxabi-8.0.1.src.tar.xz) = 538356 bytes
+SHA1 (libcxx-9.0.0.src.tar.xz) = e27ce439b2aec1f4af302db255359ccbc1cc6f46
+RMD160 (libcxx-9.0.0.src.tar.xz) = e92b03ab660c8bb598dae2893e01b57a449b29fe
+SHA512 (libcxx-9.0.0.src.tar.xz) = cbaca724c4f3e3a270dfd53aac50cbb920190fe55486b164d52e73845819dd22afb10c23f5875da59d433fd5b96a0f153208746117309ac1267a38fa56f4818e
+Size (libcxx-9.0.0.src.tar.xz) = 1814388 bytes
+SHA1 (libcxxabi-9.0.0.src.tar.xz) = 9e6532595d98eca447cb00352848fed7688f722c
+RMD160 (libcxxabi-9.0.0.src.tar.xz) = 811596f352be78bd11bd1dd9465c5392f28d1f62
+SHA512 (libcxxabi-9.0.0.src.tar.xz) = 261f32f61814728ce61c830c80192a55e1ba03c50f49712e208052444ac3acc6d7efcbd7b76a505292f9233aad23b00180aca4e72326ae1244385b39f226e625
+Size (libcxxabi-9.0.0.src.tar.xz) = 552088 bytes
+SHA1 (llvm-9.0.0.src.tar.xz) = 7ef2527ba3da7603a41ce3592a8cd890f8d27ffa
+RMD160 (llvm-9.0.0.src.tar.xz) = fb47d140555cd728006f07d7ad12ae9cb3f8ace6
+SHA512 (llvm-9.0.0.src.tar.xz) = 1bb3341e1d231559b948f1505b33c2e2e03989f9b8bbfef0e0cdaff5ac43f85574c9ec5ac53399b914f497d6899425d861411024e8d7e1d1a338c1c6951ac658
+Size (llvm-9.0.0.src.tar.xz) = 32994768 bytes
 SHA1 (patch-src_experimental_memory__resource.cpp) = 15e2431f92b41d814008e83d918e27248db065e1
-SHA1 (patch-src_filesystem_directory__iterator.cpp) = ed7fccc6727ba349b32cda451e3c5d0067c737d3
+SHA1 (patch-src_filesystem_directory__iterator.cpp) = 90ebbb80e4ec161405397d6d7c5d1d19a7284325
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxx/patches/patch-src_filesystem_directory__iterator.cpp
--- a/lang/libcxx/patches/patch-src_filesystem_directory__iterator.cpp  Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxx/patches/patch-src_filesystem_directory__iterator.cpp  Sat Oct 19 13:59:06 2019 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-src_filesystem_directory__iterator.cpp,v 1.1 2018/12/17 16:07:09 jperkin Exp $
+$NetBSD: patch-src_filesystem_directory__iterator.cpp,v 1.2 2019/10/19 13:59:07 adam Exp $
 
 Support POSIX file modes.
 
---- src/filesystem/directory_iterator.cpp.orig 2018-07-27 03:07:09.000000000 +0000
+--- src/filesystem/directory_iterator.cpp.orig 2019-02-01 23:52:17.000000000 +0000
 +++ src/filesystem/directory_iterator.cpp
-@@ -27,7 +27,21 @@ namespace {
- #if !defined(_LIBCPP_WIN32API)
+@@ -28,7 +28,21 @@ namespace {
+ #if defined(DT_BLK)
  template <class DirEntT, class = decltype(DirEntT::d_type)>
  static file_type get_file_type(DirEntT* ent, int) {
 +#ifdef __sun
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxxabi/Makefile
--- a/lang/libcxxabi/Makefile   Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxxabi/Makefile   Sat Oct 19 13:59:06 2019 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.5 2019/08/05 19:06:49 adam Exp $
+# $NetBSD: Makefile,v 1.6 2019/10/19 13:59:07 adam Exp $
 
-DISTNAME=      libcxxabi-8.0.1.src
+DISTNAME=      libcxxabi-9.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
-GITHUB_PROJECT=        llvm-project
-GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}
+MASTER_SITES=  http://releases.llvm.org/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -19,7 +17,7 @@
 # circular dependencies.  This must be kept in sync with libcxxabi/Makefile.
 LIBCXX=                        ${DISTNAME:S/cxxabi/cxx/}
 _EXTRA_DIST=           ${LIBCXX}${EXTRACT_SUFX}
-SITES.${_EXTRA_DIST}=  ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
+#SITES.${_EXTRA_DIST}= ${MASTER_SITES:=${GITHUB_PROJECT}/releases/download/${GITHUB_RELEASE}/}
 
 DISTFILES=     ${DEFAULT_DISTFILES} ${_EXTRA_DIST}
 
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxxabi/buildlink3.mk
--- a/lang/libcxxabi/buildlink3.mk      Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxxabi/buildlink3.mk      Sat Oct 19 13:59:06 2019 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2019/06/02 08:41:58 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2019/10/19 13:59:07 adam Exp $
 
 BUILDLINK_TREE+=       libcxxabi
 
 .if !defined(LIBCXXABI_BUILDLINK3_MK)
 LIBCXXABI_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libcxxabi+=      libcxxabi>=8.0.0
+BUILDLINK_API_DEPENDS.libcxxabi+=      libcxxabi>=9.0.0
 BUILDLINK_PKGSRCDIR.libcxxabi?=                ../../lang/libcxxabi
 
 .include "../../lang/llvm/buildlink3.mk"
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libcxxabi/distinfo
--- a/lang/libcxxabi/distinfo   Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libcxxabi/distinfo   Sat Oct 19 13:59:06 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.5 2019/08/05 19:06:49 adam Exp $
+$NetBSD: distinfo,v 1.6 2019/10/19 13:59:07 adam Exp $
 
-SHA1 (libcxx-8.0.1.src.tar.xz) = 4aeec12226a98d438d600cd0e0a76975419989a0
-RMD160 (libcxx-8.0.1.src.tar.xz) = caebe333a79c719ade136fad3bf9ec9333e46c3c
-SHA512 (libcxx-8.0.1.src.tar.xz) = 75749d08b2b343c6f5f9aefb04be63e42f6d12efc51101d3647ed6f70c7a6d050afb3ab2f3636eae78cb523f5844de67b960a7a3145ed89ab0c7015deb14921e
-Size (libcxx-8.0.1.src.tar.xz) = 1739524 bytes
-SHA1 (libcxxabi-8.0.1.src.tar.xz) = 7834b58ad0e7adb5229342a8daa08ef1d29a8b13
-RMD160 (libcxxabi-8.0.1.src.tar.xz) = ad50977425cd182d5e03ab7b847978b8215a0d84
-SHA512 (libcxxabi-8.0.1.src.tar.xz) = 577cfcb04ebb29ee84d35ed31aa8fecb28fc74b07ef7ff298f0fe2d440f823def73e092359c41d8d8600e6df18f55224ed89674d403c5ae56a7d7973487b8734
-Size (libcxxabi-8.0.1.src.tar.xz) = 538356 bytes
+SHA1 (libcxx-9.0.0.src.tar.xz) = e27ce439b2aec1f4af302db255359ccbc1cc6f46
+RMD160 (libcxx-9.0.0.src.tar.xz) = e92b03ab660c8bb598dae2893e01b57a449b29fe
+SHA512 (libcxx-9.0.0.src.tar.xz) = cbaca724c4f3e3a270dfd53aac50cbb920190fe55486b164d52e73845819dd22afb10c23f5875da59d433fd5b96a0f153208746117309ac1267a38fa56f4818e
+Size (libcxx-9.0.0.src.tar.xz) = 1814388 bytes
+SHA1 (libcxxabi-9.0.0.src.tar.xz) = 9e6532595d98eca447cb00352848fed7688f722c
+RMD160 (libcxxabi-9.0.0.src.tar.xz) = 811596f352be78bd11bd1dd9465c5392f28d1f62
+SHA512 (libcxxabi-9.0.0.src.tar.xz) = 261f32f61814728ce61c830c80192a55e1ba03c50f49712e208052444ac3acc6d7efcbd7b76a505292f9233aad23b00180aca4e72326ae1244385b39f226e625
+Size (libcxxabi-9.0.0.src.tar.xz) = 552088 bytes
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libunwind/Makefile
--- a/lang/libunwind/Makefile   Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libunwind/Makefile   Sat Oct 19 13:59:06 2019 +0000
@@ -1,11 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2019/08/05 19:06:49 adam Exp $
+# $NetBSD: Makefile,v 1.19 2019/10/19 13:59:06 adam Exp $
 
-DISTNAME=      libunwind-8.0.1.src
+DISTNAME=      libunwind-9.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
-GITHUB_PROJECT=        llvm-project
-GITHUB_RELEASE=        llvmorg-${PKGVERSION_NOREV}
+MASTER_SITES=   http://releases.llvm.org/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -30,7 +28,7 @@
 INSTALLATION_DIRS=     include
 
 post-extract:
-       ${RUN} mkdir -p ${WRKDIR}/build
+       ${MKDIR} ${WRKDIR}/build
 
 post-install:
        cd ${WRKSRC}/include && ${PAX} -rw . ${DESTDIR}${PREFIX}/include
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libunwind/buildlink3.mk
--- a/lang/libunwind/buildlink3.mk      Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libunwind/buildlink3.mk      Sat Oct 19 13:59:06 2019 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.6 2019/06/02 08:35:56 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2019/10/19 13:59:06 adam Exp $
 
 BUILDLINK_TREE+=       libunwind
 
 .if !defined(LIBUNWIND_BUILDLINK3_MK)
 LIBUNWIND_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libunwind+=      libunwind>=8.0.0
+BUILDLINK_API_DEPENDS.libunwind+=      libunwind>=9.0.0
 BUILDLINK_PKGSRCDIR.libunwind?=                ../../lang/libunwind
 
 .include "../../lang/llvm/buildlink3.mk"
diff -r 0403aa9bc5be -r 88e0ab72c1e3 lang/libunwind/distinfo
--- a/lang/libunwind/distinfo   Sat Oct 19 13:58:10 2019 +0000
+++ b/lang/libunwind/distinfo   Sat Oct 19 13:59:06 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2019/08/05 19:06:49 adam Exp $
+$NetBSD: distinfo,v 1.15 2019/10/19 13:59:06 adam Exp $
 
-SHA1 (libunwind-8.0.1.src.tar.xz) = 6aebc6eaa54408138143ace8b5745301981883c8
-RMD160 (libunwind-8.0.1.src.tar.xz) = 4dcb0ab57818a4ebc347d6529ce32a576a8e7f9a
-SHA512 (libunwind-8.0.1.src.tar.xz) = c115582ca879e215b97d24e4aa80696796383e79856cf26e40b4ddd6b255d598f9fa9867b30f0fd1691be770779835ac1d4b9a5e4a71424b18499b79ea37d060
-Size (libunwind-8.0.1.src.tar.xz) = 87188 bytes
+SHA1 (libunwind-9.0.0.src.tar.xz) = ae3cc4616986b8131e8336f40e60f97745cbddfb
+RMD160 (libunwind-9.0.0.src.tar.xz) = 67cd3ca7762eccf1893985207f621d6b1208c02f
+SHA512 (libunwind-9.0.0.src.tar.xz) = 55b44439b76638a7c5ea25dd3713a3f6a2d54bcfb7bf34d3388753f0d25be2e843b5f05dc1c0052d7a9cd5a141c6818f4da42bc9174a16d89e819ea262ad5706
+Size (libunwind-9.0.0.src.tar.xz) = 90372 bytes



Home | Main Index | Thread Index | Old Index