Re: [fossil-users] Fossil on Raspberry Pi
On Thu, Sep 17, 2015 at 9:42 PM, Sergei Gavrikovwrote: > FYI: I cross-compiled Fossil for ARM as > > Tools > > https://github.com/raspberrypi/tools/ Oh, the irony! > A while I tested the build on the target as a client only Everything > works great! Sorry, if that old news :-) > Not at all - i don't remember hearing from someone who's cross-compiled it. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, 28 Jul 2014, Stephan Beal wrote: > On Mon, Jul 28, 2014 at 9:57 PM, Richard Hippwrote: > FWIW, took 6m36.130s to compile with -Os on the beaglebone. > Management summary: > > Start time: Mon Jul 28 21:03:36 UTC 2014 > End time: Mon Jul 28 21:24:58 UTC 2014 > == 21m22s FYI: I cross-compiled Fossil for ARM as Tools https://github.com/raspberrypi/tools/ Configure % ./configure CROSS=arm-linux-gnueabihf- --with-miniz --with-openssl=none --static Build make ;# it took about 2 min on my old laptop Fossil on target $ uname -a Linux raspberrypi 4.1.6+ #810 PREEMPT Tue Aug 18 15:19:58 BST 2015 armv6l GNU/Linux $ fossil version -v This is fossil version 1.33 [5b456cfa6b] 2015-09-16 10:49:49 UTC Compiled on Sep 17 2015 21:55:34 using gcc-4.8.3 20140106 (prerelease) (32-bit) SQLite 3.8.12 2015-09-11 01:22:41 d6cadbe9fe Schema version 2015-01-24 miniz 9.1.15, loaded 9.1.15 UNICODE_COMMAND_LINE STATIC_BUILD A while I tested the build on the target as a client only Everything works great! Sorry, if that old news :-) Thanks for Fossil! Sergei ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
I had a similarly positive experience and result from doing "the obvious thing" and compiling native on an RPi. I obtained a tarball from the usual place and then did ./configure and make. On 9/17/2015 12:42 PM, Sergei Gavrikov wrote: On Mon, 28 Jul 2014, Stephan Beal wrote: On Mon, Jul 28, 2014 at 9:57 PM, Richard Hippwrote: FWIW, took 6m36.130s to compile with -Os on the beaglebone. Management summary: Start time: Mon Jul 28 21:03:36 UTC 2014 End time: Mon Jul 28 21:24:58 UTC 2014 == 21m22s I didn't time it and it was a while ago, but 20 min isn't wrong IIRC. FYI: I cross-compiled Fossil for ARM as Configure % ./configure CROSS=arm-linux-gnueabihf- --with-miniz --with-openssl=none --static I likely turned on JSON support, but I don't have the RPi in arms reach to check. I don't recall telling it not to SSL. I certainly didn't do a static build or influence the choices of anything else. Build make ;# it took about 2 min on my old laptop Yeah, cross-compilation may be the way to go for RPi. It just isn't a hot developer platform. Incidentally, the same was true for an Amazon EC2 instance (a t2.micro, or their least powerful instance) running their stock trimmed Linux distro (which seems to be a Red Hat derivative). wget, ./configure, make just worked aside from the usual quirks. The compile time was just a little faster, like a few tens of seconds. -- Ross Berteig r...@cheshireeng.com Cheshire Engineering Corp. http://www.CheshireEng.com/ ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
Hi - I just got a newbie asking how to get fossil to run in raspbian and of course searched the mail archives as the first option. Could you add a comment on the top of the download site that `apt-get install fossil` is available? Thank you :-) On 15 December 2013 18:11, Stephan Beal sgb...@googlemail.com wrote: Hi, all, a brief report of success in building fossil on Raspberry Pi (raspbian distro) with no source changes or unusual warnings. Took 21 minutes to compile on a class 10 SD card, though. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, Jul 28, 2014 at 3:09 PM, Bjorn Madsen bjorn.h.mad...@googlemail.com wrote: Hi - I just got a newbie asking how to get fossil to run in raspbian and of course searched the mail archives as the first option. Could you add a comment on the top of the download site that `apt-get install fossil` is available? Maybe we just need to add a pre-compiled binary for raspbian... -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, Jul 28, 2014 at 9:15 PM, Richard Hipp d...@sqlite.org wrote: Maybe we just need to add a pre-compiled binary for raspbian... Incidentally, i built one for Holger (from the TCL conference) over the weekend: http://fossil.wanderinghorse.net/tmp/fossil-raspbian-20140826.bin -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, Jul 28, 2014 at 9:25 PM, Stephan Beal sgb...@googlemail.com wrote: Incidentally, i built one for Holger (from the TCL conference) over the weekend: http://fossil.wanderinghorse.net/tmp/fossil-raspbian-20140826.bin Achtung: configured with: --json --with-openssl=none If you'd like a specific build, let me know the options and my pi is now running 24/7 now, so i can get it built (the last guy who lived here LAN-wired the whole house, so i've got a place to stash the Pi!). -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, Jul 28, 2014 at 9:27 PM, Stephan Beal sgb...@googlemail.com wrote: If you'd like a specific build, let me know the options and my pi is now running 24/7 now, so i can get it built (the last guy who lived here LAN-wired the whole house, so i've got a place to stash the Pi!). BTW: that offer's not just for Richard - send your build option requests here and i'll get to them as time allows. It takes almost half an hour to build after a reconfigure/clean, so i can't do more than a few a day, though. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, Jul 28, 2014 at 3:29 PM, Stephan Beal sgb...@googlemail.com wrote: On Mon, Jul 28, 2014 at 9:27 PM, Stephan Beal sgb...@googlemail.com wrote: If you'd like a specific build, let me know the options and my pi is now running 24/7 now, so i can get it built (the last guy who lived here LAN-wired the whole house, so i've got a place to stash the Pi!). BTW: that offer's not just for Richard - send your build option requests here and i'll get to them as time allows. It takes almost half an hour to build after a reconfigure/clean, so i can't do more than a few a day, though. I put a build for BeagleBone-Black at http://www.fossil-scm.org/tmp/fossil-beaglebone-black-20140728.zip - I don't know if this will work on raspian or not. Can somebody please try it and let me know. FWIW, took 6m36.130s to compile with -Os on the beaglebone. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, Jul 28, 2014 at 9:57 PM, Richard Hipp d...@sqlite.org wrote: On Mon, Jul 28, 2014 at 3:29 PM, Stephan Beal sgb...@googlemail.com wrote: On Mon, Jul 28, 2014 at 9:27 PM, Stephan Beal sgb...@googlemail.com wrote: If you'd like a specific build, let me know the options and my pi is now running 24/7 now, so i can get it built (the last guy who lived here LAN-wired the whole house, so i've got a place to stash the Pi!). BTW: that offer's not just for Richard - send your build option requests here and i'll get to them as time allows. It takes almost half an hour to build after a reconfigure/clean, so i can't do more than a few a day, though. I put a build for BeagleBone-Black at http://www.fossil-scm.org/tmp/fossil-beaglebone-black-20140728.zip - I don't know if this will work on raspian or not. Can somebody please try it and let me know. pi@raspberrypi:~/tmp$ wget http://www.fossil-scm.org/tmp/fossil-beaglebone-black-20140728.zip ... pi@raspberrypi:~/tmp$ unzip fossil-beaglebone-black-20140728.zip Archive: fossil-beaglebone-black-20140728.zip inflating: fossil pi@raspberrypi:~/tmp$ ./fossil help Usage: ./fossil help COMMAND Common COMMANDs: (use ./fossil help -a|--all for a complete list) add changes fusefs mv rm timeline addremove clean gdiff openrss ui all clone helppraise settingsundo annotatecommit import pullsqlite3 update bisect diffinfopushstash version blame export initrebuild status branch extras ls remote-url sync cat finfo merge revert tag This is fossil version 1.30 [c6c05c82fd] 2014-07-27 23:18:05 UTC pi@raspberrypi:~/tmp$ uname -a Linux raspberrypi 3.12.22+ #691 PREEMPT Wed Jun 18 18:29:58 BST 2014 armv6l GNU/Linux FWIW, took 6m36.130s to compile with -Os on the beaglebone. The Pi could do it faster if i'd bother to plug in an external USB drive, rather than build directly on the SD card. i doubt it could do 6-7 minutes, though. i forgot how long the odroid U3 took (and it isn't connected right now), but in general it's 5-6 times faster at compiling C than the Pi is. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Mon, Jul 28, 2014 at 9:29 PM, Stephan Beal sgb...@googlemail.com wrote: BTW: that offer's not just for Richard - send your build option requests here and i'll get to them as time allows. It takes almost half an hour to build after a reconfigure/clean, so i can't do more than a few a day, though. Necessity being the mother of invention... maybe this will be useful to someone else: #!/bin/bash # A quick hack to build multiple configurations of fossil binaries. # See the very end of this file for the configurations. function die(){ local rc=$1 shift echo $@ 2 exit $rc } COMMON_CONFIG_FLAGS=--static function buildIt(){ local name=$1 shift local opt=$COMMON_CONFIG_FLAGS $@ echo Building configuration [${name}]: ${opt} local zip=fossil-$(uname -i)-$(uname -s)-${name}.zip rm -f ${zip} make clean /dev/null echo Start time: $(date) ./configure $opt /dev/null \ || die $? configure failed. Options: ${opt} make /dev/null || die $? make failed echo End time: $(date) echo Creating zip: ${zip} zip ${zip} fossil || die $? zip failed ls -la ${zip} } while read line; do buildIt ${line%%=*} ${line#*=} done EOF vanilla=--with-openssl=none json-nossl=--with-openssl=none --json EOF Seems to work: (stderr output (compiler warnings) elided here) [stephan@host:~/cvs/fossil/fossil]$ ./buildMultipleConfigs.sh 2/dev/null Building configuration [vanilla]: --static --with-openssl=none Start time: Mon Jul 28 22:56:52 CEST 2014 End time: Mon Jul 28 22:57:45 CEST 2014 Creating zip: fossil-x86_64-Linux-vanilla.zip adding: fossil (deflated 63%) -rw-r--r-- 1 stephan stephan 292 Jul 28 22:57 fossil-x86_64-Linux-vanilla.zip Building configuration [json-nossl]: --static --with-openssl=none --json Start time: Mon Jul 28 22:57:45 CEST 2014 End time: Mon Jul 28 22:58:43 CEST 2014 Creating zip: fossil-x86_64-Linux-json-nossl.zip adding: fossil (deflated 63%) -rw-r--r-- 1 stephan stephan 3166516 Jul 28 22:58 fossil-x86_64-Linux-json-nossl.zip -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
Thus said Stephan Beal on Mon, 28 Jul 2014 23:27:04 +0200: (BTW: is --static preferred or not nowadays?) I prefer to use --static when fossil is going to be in a chrooted environment to minimize dependencies, but typically I use it without --static for daily use. Andy -- TAI64 timestamp: 400053d6eff2 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Fossil on Raspberry Pi
Hi, all, a brief report of success in building fossil on Raspberry Pi (raspbian distro) with no source changes or unusual warnings. Took 21 minutes to compile on a class 10 SD card, though. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil on Raspberry Pi
On Sun, Dec 15, 2013 at 1:11 PM, Stephan Beal sgb...@googlemail.com wrote: Hi, all, a brief report of success in building fossil on Raspberry Pi (raspbian distro) with no source changes or unusual warnings. Took 21 minutes to compile on a class 10 SD card, though. Also works on a BeagleBoard Black ( http://beagleboard.org/products/beaglebone%20black), as does SQLite ;-) -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users