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

Update build environment with CMake 2.8.8 or later #2030

Closed
rhyolight opened this Issue Mar 5, 2014 · 18 comments

Comments

Projects
None yet
10 participants
@rhyolight

rhyolight commented Mar 5, 2014

We are having cmake problems, which seem to be caused by using features of cmake that were added in 2.8.8. My feature request is to update cmake within build boxes to use the latest version of cmake.

@roidrage

This comment has been minimized.

Member

roidrage commented Mar 5, 2014

Have you considered manually installing a newer version in the meantime?

@rhyolight

This comment has been minimized.

rhyolight commented Mar 5, 2014

Yes, we're considering it, thanks for the suggestion.

@rhyolight

This comment has been minimized.

rhyolight commented Mar 7, 2014

Unfortunately, there doesn't seem to be a 64b CMake download available. So I would have to build it myself in the appropriate environment, upload it to S3, and download it from there to install on travis.

@roidrage Do you have any sense of how long it will be before Travis supports CMake 2.8.8? I'm not sure it's work the effort at this point, and we may end up reverting the new features from our build to get it green again.

@kylog

This comment has been minimized.

kylog commented Apr 27, 2014

Even better, 2.8.12. 👍

@rhyolight

This comment has been minimized.

rhyolight commented Apr 27, 2014

🎉 Awesome! How will I know when it's in production?

@kylog

This comment has been minimized.

kylog commented Apr 27, 2014

I was just voting for it. Didn't mean to get your hopes up ;)

@rhyolight

This comment has been minimized.

rhyolight commented Apr 28, 2014

Oh crap, I thought I saw a merged PR, but it was just a duplicate issue.

@kobalicek

This comment has been minimized.

kobalicek commented Jun 6, 2014

I would like to have cmake 2.8.12 out of the box as well, still having version 2.8.7 which is failing.

I think that a tool like cmake should be always up-to-date.

@BanzaiMan

This comment has been minimized.

Member

BanzaiMan commented Jun 6, 2014

We are installing the package available for precise. The trusty one is 2.18.12, so until we upgrade to it (no ETA yet), this is unfortunately unlikely to happen. If anyone wants to take a shot at a custom recipe, we can help along.

@kobalicek

This comment has been minimized.

kobalicek commented Jun 6, 2014

Thanks for the answer!

Well, it would be nice if the right approach to install newest cmake is mentioned in documentation, would have saved me some time googling:)

@winterz

This comment has been minimized.

winterz commented Jul 16, 2014

yeah I really need cmake 2.8.9 or higher as well. so +1 from me on this request.

@winterz

This comment has been minimized.

winterz commented Jul 16, 2014

for the record, here' my before_install script for installing a cmake version that works for me on Linux and Mac: https://gist.github.com/10cc2741d466cbd8ff21

@BanzaiMan BanzaiMan added the trusty label Jul 17, 2014

@BanzaiMan BanzaiMan self-assigned this Jul 17, 2014

@LegalizeAdulthood

This comment has been minimized.

LegalizeAdulthood commented Aug 4, 2014

The older version of cmake is also breaking me; thanks @winterz for the workaround recipe!

@winterz

This comment has been minimized.

winterz commented Aug 4, 2014

you're welcome. I'm pretty sure the Mac workers now have cmake installed. so I updated my gist accordingly. https://gist.github.com/10cc2741d466cbd8ff21

@MauricioCarneiro

This comment has been minimized.

MauricioCarneiro commented Nov 2, 2014

Has anyone found a cmake 3 ppd or dpkg ?

My build depends on a few functions from 3.0 that I don't want to take out just because of Travis.

@jaredready

This comment has been minimized.

jaredready commented Nov 7, 2014

Is there anything that people building on Ubuntu servers can do? Or are we just stuck waiting until they update to 14.04?

@BanzaiMan

This comment has been minimized.

Member

BanzaiMan commented Nov 7, 2014

Unless there is a PPA that provides 64-bit image, you'd have to wait for Trusty support, on which we are working.

@travis-ci travis-ci locked and limited conversation to collaborators Nov 7, 2014

brendanzab added a commit to PistonDevelopers/glfw-rs that referenced this issue Feb 1, 2015

Fix travis
Travis' CMake version is not up to date. See: travis-ci/travis-ci#2030

brendanzab added a commit to PistonDevelopers/glfw-rs that referenced this issue Feb 1, 2015

joakimkarlsson added a commit to banditcpp/bandit that referenced this issue Jul 24, 2015

travis: updating cmake before building
Cotire needs a newer version of cmake than what travis offers out of the
box. This fix tries to install a newer version of cmake before building.

Issue in travis: travis-ci/travis-ci#2030
@BanzaiMan

This comment has been minimized.

Member

BanzaiMan commented Apr 28, 2016

Closing this, as we've shipped Trusty support.

@BanzaiMan BanzaiMan closed this Apr 28, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.