Date: Thu, 18 Jun 2015 15:20:17 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 200954] [NEW PORT] lang/cloudabi-clang Message-ID: <bug-200954-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200954 Bug ID: 200954 Summary: [NEW PORT] lang/cloudabi-clang Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: ed@FreeBSD.org Hi there, I'm currently working on a project to slowly integrate support for CloudABI into FreeBSD. Essentially, CloudABI could be seen as a compact UNIX-like runtime that uses Capsicum. More details can be found here: https://github.com/NuxiNL/cloudlibc The first port that I want to add is a very simple one: lang/cloudabi-clang, which installs a copy of Clang that can be used to cross-compile software against CloudABI. Instead of building yet another copy of Clang, this port simply depends on clang-devel and adds symbolic links to the compiler executable. This works, as Clang has been designed to derive its target triple from the executable name. I could in theory commit this myself, but as I've never done this before, I thought I'd go through the regular process of submitting a bug. Be sure to get in touch in case there's something I can do on my part. Thanks, Ed # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # pkg-descr # echo x - Makefile sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965' X# Created by: Ed Schouten <ed@FreeBSD.org> X# $FreeBSD$ X XPORTNAME= cloudabi-clang XPORTVERSION= 1.0 XCATEGORIES= devel XMASTER_SITES= # None XDISTFILES= # None X XMAINTAINER= ed@FreeBSD.org XCOMMENT= Clang for CloudABI X XLICENSE= MIT X XRUN_DEPENDS= clang-devel:${PORTSDIR}/lang/clang-devel X XNO_BUILD= yes X XPLIST_FILES= bin/x86_64-unknown-cloudabi-cc \ X bin/x86_64-unknown-cloudabi-c++ X Xdo-install: X @${LN} -s ../llvm-devel/bin/clang \ X ${STAGEDIR}${PREFIX}/bin/x86_64-unknown-cloudabi-cc X @${LN} -s ../llvm-devel/bin/clang++ \ X ${STAGEDIR}${PREFIX}/bin/x86_64-unknown-cloudabi-c++ X X.include <bsd.port.mk> b67911656ef5d18c4ae36cb6741b7965 echo x - pkg-descr sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979' XThe CloudABI environment uses Clang as its C/C++ compiler. This meta Xport installs Clang and sets up symbolic links, so that Clang can be Xused as a cross compiler for CloudABI. X XWWW: https://github.com/NuxiNL/cloudlibc 7f9555c3c1089940396b503dd37f3979 exit -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200954-13>