From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4C18DE00C93; Thu, 12 Jan 2017 14:16:53 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F32A7E00C88 for ; Thu, 12 Jan 2017 14:16:41 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 12 Jan 2017 14:16:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,220,1477983600"; d="scan'208,217";a="1093399825" Received: from ttorling-mac01.jf.intel.com ([10.24.10.84]) by fmsmga001.fm.intel.com with ESMTP; 12 Jan 2017 14:16:40 -0800 From: Tim Orling Message-Id: <400C69D6-2DE9-4994-AB53-AA216FD44C79@linux.intel.com> Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Date: Thu, 12 Jan 2017 14:16:40 -0800 In-Reply-To: To: =?utf-8?Q?Maciej_Borz=C4=99cki?= References: <990F24BD-1C6F-4985-8E33-0C8E5B59E84A@linux.intel.com> X-Mailer: Apple Mail (2.3259) Cc: "yocto@yoctoproject.org" Subject: Re: Building on MacOS X X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 22:16:53 -0000 Content-Type: multipart/alternative; boundary="Apple-Mail=_1EFDECF2-7114-40CF-8797-876DD74B15C6" --Apple-Mail=_1EFDECF2-7114-40CF-8797-876DD74B15C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 12, 2017, at 10:43 AM, Maciej Borz=C4=99cki = wrote: >=20 > On Thu, Jan 12, 2017 at 7:12 PM, Andrea Galbusera > wrote: >> On Thu, Jan 12, 2017 at 6:55 PM, Maciej Borz=C4=99cki >> wrote: >>>=20 >>> On Thu, Jan 12, 2017 at 4:39 PM, Tim Orling >>> wrote: >>>> You can also build using Docker containers: >>>> https://github.com/crops/docker-win-mac-docs/wiki >>>=20 >>> IIRC docker on mac relies on docker-machine, which in turn spins up = a >>> virtualbox VM. >>=20 >>=20 >> Not anymore! There's a native implementation [1] but still a linux = kernel >> around anyway! ;-) >>=20 >> [1] >> = https://www.docker.com/docker-news-an.d-press/docker-released-native-mac-a= nd-windows-apps-optimize-developer-experience >=20 > Good to know. There is still hope for mac users after all :) My main development machine is Mac OS X 10.12.2 (Sierra). I stay up to = date with the latest Docker for Mac beta. It is a very pleasant = experience. >=20 >>>=20 >>>=20 >>>=20 >>>>=20 >>>> On Jan 12, 2017, at 7:34 AM, Burton, Ross = wrote: >>>>=20 >>>>=20 >>>> On 12 January 2017 at 15:14, Roger Smith = wrote: >>>>>=20 >>>>> Is there any documentation for running the Yocto build system on = Mac OS >>>>> X >>>>> or macOS as Apple now calls it? I am working with the Intel Aero = board. >>>>> Before I go down the rabbit hole of fixing issues like this one = (and I >>>>> am >>>>> using the bash shell), I=E2=80=99d like to know if anyone has = build it on os x >>>>> before. >>>>=20 >>>>=20 >>>> If you install all of the GNU tools using brew or similar and put = them >>>> first >>>> on $PATH then you can get bitbake started. Then you need to stub = out >>>> the >>>> linux-specific bits in bitbake. I've previously started on this = work >>>> already >>>>=20 >>>> = (http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=3Dross/darw= in). >>>> The next step is figuring out how to configure OE to build and link >>>> natively >>>> on OSX using LLVM instead of GCC. >>>>=20 >>>> However all of this is mostly academic because in Sierra (iirc) = onwards >>>> there is tighter security on processes, which means that pseudo = won't >>>> work >>>> even if you port it to macOS. >>>>=20 >>>> So unless you fancy some non-trivial engineering the short version = is >>>> just >>>> use something like Docker to run a Linux system on your Mac. >>>>=20 >>>> Ross >>>> -- >>>> _______________________________________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/yocto >>>>=20 >>>>=20 >>>>=20 >>>> -- >>>> _______________________________________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/yocto >>>>=20 >>>=20 >>>=20 >>>=20 >>> -- >>> Maciej Borzecki >>> RnDity >>> -- >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >>=20 >>=20 >=20 >=20 >=20 > --=20 > Maciej Borzecki > RnDity --Apple-Mail=_1EFDECF2-7114-40CF-8797-876DD74B15C6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Jan 12, 2017, at 10:43 AM, Maciej Borz=C4=99cki <maciej.borzecki@rndity.com> wrote:

On Thu, Jan 12, 2017 at 7:12 PM, Andrea = Galbusera <gizero@gmail.com> wrote:
On Thu, Jan 12, 2017 at 6:55 PM, Maciej Borz=C4=99cki
<maciej.borzecki@rndity.com> wrote:

On Thu, = Jan 12, 2017 at 4:39 PM, Tim Orling
<timothy.t.orling@linux.intel.com> wrote:
You can also build using = Docker containers:
https://github.com/crops/docker-win-mac-docs/wiki

IIRC docker on mac relies on = docker-machine, which in turn spins up a
virtualbox VM.


Not anymore! = There's a native implementation [1] but still a linux kernel
around anyway! ;-)

[1]
https://www.docker.com/docker-news-an.d-press/docker-released-n= ative-mac-and-windows-apps-optimize-developer-experience

Good to know. There is still hope for mac users = after all :)

My main = development machine is Mac OS X 10.12.2 (Sierra). I stay up to date with = the latest Docker for Mac beta. It is a very pleasant = experience.






On Jan 12, 2017, at 7:34 AM, = Burton, Ross <ross.burton@intel.com> wrote:


On 12 January 2017 at 15:14, Roger Smith = <roger@sentientblue.com> wrote:

Is there any documentation for = running the Yocto build system on Mac OS
X
or = macOS as Apple now calls it? I am working with the Intel Aero board.
Before I go down the rabbit hole of fixing issues like this = one (and I
am
using the bash shell), I=E2=80=99= d like to know if anyone has build it on os x
before.


If you install all = of the GNU tools using brew or similar and put them
firston $PATH then you can get bitbake started.  Then you = need to stub out
the
linux-specific bits in = bitbake.  I've previously started on this work
already

(http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=3D= ross/darwin).
The next step is figuring out how to = configure OE to build and link
natively
on = OSX using LLVM instead of GCC.

However all = of this is mostly academic because in Sierra (iirc) onwards
there is tighter security on processes, which means that = pseudo won't
work
even if you port it to = macOS.

So unless you fancy some non-trivial = engineering the short version is
just
use = something like Docker to run a Linux system on your Mac.
Ross
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



--
Maciej Borzecki
RnDity
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto





-- 
Maciej = Borzecki
RnDity

= --Apple-Mail=_1EFDECF2-7114-40CF-8797-876DD74B15C6--