File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ namespace wdt {
29
29
30
30
/* *
31
31
* Shared code/functionality between Receiver and Sender
32
- * TODO: a lot more code from sender/receiver should move here
32
+ * TODO: check if more of Receiver/Sender should move here
33
33
*/
34
34
class WdtBase {
35
35
public:
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ cat <<EOF
19
19
{
20
20
"user": "facebook",
21
21
"name": "Build Wdt OpenSource Linux",
22
- "shell": "mkdir wdt_build; cd wdt_build; pwd; cmake ../ wdt -DFOLLY_SOURCE_DIR= $BOX_DIR -DBUILD_TESTING=on && make -j ",
22
+ "shell": "wdt/build/lego-linux-build.sh ",
23
23
"required": true
24
24
},
25
25
{
@@ -38,13 +38,12 @@ cat <<EOF
38
38
"user": "ldemailly",
39
39
"capabilities": {
40
40
"vcs": "fbcode-fbsource",
41
- "type": "lego-mac",
41
+ "type": "lego-mac"
42
42
},
43
43
"args": {
44
44
"name": "wdt-opensource-mac",
45
45
"oncall": "wdt",
46
46
"timeout": 10800,
47
- "steps": [
48
47
"steps": [
49
48
{
50
49
"user": "facebook",
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # If using variables directly from the spec, the variables are replaced by the
3
+ # wrong value (from initial step)
4
+ echo " BOX_DIR=$BOX_DIR "
5
+ set -x
6
+ pwd
7
+ uname -a
8
+ mkdir wdt_build
9
+ cd wdt_build || exit 1
10
+ ls -l " $BOX_DIR "
11
+ cmake ../wdt -DFOLLY_SOURCE_DIR=" $BOX_DIR " -DBUILD_TESTING=on && make -j
Original file line number Diff line number Diff line change 4
4
# run this once and then _run will run a loop and email results
5
5
echo " if sending email later fails, you might need:"
6
6
echo " sudo sed -ie 's#^\(mailhub\).*$# \1=localhost#' /etc/ssmtp/ssmtp.conf"
7
+ echo " but that shouldn't be necessary anymore"
7
8
set -x
8
9
sudo yum install iproute-tc devtoolset-4-gcc-c++ automake autoconf boost-devel
9
10
export PATH=/opt/rh/devtoolset-4/root/bin:$PATH
You can’t perform that action at this time.
0 commit comments