From owner-svn-ports-head@freebsd.org Thu Jul 12 19:20:59 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F35E81039D5C; Thu, 12 Jul 2018 19:20:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A16437ADAD; Thu, 12 Jul 2018 19:20:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 82A7A25A06; Thu, 12 Jul 2018 19:20:58 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6CJKww2029168; Thu, 12 Jul 2018 19:20:58 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6CJKvVs029163; Thu, 12 Jul 2018 19:20:57 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807121920.w6CJKvVs029163@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 12 Jul 2018 19:20:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r474533 - in head/devel: . binaryen X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/devel: . binaryen X-SVN-Commit-Revision: 474533 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2018 19:20:59 -0000 Author: yuri Date: Thu Jul 12 19:20:57 2018 New Revision: 474533 URL: https://svnweb.freebsd.org/changeset/ports/474533 Log: New port: devel/binaryen: Compiler infrastructure and toolchain library for WebAssembly PR: 229542 Submitted by: Greg V Added: head/devel/binaryen/ head/devel/binaryen/Makefile (contents, props changed) head/devel/binaryen/distinfo (contents, props changed) head/devel/binaryen/pkg-descr (contents, props changed) head/devel/binaryen/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Jul 12 19:05:30 2018 (r474532) +++ head/devel/Makefile Thu Jul 12 19:20:57 2018 (r474533) @@ -201,6 +201,7 @@ SUBDIR += bhyve-vm-goagent SUBDIR += bicyclerepair SUBDIR += bin86 + SUBDIR += binaryen SUBDIR += bingrep SUBDIR += binutils SUBDIR += bison Added: head/devel/binaryen/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/binaryen/Makefile Thu Jul 12 19:20:57 2018 (r474533) @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= binaryen +DISTVERSION= 1.38.8 +CATEGORIES= devel + +MAINTAINER= greg@unrelenting.technology +COMMENT= Compiler infrastructure and toolchain library for WebAssembly + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:outsource python:2.7,build compiler:c++11-lang +USE_GITHUB= yes +GH_ACCOUNT= WebAssembly +USE_LDCONFIG= yes + +BINARY_ALIAS= python=${PYTHON_CMD} + +.include Added: head/devel/binaryen/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/binaryen/distinfo Thu Jul 12 19:20:57 2018 (r474533) @@ -0,0 +1,3 @@ +TIMESTAMP = 1531420185 +SHA256 (WebAssembly-binaryen-1.38.8_GH0.tar.gz) = 7efc8fcee0cebbe7e95258d3e26da244dfb51774bedede4fe9d58dc601f9d137 +SIZE (WebAssembly-binaryen-1.38.8_GH0.tar.gz) = 3493264 Added: head/devel/binaryen/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/binaryen/pkg-descr Thu Jul 12 19:20:57 2018 (r474533) @@ -0,0 +1,21 @@ +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). + +WWW: https://github.com/WebAssembly/binaryen Added: head/devel/binaryen/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/binaryen/pkg-plist Thu Jul 12 19:20:57 2018 (r474533) @@ -0,0 +1,14 @@ +bin/asm2wasm +bin/wasm-as +bin/wasm-ctor-eval +bin/wasm-dis +bin/wasm-emscripten-finalize +bin/wasm-merge +bin/wasm-metadce +bin/wasm-opt +bin/wasm-reduce +bin/wasm-shell +bin/wasm2asm +include/binaryen-c.h +lib/libbinaryen.so +%%DATADIR%%/wasm.js