Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52329 - libc++ 3.9(.1) and

Attached to Project: Community Packages
Opened by Ruben Van Boxem (rubenvb) - Sunday, 01 January 2017, 18:59 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 01 January 2017, 19:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
libc++ should come in the 3.9(.1) version including the libc++experimental.a library including the std::filesystem implementation
I raise this here because LLVM/Clang has been updated nicely, but libc++(-abi) has stayed behind since July.


Additional info:
Here is a rudimentary PKGBUILD (the cp should probably be some form of install command):

# $Id$
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: MThinkCpp <mtc.maintainer[at]outlook.com>
# Contributor: Ruben Van Boxem <vanboxem.ruben@gmail.com>
pkgname=libc++
pkgver=3.9.1
pkgrel=1
pkgdesc='A new implementation of the C++ standard library, targeting C++11.'
url='http://libcxx.llvm.org'
license=('custom:University of Illinois/NCSA Open Source License')
arch=('i686' 'x86_64')
# gcc-libs needed for libgcc_s, because Arch doesn't use a pure compiler-rt clang
depends=('glibc' 'libc++abi' 'gcc-libs')
makedepends=('clang' 'subversion' 'cmake')
source=("http://www.llvm.org/releases/$pkgver/libcxx-${pkgver}.src.tar.xz"
"http://www.llvm.org/releases/$pkgver/libcxx-${pkgver}.src.tar.xz.sig")
md5sums=('75a3214224301fc543fa6a38bdf7efe0'
'SKIP')
install=${pkgname}.install
validpgpkeys=(
# Bill Wendling <void@llvm.org>
54E3BDE33185D9F69664D22455F5CD70BB5A0569
# Tom Stellard <tom@stellard.net>
11E521D646982372EB577A1F8F0871F202119294
# Hans Wennborg <hans@chromium.org>
B6C8F98282B944E3B0D5C2530FC3042E345AD05D
)

build() {
mkdir -p libcxx-${pkgver}.src/build
cd libcxx-${pkgver}.src/build
CC=clang CXX=clang++ cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libcxxabi \
-DLIBCXX_CXX_ABI_INCLUDE_PATHS=/usr/include/cxxabi \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}.src"
make
}
package() {
install -Dm644 libcxx-${pkgver}.src/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt"
install -Dm644 libcxx-${pkgver}.src/build/lib/libc++experimental.a "$pkgdir/usr/lib/libc++experimental.a"
cd libcxx-${pkgver}.src/build
make DESTDIR="$pkgdir" install
}
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 01 January 2017, 19:54 GMT
Reason for closing:  Not a bug
Additional comments about closing:  At the top of every page of the bug tracker:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

Loading...