mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-11 16:22:38 +03:00
fbcode_builder: Update cmake for debian 8.6 os image
Summary: Debian 8.6 comes with a CMake version that is too old for folly. Add commands to update cmake. Reviewed By: snarkmaster Differential Revision: D6842797 fbshipit-source-id: 22f4c407f82a92c3fa90a5c2de334cf8b92e584b
This commit is contained in:
committed by
Facebook Github Bot
parent
a8e64f1c54
commit
0c124c8da5
@@ -246,6 +246,15 @@ class FBCodeBuilder(object):
|
|||||||
'apt-get upgrade -yq cmake'
|
'apt-get upgrade -yq cmake'
|
||||||
)))
|
)))
|
||||||
|
|
||||||
|
# Debian 8.6 comes with a CMake version that is too old for folly.
|
||||||
|
if self.option('os_image') == 'debian:8.6':
|
||||||
|
actions.append(self.run(ShellQuoted(
|
||||||
|
'echo deb http://ftp.debian.org/debian jessie-backports main '
|
||||||
|
'>> /etc/apt/sources.list.d/jessie-backports.list && '
|
||||||
|
'apt-get update && '
|
||||||
|
'apt-get -yq -t jessie-backports install cmake'
|
||||||
|
)))
|
||||||
|
|
||||||
actions.extend(self.debian_ccache_setup_steps())
|
actions.extend(self.debian_ccache_setup_steps())
|
||||||
|
|
||||||
return self.step('Install packages for Debian-based OS', actions)
|
return self.step('Install packages for Debian-based OS', actions)
|
||||||
|
Reference in New Issue
Block a user