-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TRAVIS] fix DEVEL_BUILD #157
Conversation
required for recent Gadgetron
@casperdcl how do we switch the docker devel build to use gcc6? |
something wrong in our Travis file as it ignores the
Anyone? @casperdcl ? |
I used to set |
First, I don't find where this variables are set. However in the
which seems to imply that we install the At any rate the |
On my 16.04 VM
|
I have no idea about the toolchain-r, but g++-6 is installed ok. we can even get g++-8 there. you can see it in the log (link above). The problem is just the setting of the environment variables in Travis. we set them for each configuration (e.g. here, as the compilers are different for each config. That's ok as you can see in the log and my quote in the first post. However, then Travis overrides them with something else, presumably because of how our yml file is. (We needed to set the config to python to get that side to work). |
Of course, but how would I check if the changes work? |
Have a look at travis-ci/travis-ci#5293 |
Previously, CC and CXX were set via `env`. However, Travis overrides them afterwards with its own compiler settings. Now set them via an intermediate variable and `eval` as in https://docs.travis-ci.com/user/languages/cpp/#c11c11-and-beyond-and-toolchain-versioning
gcc-6 doesn't exist there, and gcc is a recent clang anyway
Now apparently required by Gadgetron (or a change in Ubuntu packaging?)
seems that if you add an "addon" in the matrix, the main one at the start gets overriden, so install g++-6 all the time anyway.
remaining failures are due to a problem with Gadgetron master gadgetron/gadgetron#715 |
as in SyneRBI/SIRF-SuperBuild#157 - fix setting of compiler variables - use gcc-7 - add libopenblas-dev and libatlas-base-dev
just to note that only 2 docker images are built: standard and devel (ubuntu 16.04, gcc5) see default flags here: https://github.com/CCPPETMR/SIRF-SuperBuild/blob/c3a2c065e3ff0358b8b2c3dbf9961268b2f03cc0/docker/Dockerfile#L78-L82 |
required for recent Gadgetron