Skip to content

Commit 2138b3b

Browse files
ldemaillyFacebook Github Bot
authored andcommitted
mac lego build test and fix
Summary: testing mac lego build fixing typos from D4287428 Reviewed By: hehe-wz, nedelchev Differential Revision: D4289371 fbshipit-source-id: 331eef1f0f8e2f5268188562ecc9648632644255
1 parent 9d18475 commit 2138b3b

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

WdtBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace wdt {
2929

3030
/**
3131
* 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
3333
*/
3434
class WdtBase {
3535
public:

build/lego-job-spec.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cat <<EOF
1919
{
2020
"user": "facebook",
2121
"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",
2323
"required": true
2424
},
2525
{
@@ -38,13 +38,12 @@ cat <<EOF
3838
"user": "ldemailly",
3939
"capabilities": {
4040
"vcs": "fbcode-fbsource",
41-
"type": "lego-mac",
41+
"type": "lego-mac"
4242
},
4343
"args": {
4444
"name": "wdt-opensource-mac",
4545
"oncall": "wdt",
4646
"timeout": 10800,
47-
"steps": [
4847
"steps": [
4948
{
5049
"user": "facebook",

build/lego-linux-build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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

build/wdt_cont_build_setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# run this once and then _run will run a loop and email results
55
echo "if sending email later fails, you might need:"
66
echo "sudo sed -ie 's#^\(mailhub\).*$#\1=localhost#' /etc/ssmtp/ssmtp.conf"
7+
echo "but that shouldn't be necessary anymore"
78
set -x
89
sudo yum install iproute-tc devtoolset-4-gcc-c++ automake autoconf boost-devel
910
export PATH=/opt/rh/devtoolset-4/root/bin:$PATH

0 commit comments

Comments
 (0)