Upgrade cmake on appveyor workers
Hi,
Would it be possible to upgrade to a more recent version of cmake? For my project I need at least 2.8.8 but a newer version than that would be even better. The latest windows installer is here:
http://www.cmake.org/files/v3.1/cmake-3.1.2-win32-x86.exe
Thanks,
Dominic
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 09 Feb, 2015 05:30 PM
Will deploy it this week.
2 Posted by dmeiser79 on 09 Feb, 2015 05:38 PM
Great, thanks.
Support Staff 3 Posted by Feodor Fitsner on 12 Feb, 2015 05:06 AM
It's been updated to the latest 3.1.2
4 Posted by victor.zverovic... on 12 Feb, 2015 08:13 PM
Looks like this update broke the build here: https://ci.appveyor.com/project/vitaut/cppformat/build/1.0.699/job/t773yj8fir98gmyf
The output is completely messed up (which is another issue), but it appears that CMake warning is treated as a failure. It's not clear what "Command executed with exception:" refers to though.
Support Staff 5 Posted by Feodor Fitsner on 12 Feb, 2015 08:17 PM
Seems like cmake is writing to StdErr which is treated by PS as exception. Try replacing
before_build
section with:6 Posted by dmeiser79 on 12 Feb, 2015 09:34 PM
Several options to fix this:
- use `cmake_policy` as mentioned in the error message to get old cmake behavior.
- Fix the CMakeLists.txt to the new behavior (get rid of quotes in if statement).
- Ignore warning with -Wno-dev
Let me know if you have problems with any of this. I could provide PR to fix.
7 Posted by victor.zverovic... on 13 Feb, 2015 03:04 AM
Feodor, unfortunately changing the `before_build` section didn't help, but you were right the problem was in PowerShell's treatment of stderr. I've moved the code to a separate Python script, so everything is working now and much cleaner. Shouldn't have used PowerShell in the first place because it's such a mess, but I didn't know that Python comes preinstalled on build machines.
Dominic, I fixed the warning already, but thanks for the suggestion.
Thanks, guys.
Support Staff 8 Posted by Feodor Fitsner on 13 Feb, 2015 03:05 AM
Great, thanks for the update!
9 Posted by Christopher Dem... on 05 Oct, 2015 10:53 PM
There is a bug in CMake related to VS2015 and the redistributable dll's (https://cmake.org/Bug/view.php?id=15552). The CMake bug is fixed in CMake version 3.2.3. Could you upgrade CMake again to at least 3.2.3?
Thank you!
Support Staff 10 Posted by Feodor Fitsner on 05 Oct, 2015 11:17 PM
Sure. I've added a new issue: https://github.com/appveyor/ci/issues/444
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.