2015-05-10 18:42:30 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Copyright (c) 2014, Facebook, Inc.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This source code is licensed under the BSD-style license found in the
|
|
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
|
|
|
|
function main_amazon() {
|
2015-05-11 00:33:12 +00:00
|
|
|
|
2015-05-10 18:42:30 +00:00
|
|
|
sudo yum update -y
|
|
|
|
|
|
|
|
package texinfo
|
|
|
|
package wget
|
|
|
|
package git-all
|
|
|
|
package unzip
|
|
|
|
package xz
|
|
|
|
package xz-devel
|
|
|
|
package epel-release
|
|
|
|
package python-pip
|
|
|
|
package python-devel
|
|
|
|
package rpm-build
|
|
|
|
package ruby-devel
|
|
|
|
package rubygems
|
|
|
|
|
2015-05-11 00:33:12 +00:00
|
|
|
package gcc
|
|
|
|
package binutils
|
|
|
|
package gcc-c++
|
2015-05-10 18:42:30 +00:00
|
|
|
|
|
|
|
package clang
|
|
|
|
package clang-devel
|
|
|
|
|
|
|
|
package bzip2
|
|
|
|
package bzip2-devel
|
|
|
|
package openssl-devel
|
|
|
|
package readline-devel
|
|
|
|
package rpm-devel
|
|
|
|
package rpm-build
|
|
|
|
package libblkid-devel
|
|
|
|
|
|
|
|
install_cmake
|
|
|
|
|
|
|
|
set_cc clang
|
|
|
|
set_cxx clang++
|
|
|
|
|
|
|
|
install_boost
|
|
|
|
|
2015-05-11 00:33:12 +00:00
|
|
|
package libudev-devel
|
|
|
|
package cryptsetup-luks-devel
|
2015-08-28 19:49:46 +00:00
|
|
|
|
2015-05-10 18:42:30 +00:00
|
|
|
install_gflags
|
2015-05-13 18:52:49 +00:00
|
|
|
install_iptables_dev
|
2015-05-10 18:42:30 +00:00
|
|
|
|
|
|
|
package doxygen
|
|
|
|
package byacc
|
|
|
|
package flex
|
|
|
|
package bison
|
2015-08-28 19:49:46 +00:00
|
|
|
package file-libs
|
2015-05-10 18:42:30 +00:00
|
|
|
|
|
|
|
remove_package libunwind-devel
|
|
|
|
|
2015-05-11 00:33:12 +00:00
|
|
|
install_autoconf
|
|
|
|
install_automake
|
|
|
|
install_libtool
|
2015-05-10 18:42:30 +00:00
|
|
|
|
|
|
|
install_snappy
|
|
|
|
install_rocksdb
|
|
|
|
install_thrift
|
|
|
|
install_yara
|
2015-08-30 08:11:45 +00:00
|
|
|
install_cppnetlib
|
2015-05-10 18:42:30 +00:00
|
|
|
|
|
|
|
gem_install fpm
|
|
|
|
}
|