Re: [Sugar-devel] Binary Blobs (was: Re: [IAEP] Fwd: Heart Rate Monitor Peripheral)
On 08.04.2009, at 21:23, Wade Brainerd wrote: > I would really like to have an official mechanism for dealing with > this, as it's preventing several of my activities from working on > SoaS. > > I used to just include x86 Python 2.5 compiled modules in my bundles, > but now we are supporting more architectures. > > One proposal is to have a build machine which supports cross compiling > all our supported architectures, which can compile the blobs. Then we > include all the blobs inside the .xo bundle. This is like what OSX > does with Application bundles. > > Another is to support compile-on-install. This requires a build > system to be present on the user's machine, which is a steep > requirement. > > I'm leaning towards #1, we just need to work out the details and get > it set up. Sugar already sets LD_LIBRARY_PATH to $SUGAR_ACTIVITY_ROOT/lib so a simple extension would be to add platform-specific lib dirs to the library search path. One way to do this is to simply append the config.guess output, which would result in lib-i686-pc-linux-gnu on my box ... - Bert - ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Binary Blobs (was: Re: [IAEP] Fwd: Heart Rate Monitor Peripheral)
I would really like to have an official mechanism for dealing with this, as it's preventing several of my activities from working on SoaS. I used to just include x86 Python 2.5 compiled modules in my bundles, but now we are supporting more architectures. One proposal is to have a build machine which supports cross compiling all our supported architectures, which can compile the blobs. Then we include all the blobs inside the .xo bundle. This is like what OSX does with Application bundles. Another is to support compile-on-install. This requires a build system to be present on the user's machine, which is a steep requirement. I'm leaning towards #1, we just need to work out the details and get it set up. -Wade On Wed, Apr 8, 2009 at 12:00 PM, Sascha Silbe wrote: > Note: Follow up from a discussion on iaep. > > On Wed, Apr 08, 2009 at 08:31:15AM -0400, Walter Bender wrote: > >> (At one point, Sascha had helped me include a script that would build the >> appropriate binaries at install time, but that solution depends upon a build >> environment be installed, which is not the default for most OLPC systems. >> Oops.) > > Actually, the latest version contained support for precompiled binary blobs > as well (choosing the right one for the architecture and validating > currency), but we agreed to pull it from regular TA because it was late in > the release cycle. We might try again now (in the 0.86 branch) and see how > well it works. > > CU Sascha > > -- > http://sascha.silbe.org/ > http://www.infra-silbe.de/ > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQEcBAEBAgAGBQJJ3MorAAoJELpz82VMF3DaqSUH/0ckdAJd8Tidpb41YaaHlhLX > hZ3SOEeRt73yjRgJkW75pYQU3jhXka29EJH+QWgwgAUlPTym7samNsMsFUUQQFla > uKH0O+u47iWfIzqFslPGHJLXJ0vFZWgcd/uNdF1EB9T/qoY+KrMv9n7JefGGT81L > THnUz5rvcem30ajGgmUjZEaRPXdp+TVkbvMIkyZf4de4Qq1FwaOfdr7WCu5nP/Ul > nFCWWBjJusyOkNI1yNxrgErKknT5hrvKpH4DbvR99NVj975RGq6JVgVi6VzrXbP0 > R5sSO/UIZV7XDpjXjz3RmsuH5ldRAxvRaMFyzESGEVsB/p0lQSvd7zWZ+6gwiu4= > =IEcS > -END PGP SIGNATURE- > > ___ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Binary Blobs (was: Re: [IAEP] Fwd: Heart Rate Monitor Peripheral)
Note: Follow up from a discussion on iaep. On Wed, Apr 08, 2009 at 08:31:15AM -0400, Walter Bender wrote: (At one point, Sascha had helped me include a script that would build the appropriate binaries at install time, but that solution depends upon a build environment be installed, which is not the default for most OLPC systems. Oops.) Actually, the latest version contained support for precompiled binary blobs as well (choosing the right one for the architecture and validating currency), but we agreed to pull it from regular TA because it was late in the release cycle. We might try again now (in the 0.86 branch) and see how well it works. CU Sascha -- http://sascha.silbe.org/ http://www.infra-silbe.de/ signature.asc Description: Digital signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel