Re: [Simulavr-devel] Set up a travis-ci build

2016-02-11 Thread Christian Taedcke
Hello Thomas,

> > 2. Add -fPIC, otherwise when building with ./configure
> --enable-python i get a compilation error on travis and on my fedora
> 23
> notebook
> 
> You can also push this change to master branch. As I can see it
> doesn't
> break anything - also on win7/msys. But anyway this seems to be a
> problem dedicated to fedora.

I added -fPIC to the master branch. I copied the complete error message
and the linker command into the commit message... But it might also be 
related to the supplied spec file.

Regards,
Christian

___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel


Re: [Simulavr-devel] Set up a travis-ci build

2016-02-07 Thread Thomas K

Hi Christian,


2. Add -fPIC, otherwise when building with ./configure

--enable-python i get a compilation error on travis and on my fedora 23
notebook

You can also push this change to master branch. As I can see it doesn't
break anything - also on win7/msys. But anyway this seems to be a
problem dedicated to fedora.

About travis: looks nice, but ... :-) it's just one platform/distro and
not updated to newer releases (ubuntu 14.04 is now or if 16.04 is
released also a little bit outdated) There is one point, which I haven't
on my radar: osx!

To check, if all is well on master branch I have some VM's, mostly
ubuntu LTS and open suse and additional win7. Then there is a script in
repo: delivery-check (with the config delivery-check.conf) which build
it unattended on my VM's. And this script makes one step more:
distribution check, e.g. if all files are distributed or some missed.

But why not travis ... you can it simplify by calling "make check"
instead of calling tests extra - this is used as standard regression
test after build. Maybe add the regression test for opcodes on mega2560.
That some tests fail (python controlled tests) depends on used avr gcc.
Depending on version it produces different code and so different
simulation runtime. Some tests are constructed to start something and
then wait a fixed simulation time. If code takes more time then it could
happen, that a test failed. But this is to analyse case by case.

cu, Thomas



___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel


Re: [Simulavr-devel] Set up a travis-ci build

2016-02-06 Thread Thomas K

Hi Christian,

maybe put this changes at first not into master branch. I'm not sure, if 
-fPIC will work in every case (especially with msys on windows) Or split 
it - the travis file isn't "dangerous".


For the broken things in regression or examples I have to see, what's 
happen. Regression SHOULD work, it's part of make check! Examples 
sometimes not updated because forgotten to change too.


Let's check first, what's happen an what's wrong.

cu, Thomas

Am 06.02.2016 um 14:05 schrieb Christian Taedcke:

Hello list,

i set up a travic-ci build, see https://travis-ci.org/chrta/simulavr/bu
ilds/107430533 for the build report and https://github.com/chrta/simula
vr/blob/add_travis_ci/.travis.yml for the necessary file.

travis-ci is a build server which only works for github.com
repositories, but i think we/i could set up a mirror repository that is
synced every 30 minutes.

As you see, some stuff is broken in the regression folder. The build
runs on a Ubuntu 12.04 LTS and their default package versions (which
are pretty old).
Some examples are broken, too... These should be checked by travis,
too.

I had to commit two things to simulavr (currently only available on my
fork):
1. Add the .travis.yml file
2. Add -fPIC, otherwise when building with ./configure --enable-python
i get a compilation error on travis and on my fedora 23 notebook, see h
ttps://github.com/chrta/simulavr/commit/90f20c5348d41e210c49fefcd0cce79
693654977

Should i commit these to savannah master branch? Any objections?

Regards,
Christian

___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel



___
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel