pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/pkgsrc-2021Q4]: pkgsrc/lang/wasi-libcxx Pullup ticket #6565 - request...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c9ebec891a18
branches: pkgsrc-2021Q4
changeset: 371759:c9ebec891a18
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Thu Jan 13 19:53:12 2022 +0000
description:
Pullup ticket #6565 - requested by gutteridge
lang/wasi-libcxx: build fix
Revisions pulled up:
- lang/wasi-libcxx/Makefile 1.8
---
Module Name: pkgsrc
Committed By: gutteridge
Date: Mon Jan 10 02:10:04 UTC 2022
Modified Files:
pkgsrc/lang/wasi-libcxx: Makefile
Log Message:
wasi-libcxx: carry over wasi-compiler-rt fix for Firefox builds
Also apply tnn@'s workaround in wasi-compiler-rt here, as related
failures have been observed due to this package. See PR pkg/56590.
(Tested with multiple iterations on NetBSD 9.2_STABLE.)
diffstat:
lang/wasi-libcxx/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 012ad6349ee1 -r c9ebec891a18 lang/wasi-libcxx/Makefile
--- a/lang/wasi-libcxx/Makefile Tue Jan 11 18:41:46 2022 +0000
+++ b/lang/wasi-libcxx/Makefile Thu Jan 13 19:53:12 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4.2.1 2022/01/09 20:10:55 bsiegert Exp $
+# $NetBSD: Makefile,v 1.4.2.2 2022/01/13 19:53:12 bsiegert Exp $
.include "../../lang/llvm/version.mk"
@@ -167,6 +167,15 @@
${PKGSRC_SETENV} ${_CONFIGURE_CMAKE_ENV} \
cmake ${CMAKE_ARGS} ../libcxxabi
+# Run llvm-ranlib again on the archives. Fixes mystery build failure
+# in Firefox due to missing index (see PR pkg/56590). Might be a MAKE_JOBS
+# problem in this package?
+post-install:
+ ${PREFIX}/bin/llvm-ranlib \
+ ${DESTDIR}${PREFIX}/wasi/lib/wasm32-wasi/libc++.a
+ ${PREFIX}/bin/llvm-ranlib \
+ ${DESTDIR}${PREFIX}/wasi/lib/wasm32-wasi/libc++abi.a
+
.include "../../lang/llvm/buildlink3.mk"
.include "../../lang/wasi-libc/buildlink3.mk"
.include "../../lang/wasi-compiler-rt/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index