Skip to content

[watchman] add fbcode builder config - #639

Closed
wez wants to merge 2 commits into
meta:masterfrom
wez:fbcodebuilder
Closed

wez wants to merge 2 commits into
meta:masterfrom
wez:fbcodebuilder

Conversation

@wez

@wez wez commented Aug 23, 2018

Copy link
Copy Markdown
Contributor

Test Plan:

Ran locally using this

travis_cache_dir=/tmp/travis-ccache gcc_version=5 os_image=ubuntu:16.04 ./build/fbcode_builder/travis_docker_build.sh

and will let our CI process it now.

This doesn't change travis to use the fbcode builder docker bits.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wez has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@wez
wez force-pushed the fbcodebuilder branch 7 times, most recently from e6346c8 to 5968024 Compare August 24, 2018 00:20
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

1 similar comment
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@wez has updated the pull request. Re-import the pull request

facebook-github-bot pushed a commit that referenced this pull request Aug 30, 2018
Summary:
This suppresses some noise; we think we have a handle on the cause
but will address that separately.

Refs: #639

Reviewed By: strager

Differential Revision: D9552414

fbshipit-source-id: c75bf6eeb587ccab517ca55a2930c90abf531d34
facebook-github-bot pushed a commit that referenced this pull request Aug 30, 2018
Summary:
This causes the folly deps to be installed via homebrew on the macos CI

Refs: #639

Reviewed By: strager

Differential Revision: D9552409

fbshipit-source-id: 56ad21f2c48471aeb31c91ec0f550913876b9a92
facebook-github-bot pushed a commit that referenced this pull request Aug 30, 2018
Summary:
This installs the deps needed to build folly on ubuntu.

Refs: #639

Reviewed By: strager

Differential Revision: D9552410

fbshipit-source-id: bbb9ba08a337a8b71145b0bd7a4ccea85c9e65f5
facebook-github-bot pushed a commit that referenced this pull request Aug 30, 2018
Summary:
I'd dogscienced in some use of DESTDIR in an earlier iteration
of the cmake bits.  The fbcode builder flavor of the build actually
runs make install and this needs a proper install prefix to be set.

Refs: #639

Reviewed By: strager

Differential Revision: D9552415

fbshipit-source-id: 679e789a2991deb75584e0af62cf7d91e8986a57
facebook-github-bot pushed a commit that referenced this pull request Aug 30, 2018
Summary:
This makes sure that tests can find the watchman binary.  Previously
all flavors of the build would contrive to place the binary at the root
of the watchman project.   Later, the windows build placed it in a `Release`
or `Debug` subdir.   While iterating on the cmake build, the binary can end
up somewhere that isn't otherwise in the path.

This diff makes sure to connect the use of the path option to setting up
the environment so that the rest of the test infra can find it.

Refs: #639

Reviewed By: strager

Differential Revision: D9552412

fbshipit-source-id: c5133f8421d98ce4f549e600fba8660484703924
facebook-github-bot pushed a commit that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: #639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to meta/proxygen that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to meta/wangle that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to meta/folly that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to meta/fbthrift that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to facebookincubator/fizz that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to facebookarchive/fbzmq that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to facebookarchive/bistro that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to meta/openr that referenced this pull request Aug 30, 2018
Summary:
When running on macOS there is no /etc/issue.  When running
with `set -e` enabled, we don't want this to break the build.

Neither of these is possible today, but will be later in this diff stack.

While I'm in here, also print out the cmake version.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552416

fbshipit-source-id: 432b5b70678908de9f79787d37c3615a7f8649d3
facebook-github-bot pushed a commit to meta/proxygen that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit to meta/proxygen that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
facebook-github-bot pushed a commit to meta/wangle that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit to meta/wangle that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
facebook-github-bot pushed a commit to facebookarchive/fbzmq that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit to facebookarchive/fbzmq that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
facebook-github-bot pushed a commit to facebookarchive/bistro that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit to facebookarchive/bistro that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
facebook-github-bot pushed a commit to meta/fbthrift that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit to meta/fbthrift that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
facebook-github-bot pushed a commit to facebookincubator/fizz that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit to facebookincubator/fizz that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
facebook-github-bot pushed a commit that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: #639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: #639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
facebook-github-bot pushed a commit to meta/folly that referenced this pull request Aug 31, 2018
Summary:
This is a bit of a tricky issue; here's the bug in python 2.7
that prevents using the function-like syntax:
https://bugs.python.org/issue21591

The nature of this bug is that scoped exec only works with nested functions
when using the `exec` statement in 2.7.   That is a syntax error in python 3,
which only allows using the `exec` function.

To make the function syntax work in 2.7 we therefore need to avoid using
lambdas or nested functions and have to resort to using a global variable
to act as the "closure".

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552413

fbshipit-source-id: a2cb9d325e18fb6fb06b9e284a84f0a0c80cfe7e
facebook-github-bot pushed a commit to meta/folly that referenced this pull request Aug 31, 2018
Summary:
I want to access the list of deps without the install
instructions attached later in this stack of diffs in `shell_builder.py`.

Refs: meta/watchman#639

Reviewed By: snarkmaster

Differential Revision: D9552419

fbshipit-source-id: 333cfa0c33bc1aa623de7ac3546a8f1785869a4f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants