Hi,
The osmocom-bb git repository has now moved to gerrit.
Great news!
There are no tests in osmocom-bb yet, but I wonder if it would be
possible to add
simple jenkins job which checks that arm cross-compilation for osmocom-bb succeeds as a patch check?
I can take this task and try to write a Jenkins script. Also, we need to have cross-compiler installed on the build machines.
With best regards, Vadim Yanitskiy.
Please coordinate with Klaus (in CC, sorry for double-posting - not sure if you're subscribed to this list as well) who's working on revamping our jenkins install.
On 26.04.2017 02:24, Vadim Yanitskiy wrote:
Hi,
The osmocom-bb git repository has now moved to gerrit.
Great news!
There are no tests in osmocom-bb yet, but I wonder if it would be possible to add simple jenkins job which checks that arm cross-compilation for osmocom-bb succeeds as a patch check?
I can take this task and try to write a Jenkins script. Also, we need to have cross-compiler installed on the build machines.
With best regards, Vadim Yanitskiy.
There are no tests in osmocom-bb yet, but I wonder if it would be possible to add simple jenkins job which checks that arm cross-compilation for osmocom-bb succeeds as a patch check?
Sure, as I see the necessary steps to do so are:
1 - create a Jenkins gerrit-verification job that points to 2
2 - add a verification script to the osmocom-bb repo in: osmocom-bb/contrib/gerrit-jenkins.sh
3 - Create a Dockerfile that is capable to do the arm cross-compilation
Also, we need to have cross-compiler installed on the build machines.
Note: imho the smoothest solution for the current build slave setup to fulfill mentioned arm cross-compilation would be a Docker container, because it doesn't affect the current build environment at all.
I have sufficient permission and time to do 1, in case it's okay for Holger and Nels?
I can take this task and try to write a Jenkins script.
And are happily collaborating on 2 and 3. Just let me know, how I can support. :)
Cheers, André
P.S.: For clarification my real name is André, my "nick" is "blobb" and "Klaus" is just a fake name for Google, which I already changed to the real one to not confuse this mailing list (anymore).
On Wed, Apr 26, 2017 at 07:24:28AM +0700, Vadim Yanitskiy wrote:
I can take this task and try to write a Jenkins script.
Excellent. Best put it in contrib/jenkins.sh like in the other repositories.
Also, we need to have cross-compiler installed on the build machines.
I can install any packages, just let me know which. (I assume we'd at first just build on a debian 8 slave)
~N
It worked for me with *gcc-arm-none-eabi* package on Ubuntu - in this case the build should use "|make -e CROSS_TOOL_PREFIX=arm-none-eabi-|" command. See https://projects.osmocom.org/projects/baseband/wiki/Software_Getting_Started for details.
On 26.04.2017 16:28, Neels Hofmeyr wrote:
Also, we need to have cross-compiler installed on the build machines.
I can install any packages, just let me know which. (I assume we'd at first just build on a debian 8 slave)
~N
Note: there's somewhat related ticket https://projects.osmocom.org/issues/1918 which proposes to add --enable-embedded build of libosmocore to jenkins. We got to fix it first of course. Once this is available we can add 2 build for osmocomBB as a test - one using libosmocore version which is shipped with it and another using libosmocore master with --enable-embedded option. Hopefully some time in future we could drop the libosmocore source copy from osmocomBB repo completely.
baseband-devel@lists.osmocom.org