Merge pull request #391 from thdox/fedora_20
Add instructions for Fedora 20. [ci skip]
This commit is contained in:
commit
7ec0c6d2a9
1 changed files with 27 additions and 2 deletions
29
acprep
29
acprep
|
|
@ -616,8 +616,8 @@ class PrepareBuild(CommandLineApp):
|
||||||
self.execute(*packages)
|
self.execute(*packages)
|
||||||
|
|
||||||
if exists('/etc/redhat-release'):
|
if exists('/etc/redhat-release'):
|
||||||
release = open('/etc/redhat-release')
|
release = open('/etc/redhat-release').readline()
|
||||||
if release.readline().startswith('CentOS'):
|
if release.startswith('CentOS'):
|
||||||
self.log.info('Looks like you are using YUM on CentOS')
|
self.log.info('Looks like you are using YUM on CentOS')
|
||||||
packages = [
|
packages = [
|
||||||
'sudo', 'yum', 'install',
|
'sudo', 'yum', 'install',
|
||||||
|
|
@ -648,6 +648,31 @@ class PrepareBuild(CommandLineApp):
|
||||||
self.log.info('Looks like you are using Cygwin')
|
self.log.info('Looks like you are using Cygwin')
|
||||||
self.log.info('Please install the dependencies manually.')
|
self.log.info('Please install the dependencies manually.')
|
||||||
|
|
||||||
|
elif release.startswith('Fedora release 20'):
|
||||||
|
self.log.info('Looks like you are using YUM on Fedora 20')
|
||||||
|
packages = [
|
||||||
|
'sudo', 'yum', 'install',
|
||||||
|
'boost-devel',
|
||||||
|
'bzip2-devel',
|
||||||
|
'cmake',
|
||||||
|
'doxygen',
|
||||||
|
'gcc',
|
||||||
|
'gcc-c++',
|
||||||
|
'gettext',
|
||||||
|
'gettext-devel',
|
||||||
|
'gmp-devel',
|
||||||
|
'lcov',
|
||||||
|
'libedit-devel',
|
||||||
|
'mpfr-devel',
|
||||||
|
'ninja-build',
|
||||||
|
'python-devel',
|
||||||
|
'sloccount',
|
||||||
|
'texinfo',
|
||||||
|
'zlib-devel'
|
||||||
|
]
|
||||||
|
self.log.info('Executing: ' + ' '.join(packages))
|
||||||
|
self.execute(*packages)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# Determine the system's basic configuration #
|
# Determine the system's basic configuration #
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue