Port details |
- wasi-libcxx C++ standard library for WebAssembly System Interface
- 0 devel =3 Package not present on quarterly.This is expected early in the quarter (because the new packaage repo has not been built yet.). Otherwise, this missing version is most likely a FreshPorts error.
- IGNORE: is a meta port; there is nothing to build
- Maintainer: vishwin@FreeBSD.org
- Port Added: 2020-11-02 15:58:36
- Last Update: 2024-10-18 12:38:20
- Commit Hash: 84b600f
- People watching this port, also watch:: qtkeychain-qt5, py39-treq, py311-Automat, linux-c7-atk, py39-beautifulsoup
- Also Listed In: lang
- License: LLVM2
- WWW:
- https://llvm.org/
- Description:
- The LLVM Project is a collection of modular and reusable compiler and
toolchain technologies.
This port includes Clang builting for WASI
(WebAssembly System Interface).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- wasi-libcxx-master>0:devel/wasi-libcxx
- To install the port:
- cd /usr/ports/devel/wasi-libcxx/ && make install clean
- We doubt a package is available for this port because we see it marked as as:
-
Packages are normally not provided for ports that are marked as above.
- To add the package, run one of these commands:
- pkg install devel/wasi-libcxx
- pkg install wasi-libcxx-master
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: wasi-libcxx-master
- Flavors: there is no flavor information for this port.
- distinfo:
- There is no distinfo for this port.
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- devel/wasi-libcxx17
- devel/wasi-libcxx18
- devel/wasi-libcxx19
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_wasi-libcxx
- USES:
- cmake tar:xz
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0 18 Oct 2024 12:38:20 |
Charlie Li (vishwin) |
wasi: update to latest commit past sdk-22
devel/wasi-libc is now flavourised per supported LLVM version. Each
flavour includes/copies the corresponding clang's stdarg.h and
stddef.h instead of simply using the latest clang release.
Technically upstream dropped support for LLVM < 18, but the commit
doing so admittedly operated under an uncertain assumption. LLVM
17 is still supported in these ports for the benefit of Rust and
gecko@ ports, which specify LLVM 17 minimum, and to facilitate LTO
with that version. LLVM 19 is also supported in this version, with
the corresponding ports to be committed separately.
Bump PORTREVISION of consumers |
0 18 Oct 2024 12:01:51 |
Charlie Li (vishwin) |
devel/wasi-{compiler-rt,libcxx}: attempt to unbreak the tree
In the meta-ports, USES=llvm is defined before IGNORE, so when
DISTVERSION=0, they are marked BROKEN because LLVM version 0 is
invalid. However, the USES=llvm alone will permeate ${LLVM_DEFAULT}
unless a valid specific LLVM version/range is specified, so anything
that references the USES=llvm variables will defer to ${LLVM_DEFAULT}.
In these cases, the children of these meta-ports are split by
individual LLVM version, referencing them specifically.
Each devel/wasi-libcxx depends on the corresponding devel/wasi-compiler-rt
using ${LLVM_VERSION} through the respective meta-ports. However,
since the meta-port is not IGNOREd until after the invalid USES=llvm,
${LLVM_VERSION} is ${LLVM_DEFAULT}, which is still as of this commit
15, one of the dropped versions in WASI. BUILD_DEPENDS in the
meta-port as a result refers to a removed port, breaking the tree.
Conditionalise USES=llvm until after the proper IGNORE to avoid
this kind of situation now and into the future.
Reported by: antoine |
0 27 Mar 2024 18:57:23 |
Charlie Li (vishwin) |
devel/wasi-libcxx: explicitly disable LIBCXXABI_USE_LLVM_UNWINDER
LLVM 18 enables this by default, which is not wanted here. This is
effectively a no-op for other LLVM versions.
Context: https://github.com/WebAssembly/wasi-sdk/pull/377 |
0 21 Nov 2023 17:51:35 |
Antoine Brodin (antoine) |
devel/wasi-libcxx: fix PKGBASE collision |
0 20 Nov 2023 21:32:36 |
Charlie Li (vishwin) |
wasi: update libc to sdk-20 and modularise LLVM bits
wasi-libcxx and wasi-compiler-rt now meta ports (similar to u-boot);
the build process is the same for each LLVM version so child ports
are minimal. Minimum supported LLVM version is 12, thus its
corresponding child ports are resurrected and LLVM 11 child ports
are removed.
Since all supported LLVM versions are made available at once, remove
restriction in bsd.gecko.mk and switch to USES=llvm throughout. LTO
on gecko ports should now work with later LLVM versions so long as
${DEFAULT_VERSIONS} is set properly and matches the LLVM used in
rust (if not using the PORT_LLVM option).
Reviewed by: brooks (LLVM ports interactions)
Tested by: Eric Camachat <eric[at]camachat[dot]org>
Approved by: maintainer timeout (gecko@ portion, 2+ weeks)
PR: 274896
Differential Revision: https://reviews.freebsd.org/D40098 |
13.0.1 09 Oct 2022 14:19:04 |
Charlie Li (vishwin) |
devel/wasi-*: take maintainership
These have to be coordinated with gecko@.
Approved by: mentors (implicit) |
13.0.1 09 Oct 2022 11:56:28 |
Fernando Apesteguía (fernape) |
*/*: Release ports from maintainership
Maintainer releases all his ports.
PR: 266871
Reported by: unrelentingtech <greg@unrelenting.technology> |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
13.0.1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
13.0.1 08 Feb 2022 19:26:13 |
Christoph Moench-Tegeder (cmt) |
www/firefox: unbreak after b00578b9b208
the webasm components must follow llvm (the llvm we use for building
firefox), and wasi-compiler-rt and wasi-libcxx are really just
llvm components and should be at the same version as the llvm we need. |
13.0.0_1 24 Nov 2021 20:58:57 |
Christoph Moench-Tegeder (cmt) |
devel/wasi-libcxx: actually disable exceptions
This port was accidentially using the base system compiler for some
parts of the configure stages - which gives wrong results in the
compiler feature tests, as base clang on FreeBSD 13.0 (llvm 11) does
not know about the wasm32 target.
Worse, even with the correct compiler some of the feature tests depend
on a present and usable libc++ for the wasi target, which we don't
have yet (this port will build one, but before...).
The end result was that the build system failed to figure out the
compiler flags for disabling exceptions (-fno-exceptions in clang's
case) and built the wasm libc++ with exceptions enabled. But exceptions
are not (yet) supported in wasi-sdk, so trying to build any code against
this wasm libc++ failed with linker errors like
wasm-ld: error:
/usr/local/share/wasi-sysroot/lib/wasm32-wasi/libc++.a(string.cpp.o): undefined
symbol: __cxa_allocate_exception (Only the first 15 lines of the commit message are shown above ) |
13.0.0 21 Oct 2021 15:46:47 |
Mikael Urankar (mikael) Author: Greg V |
devel/wasi-libcxx: Update to 13.0.0.
Differential Revision: https://reviews.freebsd.org/D32441 |
11.0.0 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
11.0.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
11.0.0 02 Nov 2020 15:58:28 |
mikael |
devel/wasi-compiler-rt11, wasi-libc, wasi-libcxx: New ports for WebAssembly
System Interface (WASI) libc, clang builtins (compiler-rt), libc++, libcxxabi
WASI is a "syscall" interface for WebAssembly, significantly inspired by
CloudABI.
It is supported in clang 8 and up, but to actually build C programs,
it needs clang builtins and the libc/sysroot. And for C++, also libc++ and
libcxxabi.
Submitted by: Greg V <greg%unrelenting.technology>
Differential Revision: https://reviews.freebsd.org/D22960 |