Port details |
- wasi-libc C standard library for WebAssembly System Interface
- 22.27 devel =4 21_1Version of this port present on the latest quarterly branch.
- 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:: autoconf, libXdamage, qtkeychain-qt5, xcb-util-image, libevent
- License: APACHE20 MIT LLVM2
- WWW:
- https://github.com/WebAssembly/wasi-libc
- Description:
- libc/sysroot for WASI (WebAssembly System Interface)
WASI Libc is a libc for WebAssembly programs built on top of WASI system calls.
It provides a wide array of POSIX-compatible C APIs, including support
for standard I/O, file I/O, filesystem manipulation, memory management, time,
string, environment variables, program startup, and many other APIs.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- wasi-libc18>0:devel/wasi-libc
- Conflicts:
- CONFLICTS_INSTALL:
- To install the port:
- cd /usr/ports/devel/wasi-libc/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/wasi-libc
- pkg install wasi-libc18
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: wasi-libc18
- Package flavors (<flavor>: <package>)
- 18: wasi-libc18
- 19: wasi-libc19
- 17: wasi-libc17
- distinfo:
- TIMESTAMP = 1729202659
SHA256 (WebAssembly-wasi-libc-wasi-sdk-22-27-g98897e2_GH0.tar.gz) = 0c393cbc7c14d9c2dfe53b850aff91d808e7d409d36cc28fc33b469bc45a145f
SIZE (WebAssembly-wasi-libc-wasi-sdk-22-27-g98897e2_GH0.tar.gz) = 1433626
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- llvm-config15 : devel/llvm15
- This port is required by:
- for Build
-
- devel/wasi-compiler-rt17
- devel/wasi-compiler-rt18
- devel/wasi-compiler-rt19
- devel/wasi-libcxx17
- devel/wasi-libcxx18
- devel/wasi-libcxx19
- mail/thunderbird
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- devel_wasi-libc
- USES:
- gmake llvm:18
- 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 |
22.27 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 |
21_1 18 Oct 2024 05:41:52 |
Charlie Li (vishwin) |
wasi: drop support for LLVM < 17
Prepare for update |
21_1 27 Mar 2024 18:57:22 |
Charlie Li (vishwin) |
devel/wasi-libc: refresh std{arg,def} headers from LLVM 18 |
21 02 Mar 2024 14:01:25 |
Mathieu Arnold (mat) |
cleanup: (ir)regular GH_TAGNAME cleanup |
21 11 Jan 2024 08:40:52 |
Charlie Li (vishwin) |
devel/wasi-libc: update to sdk-21
Bump PORTREVISION of consumers |
20.13 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 |
g20210923 09 Oct 2022 14:19:04 |
Charlie Li (vishwin) |
devel/wasi-*: take maintainership
These have to be coordinated with gecko@.
Approved by: mentors (implicit) |
g20210923 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) |
g20210923 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 ) |
g20210923 21 Oct 2021 15:46:47 |
Mikael Urankar (mikael) Author: Greg V |
devel/wasi-libc: Update to g20210923.
Differential Revision: https://reviews.freebsd.org/D32440 |
g20201005 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
g20201005 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
g20201005 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 |