Autotoolised version of auryn available on my github fork

This section contains questions related to the compilation of Auryn on different platforms.
Post Reply
asinha
Posts: 37
Joined: Wed Oct 15, 2014 5:12 pm
Location: Hatfield, Hertfordshire, UK
Contact:

Autotoolised version of auryn available on my github fork

Post by asinha »

Hi,

For autotools lovers, and people that aren't playing with the auryn source code itself, I maintain a branch here where auryn has been autotoolised:

https://github.com/sanjayankur31/auryn/tree/autotoolize

I try and keep it up to date with Friedemann's auryn repo, rebasing it to his master commit whenever I can.

Fedora packages of auryn are available here, however, I haven't had the time to update them to the latest commit yet.
https://copr.fedoraproject.org/coprs/ankursinha/auryn/

Cheers.
User avatar
zenke
Site Admin
Posts: 156
Joined: Tue Oct 14, 2014 11:34 am
Location: Basel, CH
Contact:

Re: Autotoolised version of auryn available on my github for

Post by zenke »

Great! Thanks for that :-)
asinha
Posts: 37
Joined: Wed Oct 15, 2014 5:12 pm
Location: Hatfield, Hertfordshire, UK
Contact:

Re: Autotoolised version of auryn available on my github for

Post by asinha »

Just a heads up. I've added travis CI integration to the fork too. Each time I updated the autotoolise branch - mostly when I rebase against the master repository, travis will build and check if it builds properly.

I wanted to test with both gcc and clang, and the clang build fails right at the start itself - https://travis-ci.org/sanjayankur31/auryn/jobs/56883841 I'm really not sure why, but at least that tells us that only gcc is supported at the moment.

The build using gcc appears to build properly - https://travis-ci.org/sanjayankur31/auryn/jobs/56883840

I use Fedora 21, and the travis systems are ubuntu 12.04 LTS - so we know for sure that these two Linux variants are supported. Note that the autotoolised version requires a minimum of boost-1.54 at the moment.
asinha
Posts: 37
Joined: Wed Oct 15, 2014 5:12 pm
Location: Hatfield, Hertfordshire, UK
Contact:

Re: Autotoolised version of auryn available on my github for

Post by asinha »

I've disabled the clang builds for the time being.
User avatar
zenke
Site Admin
Posts: 156
Joined: Tue Oct 14, 2014 11:34 am
Location: Basel, CH
Contact:

Re: Autotoolised version of auryn available on my github fork

Post by zenke »

Heya! I checkout out the autotoolised branch again recently and I quite like it. Now, I am thinking about merging it into the main repo, but I was wodering about two little things and whether or not they could be changed easily. First, when running configure I still need to tell the script --endable-mpi. Since Auryn will only build with mpi enabled, I was wondering if this can be set to true by default? Second, it seems that configure currently automatically builds the code with debug symbols "-g" option. This is in principle fine, because this does not seem to effect the performance of the code (I found this http://stackoverflow.com/questions/8676 ... led-by-gcc on stackoverflow). However, they are typically also not so informative, due ot the optimization level O3. So I was wondering if autotools support a way of switching between the two and laving the options "-O3" without "-g" option as the default, but allowing to configure a version with "-g" and no "-Ox" and maybe even another one with "-O3 -pg" for profiling. I am not sure if I am making sense, but it would be great to have these three ways of building still ...
Post Reply