Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update build environment with CMake 2.8.8 or later #2030

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

Update build environment with CMake 2.8.8 or later #2030

rhyolight opened this issue Mar 5, 2014 · 18 comments

Comments

@rhyolight
Copy link

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
Copy link
Contributor

roidrage commented Mar 5, 2014

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

@rhyolight
Copy link
Author

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

@rhyolight
Copy link
Author

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
Copy link

kylog commented Apr 27, 2014

Even better, 2.8.12. 👍

@rhyolight
Copy link
Author

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

@kylog
Copy link

kylog commented Apr 27, 2014

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

@rhyolight
Copy link
Author

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

@kobalicek
Copy link

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
Copy link
Contributor

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
Copy link

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
Copy link

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
Copy link

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 self-assigned this Jul 17, 2014
@LegalizeAdulthood
Copy link

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

@winterz
Copy link

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
Copy link

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
Copy link

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

@BanzaiMan
Copy link
Contributor

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
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
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
Copy link
Contributor

Closing this, as we've shipped Trusty support.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

10 participants