-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwangle.src.pb
37 lines (37 loc) · 957 Bytes
/
wangle.src.pb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
- hosts: all
vars:
TYPE: wangle
INSTANCE: git
REPO: https://github.com/facebook/wangle
OPT_DIR: true
BINS:
- name: build.sh
basedir: "{{SRC}}/wangle"
run: True
content: |
mkdir -p build_
cd build_
fizz_DIR="${FIZZ_CMAKE}" \
folly_DIR="${FOLLY_CMAKE}" \
cmake ..
make
make install DESTDIR="${INSTALL_DIR}"
ENV_PRIO:
LIBDIR: "/usr/local/lib/cmake/"
FIZZ_DIR: "{{OPTS_DIR}}/fizz-{{INSTANCE|default('-git')}}"
FOLLY_DIR: "{{OPTS_DIR}}/folly-{{INSTANCE|default('-git')}}"
ENV:
FIZZ_CMAKE: "${FIZZ_DIR}${LIBDIR}fizz"
FOLLY_CMAKE: "${FOLLY_DIR}${LIBDIR}folly"
INSTALL_DIR: "{{OPT}}"
PKGS:
- libevent-dev
- libgoogle-glog-dev
- libgflags-dev
- libboost-dev
- libdouble-conversion-dev
- zlib1g-dev
fizz: "{{OPTS_DIR}}/fizz-git"
tasks:
- include: tasks/compfuzor.includes type=src