Port details on branch 2022Q2 |
- binaryen Compiler infrastructure and toolchain library for WebAssembly
- 117_1 devel =1 117_1Version of this port present on the latest quarterly branch.
- Maintainer: eduardo@FreeBSD.org
- Port Added: 2018-07-12 19:21:12
- Last Update: 2024-02-28 09:34:20
- Commit Hash: 79a152819
- People watching this port, also watch:: python, xerces-c3, linux-c7-avahi-libs, py39-pycparser
- License: APACHE20
- WWW:
- https://github.com/WebAssembly/binaryen
- Description:
- The aim of Binaryen, a compiler and toolchain infrastructure library for
WebAssembly, is to make compiling to WebAssembly easy, fast, and effective.
* Easy: Binaryen has a simple C API in a single header, and can also be used
from JavaScript. It accepts input in WebAssembly-like form but also accepts
a general control flow graph for compilers that prefer that.
* Fast: Binaryen's internal IR uses compact data structures and is designed for
completely parallel codegen and optimization, using all available CPU cores.
Binaryen's IR also compiles down to WebAssembly extremely easily and quickly
because it is essentially a subset of WebAssembly.
* Effective: Binaryen's optimizer has many passes that can improve code very
significantly (e.g. local coloring to coalesce local variables; dead code
elimination; precomputing expressions when possible at compile time; etc.).
These optimizations aim to make Binaryen powerful enough to be used as a
compiler backend by itself. One specific area of focus is on
WebAssembly-specific optimizations (that general-purpose compilers might not
do), which you can think of as wasm minification, similar to minification for
JavaScript, CSS, etc., all of which are language-specific (an example of such
an optimization is block return value generation in SimplifyLocals).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- binaryen>0:devel/binaryen
- To install the port:
- cd /usr/ports/devel/binaryen/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/binaryen
- pkg install binaryen
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: binaryen
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1709108795
SHA256 (WebAssembly-binaryen-version_117_GH0.tar.gz) = 9acf7cc5be94bcd16bebfb93a1f5ac6be10e0995a33e1981dd7c404dafe83387
SIZE (WebAssembly-binaryen-version_117_GH0.tar.gz) = 4979281
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:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- devel/emscripten
Configuration Options:
- ===> The following configuration options are available for binaryen-117_1:
TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
- Options name:
- devel_binaryen
- USES:
- cmake cpe python:build
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|