devel/binaryen - The NetBSD Packages Collection

Compiler and toolchain infrastructure library for WebAssembly

Binaryen is a compiler and toolchain infrastructure library for WebAssembly,
written in C++. It aims 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 (see an overview later
  down) that can improve code size and speed. 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.

Build dependencies

lang/python311 lang/python311 devel/cmake pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64binaryen-116.tgz
NetBSD 10.0aarch64binaryen-114nb1.tgz
NetBSD 10.0aarch64binaryen-116.tgz
NetBSD 10.0aarch64ebbinaryen-116.tgz
NetBSD 10.0aarch64ebbinaryen-116.tgz
NetBSD 10.0alphabinaryen-116.tgz
NetBSD 10.0earmv6hfbinaryen-116.tgz
NetBSD 10.0earmv6hfbinaryen-114nb1.tgz
NetBSD 10.0earmv6hfbinaryen-116.tgz
NetBSD 10.0earmv7hfbinaryen-116.tgz
NetBSD 10.0earmv7hfbinaryen-114nb1.tgz
NetBSD 10.0earmv7hfbinaryen-116.tgz
NetBSD 10.0i386binaryen-116.tgz
NetBSD 10.0i386binaryen-116.tgz
NetBSD 10.0powerpcbinaryen-114nb1.tgz
NetBSD 10.0sparcbinaryen-116.tgz
NetBSD 10.0x86_64binaryen-116.tgz
NetBSD 10.0x86_64binaryen-116.tgz
NetBSD 9.0aarch64binaryen-116.tgz
NetBSD 9.0aarch64binaryen-116.tgz
NetBSD 9.0earmv6hfbinaryen-116.tgz
NetBSD 9.0earmv6hfbinaryen-116.tgz
NetBSD 9.0earmv7hfbinaryen-116.tgz
NetBSD 9.0earmv7hfbinaryen-116.tgz
NetBSD 9.0i386binaryen-116.tgz
NetBSD 9.0i386binaryen-116.tgz
NetBSD 9.0powerpcbinaryen-116.tgz
NetBSD 9.0x86_64binaryen-116.tgz
NetBSD 9.0x86_64binaryen-116.tgz
NetBSD 9.3x86_64binaryen-116.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

tests
Build and install tests.

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.