Commit Graph

687 Commits

Author SHA1 Message Date
svcscm
46462012c9 Updating submodules
Summary:
GitHub commits:

6276db27e3
71731bbfae
a18cdcd5f6
ab2a2d629c
8b27b60d78
470cd05ee4
3cf325811a
fe673307a8

Reviewed By: yns88

fbshipit-source-id: ddb7738bea97748ed623515bf57fcd7b84ff3924
2019-09-19 15:58:17 -07:00
Zeyi (Rice) Fan
1cc2ea587a getdeps: throw exceptions when found duplicate manifests and name mismatches
Summary:
Throws an exception when:

* The name specified in the manifest mismatches the filename
* Duplicated manifest -- with the sub-directory support it is now able to have multiple manifest files with the same name

Reviewed By: chadaustin

Differential Revision: D17438460

fbshipit-source-id: ac7ad0b701beb15f0e91bb05cd1ec8fe378ad5b6
2019-09-19 15:24:26 -07:00
Zeyi (Rice) Fan
0222071df3 getdeps: include subdirectories when searching manifest
Summary: Make getdeps to look for subdirectories for manifest files.

Reviewed By: simpkins

Differential Revision: D17222388

fbshipit-source-id: e13503beccd9edf6d80f78fbc3238b2a8d2053dd
2019-09-19 15:24:25 -07:00
svcscm
d3af45c5cc Updating submodules
Summary:
GitHub commits:

f4e9681e66
138725af23

Reviewed By: yns88

fbshipit-source-id: 5e24e4563a9d8944ac37935f259167c6819c1281
2019-09-19 15:03:33 -07:00
svcscm
f79e3ef05a Updating submodules
Summary:
GitHub commits:

40bc0e5d1f
219935e0c3
c06b54d0c6
2fce555f44

Reviewed By: yns88

fbshipit-source-id: d83a81a881bc96672f6cf59d7ce68bacf9a78e95
2019-09-19 13:36:59 -07:00
svcscm
063662f4b9 Updating submodules
Summary:
GitHub commits:

eb50340e4a
9898909200
0bfa67ca07
9c06fbaeae
a4896148ae
258fc4aef6
2ea5d5cc05
d4e1602807

Reviewed By: yns88

fbshipit-source-id: 3095d3981ca3e28feada1a0b997b9e406d3c2c60
2019-09-19 11:59:05 -07:00
Adam Simpkins
c78caa275e the libraries in thrift/lib/py depend on six
Summary:
The libraries in thrift/lib/py support both Python 2 and Python 3, and rely on
the Python six module for some of this compatibility support.

Update the getdeps manifest for fbthrift to indicate this dependency, and
update fbthrift's CMakeLists.txt file to find and reference python-six
properly.  This will ensure that the python-six code is built into any python
executable that uses the thrift/lib/py libraries.

Reviewed By: yfeldblum

Differential Revision: D17401218

fbshipit-source-id: 0007dda8974ae9bd87e4d7e256c74908c9a30d8f
2019-09-19 11:33:36 -07:00
Adam Simpkins
1a5d1a6879 add a builder that can re-package python wheel files
Summary:
Add a new builder that can extract Python wheel files, and re-package them
for consumption by our add_fb_python_library() and add_fb_python_executable()
CMake functions.  This is useful for dependencies on packages from PyPI.

At the moment this code only handles architecture-independent pure-Python
packages.  It shouldn't be too hard to extend this to handle more complex
wheels, but for now I only need to use it for some pure-Python wheels and so I
haven't tested with more complex wheel files.

This also includes two new manifests for python-six and python-toml that take
use this new builder.

Reviewed By: wez

Differential Revision: D17401216

fbshipit-source-id: d6f74565887c3f004e1c06503dc9ec81599dd697
2019-09-19 11:33:35 -07:00
svcscm
5c1c70f5ee Updating submodules
Summary:
GitHub commits:

fbd98c57c2

Reviewed By: yns88

fbshipit-source-id: aff8a88f849a1e88f1e607b35e1cb6ca8f568765
2019-09-19 11:33:35 -07:00
svcscm
e3c42f3b18 Updating submodules
Summary:
GitHub commits:

0f62082351
45c6602a88
f14e7cb75c
e66dc58dd5
d05be9be17
6ec6a4a9a4
6014aec644
a8958e958a
4cc9f8053a
7b8b3bdbd3

Reviewed By: yns88

fbshipit-source-id: 0db4ed17447af39b0133b46613713adff0aa78e0
2019-09-18 20:56:16 -07:00
Adam Simpkins
eaf1da018f update make_fbpy_archive.py to replace the output on Windows
Summary:
Update the code to use `os.replace()` rather than `os.rename()` so that it
won't fail on Windows if the destination path already exists.

Reviewed By: chadaustin

Differential Revision: D17462716

fbshipit-source-id: cbc06319ccb2d73868f80ab1874890ebec5a621b
2019-09-18 20:05:01 -07:00
svcscm
10993e0d07 Updating submodules
Summary:
GitHub commits:

3b434df6de
110ef345b7
22f50e89b2
265ecb845d

Reviewed By: yns88

fbshipit-source-id: 994f2620ecb2e453a22fde860c7d8a07c0a585ec
2019-09-18 20:05:00 -07:00
svcscm
9492aecd14 Updating submodules
Summary:
GitHub commits:

5967893c47
d418ca0594
8b75c43560
93135214ce
8c152ccf71
87c044b371
8171024378

Reviewed By: yns88

fbshipit-source-id: ba35d28c9544fafe3d9ec2a1a7e978b1dee64162
2019-09-18 12:55:04 -07:00
svcscm
e81584cd95 Updating submodules
Summary:
GitHub commits:

98b1bf7266
3e2e1ba465
cc7739681b
6faa880bf1
6a279037cf
5149c5b354
489f4613e5
ea14236365
4904121082

Reviewed By: yns88

fbshipit-source-id: a8e8e9a7f5d3c244d9c836ea011844e5f2cfe61f
2019-09-18 12:30:08 -07:00
Udip Pant
d7a4023dd0 include unit tests and integration tests in the cmake build
Summary: This enable test targets to be built and ran

Reviewed By: lnicco

Differential Revision: D17408942

fbshipit-source-id: 144d223bc3830d07a0420e9569d3166a8646cd9a
2019-09-18 11:58:33 -07:00
Udip Pant
f820ce4a76 revamp of cmake in katran to support oss build with fbcode_builder
Summary: changes the way it pulls its dependencies

Reviewed By: wez

Differential Revision: D17363235

fbshipit-source-id: 37e509c7e413f763e3553e9f01ac23951045089c
2019-09-18 11:58:33 -07:00
Udip Pant
07032df714 add manifest for katran and its dependencies
Summary: Dependencies include libbpf and libelf

Reviewed By: wez

Differential Revision: D17363237

fbshipit-source-id: 4408f2fbabbbde170b57779422038b32e52c6f51
2019-09-18 11:58:32 -07:00
Udip Pant
7a1a19bd7e add PKG_CONFIG_PATH in the env variable for build cmds
Summary: This enables appending PKG_CONFIG_PATH to env variable

Reviewed By: wez

Differential Revision: D17363236

fbshipit-source-id: 18c6d7a97ba83edf085278bccaafa80821ea8860
2019-09-18 11:58:32 -07:00
svcscm
a945e254fd Updating submodules
Summary:
GitHub commits:

cbc31c6f72

Reviewed By: yns88

fbshipit-source-id: 96b0d5994709a4685b053c4e87c82e67567dfea8
2019-09-18 11:32:43 -07:00
svcscm
2c0b99dec1 Updating submodules
Summary:
GitHub commits:

d7808b5281

Reviewed By: yns88

fbshipit-source-id: 2ba4313e8c6ad9716c730b5bbed5c0a3f7fc65ec
2019-09-17 19:43:26 -07:00
svcscm
63a82fb878 Updating submodules
Summary:
GitHub commits:

da3af3e555

Reviewed By: yns88

fbshipit-source-id: 4b6152e1073bceda3137b4fd7ccccc1ed6482771
2019-09-17 15:45:38 -07:00
svcscm
6d0f6fb879 Updating submodules
Summary:
GitHub commits:

f7d6a31703

Reviewed By: yns88

fbshipit-source-id: d0e7a89e985152aea2e2b6a4c70ac9c8f6fb20c1
2019-09-17 12:43:35 -07:00
svcscm
6f0b91c8f5 Updating submodules
Summary:
GitHub commits:

aa2b3df92d
4b12595724

Reviewed By: yns88

fbshipit-source-id: 5ae3517d4795492f3aa0915540475fb3dd10a8ab
2019-09-17 07:29:39 -07:00
svcscm
047a095585 Updating submodules
Summary:
GitHub commits:

b2ad9c27cd
774ef72134
e01c5188d5
464a4b57db
6287f0d73b
7859497700
c90c863685
48892814e2
6405617405
9036b9e85f

Reviewed By: yns88

fbshipit-source-id: 5fc47df704471e1b99649223c168fd602d555e48
2019-09-16 21:29:05 -07:00
Adam Simpkins
e286e4c888 fix the thrift CMake rules to add dependencies on the thrift compiler
Summary:
Update the thrift C++ and Python CMake rules to indicate that the output also
depends on the thrift compiler itself.

Previously the C++ rule indicated that the output depended on the thrift
template files, which caught most cases when the thrift compiler was updated,
but wasn't fully correct.  The thrift templates were also removed and baked
into the thrift compiler binary in D16356056.

Reviewed By: yfeldblum, chadaustin

Differential Revision: D17401217

fbshipit-source-id: ae5cde7a7e5e07a74406a1b6f4469124187bc12f
2019-09-16 21:10:01 -07:00
Adam Simpkins
d7fbfd8479 add a command line option to disable the build cache
Summary:
This is useful when working on changes to some of the builder functions,
to skip ever trying to use cached results.

Reviewed By: chadaustin

Differential Revision: D17401219

fbshipit-source-id: fb7d5ea45618653957b9bd6a62eed91d8334824d
2019-09-16 21:10:01 -07:00
svcscm
3e21fbbd32 Updating submodules
Summary:
GitHub commits:

22c06084b8
5313a89c38
18836fbae0
81217e50a5
4c993e5dc0
0d6d85ff26
ba1537d7a4
c0ad1625c8

Reviewed By: yns88

fbshipit-source-id: d0cd56fbf45e07b689220fb975c481d9c1a314b6
2019-09-16 21:10:01 -07:00
svcscm
7b2a2ac48a Updating submodules
Summary:
GitHub commits:

d12c28952d
a09ffe23e7
9dc9ee901b
f3531c5fa5
74efa0633d
ce83620636
5040e7f288
af51be5bcb
549ea0a864

Reviewed By: yns88

fbshipit-source-id: 4d7cbe140667ba738af5e802135efbdd9f12c396
2019-09-16 17:59:52 -07:00
Wez Furlong
2bde83ebd9 getdeps: adjust fixup-dyn-deps to optionally use absolute paths
Summary:
This commit teaches fixup-dyn-deps how to generate correct
absolute paths in the context of the ultimate install path (specified
via the `--final-install-prefix` option)

Absolute paths are desirable if you have, for example, an executable
that you wish to install with the setuid bit set.

Reviewed By: simpkins

Differential Revision: D17361491

fbshipit-source-id: 4c4f3f15208266300622f84dc9cd1ba83883dfb7
2019-09-16 17:37:57 -07:00
svcscm
939ab534f2 Updating submodules
Summary:
GitHub commits:

3f60295979
ef0eb1eef5
0009b19189
68626249c3
79f4abaa86
cfa482e889
5602c2ad9d
2314bbaf7d
d49dcc4445

Reviewed By: yns88

fbshipit-source-id: 7e6ace9d7322bb23e89a95d5162fc81ac23a8e6c
2019-09-16 17:37:57 -07:00
svcscm
e0887a06e1 Updating submodules
Summary:
GitHub commits:

c6972d0856
ef8a9b3830
f3e3ab0ff5
a783cdd351
7767a193cb
638d239507
9559cf04a2
268594315b
5ce193a796
4694a6908e
1b53d53a07

Reviewed By: yns88

fbshipit-source-id: 1970f397164c0d80351236691b3a51a58332efe3
2019-09-16 16:08:46 -07:00
Chad Austin
23363ac68e fbcode_builder: add a license header to FBBuildOptions.cmake
Summary:
Add a license header to satisfy the open source linter. Use the same
header the other .cmake files have.

Reviewed By: mhlakhani

Differential Revision: D17404782

fbshipit-source-id: 66679d72c9e680f8bb8b27869e981a046b3520cf
2019-09-16 15:41:57 -07:00
svcscm
0193f5cef4 Updating submodules
Summary:
GitHub commits:

b737304fcc
8075e22543
a4bcc2e441
140ffd3989
5d7bf4a4cf
66648e3741
24c18300d1
2c34cc2568

Reviewed By: yns88

fbshipit-source-id: 11036e658b052d866459b99b964fa7060f9fa437
2019-09-16 13:45:12 -07:00
svcscm
27dfd8a7f0 Updating submodules
Summary:
GitHub commits:

c18b4a1324
bff2c74800
a92b821db2
351071d9cd
1a768a3962
9eb450d573
77860f0a62
0d92268cbe
7ee1bffda2

Reviewed By: yns88

fbshipit-source-id: 66b0c966b579ac0f6a688068f355254ac4deb679
2019-09-16 13:27:34 -07:00
Wez Furlong
31d7348f33 Let's try a github action to build things (#743)
Summary:
This commit adds a getdeps command that is able to generate
a workflow file for the GitHub Actions CI environment.

The workflow file could be expressed more simply using the matrix
syntax and with three steps (checkout, build, test), but I chose to
break out the steps for each of the dependencies because the UX
while waiting on the build is much nicer that way: the steps show
during and live log tailing for the section of the build that is
underway.  If they were all lumped into a single build step then
the logs from the boost section of the build dominate and make
the github UI work very hard.

Pull Request resolved: https://github.com/facebook/watchman/pull/743

Test Plan:
https://github.com/facebook/watchman/pull/743 successfully
executes the github actions CI flow.

```
$ opensource/fbcode_builder/getdeps.py generate-github-actions --output-file watchman/.github/workflows/main.yml watchman
```

Reviewed By: simpkins

Differential Revision: D17384915

Pulled By: wez

fbshipit-source-id: 9a9e5a3e806c18f6cc38ba1cb7059740cda01ad4
2019-09-16 12:58:19 -07:00
Wez Furlong
cae23d219b getdeps: teach builder how to find vs 2019
Summary:
GitHub Actions CI `windows-latest` environment has only VS 2019
installed, so we need to expand our logic to be able to locate it.

Note that Boost 1.69 doesn't know how to locate VS 2019 so we are effectively
tied to VS 2017 at the moment; the search order in this diff reflects that.

(That means that we can't target `windows-latest` on GitHub Actions, but that
is really a concern for a later diff in this stack)

Reviewed By: simpkins

Differential Revision: D17385052

fbshipit-source-id: 9bb0612154f42d425a625406488f39bb4ec3d8ae
2019-09-16 12:58:19 -07:00
Wez Furlong
4a64d1f60d getdeps: prefer MSVC over gcc when building on GitHub Actions CI
Summary:
while testing https://github.com/facebook/watchman/pull/743 I
noticed that the cmake builds were picking up the installed mingw GCC
compiler rather than the MSVC compiler.  That would be fine except that
boost is built with MSVC and its generated libraries cannot be subsequently
found by a cmake gcc build that uses FindBoost.

This commit forces cmake to pick cl.exe rather than gcc.  This is probably
fine to do unconditionally on windows, but since I've only observed this
particular problem with GitHub Actions I'm keeping it constrained to that
environment for now.

Reviewed By: simpkins

Differential Revision: D17385050

fbshipit-source-id: 90bef898b138e5d4bbd28a155ed1bd468acee9de
2019-09-16 12:58:19 -07:00
Wez Furlong
935867f17e getdeps: restructure bison+flex dependencies
Summary:
We've been squeaking by with assuming that flex is installed already
on posix systems, but that isn't the case on the github actions default
configuration.

Adjust the bison recipe: on windows it deploys both flex and bison.  We use the
same source for both flex and bison but install flex to a separate install
prefix to make it easier to consume the flex dependency distinct from the bison
dependency.

The latest flex release segfaults during compilation on linux unless we
force -DGNU_SOURCE, so the manifest does that on linux.

Reviewed By: simpkins

Differential Revision: D17385051

fbshipit-source-id: 9f31b07849af9de50099d1b20bedba517bbbdf2f
2019-09-16 12:58:19 -07:00
Wez Furlong
538643c226 getdeps: fix openssl dep for libevent on macos
Summary:
while testing https://github.com/facebook/watchman/pull/743 on macOS
I noticed that the libevent build failed to find openssl.

openssl is special on macos because apple do not ship the headers.
We already build and depend on openssl for the folly manifest on
macos, so this is really just adding a missing edge.

Reviewed By: simpkins

Differential Revision: D17385053

fbshipit-source-id: 1b688537fef422d81a959fc5749c871b9e868baa
2019-09-16 12:58:18 -07:00
svcscm
dadddc724b Updating submodules
Summary:
GitHub commits:

8271eadc36
0cc120cf18
956efeecd4
9a90f3e996

Reviewed By: yns88

fbshipit-source-id: f171cd156ffbaff6f2bc1fe8e15ad8df1f9a4a06
2019-09-16 12:58:18 -07:00
svcscm
e93362d361 Updating submodules
Summary:
GitHub commits:

09d4c888f5
915d72d849

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 46435ff8e118c817f052d27ed67bfc6336629855
2019-09-16 12:21:29 -07:00
svcscm
742348c44f Updating submodules
Summary:
GitHub commits:

d44f5f8be6

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: a1dad2eca9ad62c3751349775c2775ba8ae2ff4c
2019-09-15 17:22:02 -07:00
svcscm
d74561e7b6 Updating submodules
Summary:
GitHub commits:

f12ca9330a

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 5cc801f85f48361af364c114a9f8d0e1d233cf88
2019-09-14 16:40:32 -07:00
svcscm
03c2833514 Updating submodules
Summary:
GitHub commits:

e43fac0667
ebec93cbac

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 6a3fd35c4a8f183541300cb0c4763ab073acfd35
2019-09-13 18:38:22 -07:00
svcscm
c86178d881 Updating submodules
Summary:
GitHub commits:

147778cb75
f65c05bba6
2e8cae784a
9ba88a1e5d
f0dd9a4e88

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 38d79d7253a006cd05e4d024ac4444528e12d049
2019-09-13 11:18:46 -07:00
svcscm
9f7d85c637 Updating submodules
Summary:
GitHub commits:

8e45af9c4c
ed4b400015
5a4e5de517
544a63f02e
fddd67d14b
01c3f19961
3ffe790576
994d90e147

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: a104beddd09e8dfd7077d0fda4f5a440564ecf9a
2019-09-13 11:18:45 -07:00
svcscm
30aeddd3ca Updating submodules
Summary:
GitHub commits:

fbe5d64918
9431d78be4
0c5ceda68a
f58496300e
1118ea1999
b51cd36793
957df32bce
85fcaaa896
13b424652e

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 85d523f46124d20d710b8726b2248aea96d7c7fe
2019-09-12 23:57:47 -07:00
Hasnain Lakhani
267fddccc8 Add CMake option to fetch deps statically
Summary:
We would like to build a version of proxygen that has minimal
dependencies on dynamic libraries.

Reviewed By: yfeldblum

Differential Revision: D17228181

fbshipit-source-id: cfd61afdfa978c49a536184f426502196241fb8a
2019-09-12 23:35:45 -07:00
svcscm
a6cbd9ad2c Updating submodules
Summary:
GitHub commits:

c5b1078066
92a6ede4ef
b87f792ffd
a378a4c2ac
7f9dd385b0
b48dde82fa
ce183205ac
46b3738a1d
9ec189e499

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: f72bb0b0e577243b807c6e641629aa0311216174
2019-09-12 23:35:45 -07:00
svcscm
75381ad5b6 Updating submodules
Summary:
GitHub commits:

8d88865b18
3549556e95
88e03cf4ab
e58b72216e
ac9918c3e5
d35ffd569c
17b64199fd
68b0e4d85a
3d6c07527e
ac0ed8caa4

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 5bd72fbd7e1fc8fe0e0f69ab00aeb0d045348444
2019-09-12 14:16:24 -07:00
svcscm
faa6855117 Updating submodules
Summary:
GitHub commits:

e1edede646

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 82b30a2a997d68131df21bbdcfd0bc3aab924b29
2019-09-11 15:43:22 -07:00
svcscm
902f15e595 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 88ae4e26203b5cb9fa04d730c0fac57d8149cac6
2019-09-11 13:20:43 -07:00
svcscm
048512eecf Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 0643fdce9eee21b5caea3af56f9638cf10cd1756
2019-09-11 12:24:04 -07:00
Adam Simpkins
a7f2d733a4 fbcode_builder: update FBPythonBinary.cmake to work on Windows
Summary:
On Windows we have to explicitly invoke `make_fbpy_archive.py` with python.
Therefore use CMake's built-in `FindPythonInterp` module to find the python
executable and use that when invoking `make_fbpy_archive.py`

This is slightly complicated by the effort required to find python with older
versions of CMake.  We ideally still want to support versions of CMake back to
at least 3.8, which means we need to still support finding Python with the
older `FindPythonInterp.cmake` module

Reviewed By: wez

Differential Revision: D17128606

fbshipit-source-id: 3f4beff76848b8a362ebdf21198e7a8bf1b0537f
2019-09-11 11:34:17 -07:00
svcscm
57ec0e1275 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 4753e836833f8065b64fa9febf870aecee5a25d7
2019-09-11 11:16:11 -07:00
svcscm
00bbcb09f2 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: f3664e2184148f2ddb04677b426d4daaaa6ea260
2019-09-10 14:50:25 -07:00
svcscm
57116a3d82 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 3cb3a9e6cef24fcd33b375b4c34f74d786f56d9c
2019-09-10 14:50:25 -07:00
svcscm
3d69d01c27 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 8dd2eee6db1878cc187173c641ac93b2c5daa2fe
2019-09-10 12:09:16 -07:00
svcscm
cb33eb1821 Updating submodules
Summary:
GitHub commits:

cb2d61c32e

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: db2c7b2c66a0e7e94ba04b12a4ff1f87ee30ae5f
2019-09-10 11:31:56 -07:00
svcscm
04589ce586 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 953b96eaffbde22d0596b5db0e0c862f70b9f992
2019-09-10 01:15:43 -07:00
svcscm
8b7fc1f5ac Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: df4c88ce4bd9e3099c81de7a68aa308fea80d5f7
2019-09-09 20:43:26 -07:00
svcscm
5705924bb0 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 256606da203d497ecbaddfab0b508fd2c6b764c8
2019-09-09 18:57:47 -07:00
svcscm
a4b76d73b2 Updating submodules
Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 525e9bb1f905b471caa1e53eaf661699477a7ffe
2019-09-09 17:06:22 -07:00
svcscm
43680109ba Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 47b5c7d2b5d101901afa122b7050017e694e4c7b
2019-09-09 09:26:40 -07:00
svcscm
32558b0ae1 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 7701bbfe62955ca44416e4e8658f2cb8b36e918a
2019-09-09 03:41:54 -07:00
svcscm
c8c936c09b Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 231e0062eb7748498cdce912b7d719a29395ea1b
2019-09-09 03:41:54 -07:00
svcscm
c6b4a02491 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: ff5b6537e82a543db8c79a25d11f1db0350b1570
2019-09-08 16:22:35 -07:00
svcscm
3cf13a8bf5 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: cd8005d67c1f00a3c6498766cee0c86bb7e91086
2019-09-07 16:13:03 -07:00
Yedidya Feldblum
3347cc797f Bake templates into the compiler binary
Summary: [Thrift] Bake templates into the compiler binary rather than having to package the templates with the compiler.

Reviewed By: stevegury, vitaut

Differential Revision: D16356056

fbshipit-source-id: b971dce7aada8dc2a26587fbf818e661acd0c555
2019-09-07 16:04:50 -07:00
svcscm
f1680e74de Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 7ace9adb613ed43ef74bbc4ba1b554f7b21137cf
2019-09-07 16:04:50 -07:00
svcscm
86db89902f Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: fbff091b6d8b680a5bf85ffbc5013ab7a89c98f4
2019-09-07 15:22:59 -07:00
svcscm
ad96d9826d Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 53864d806519150a5e3e07324373f11b308aac10
2019-09-06 15:09:38 -07:00
Wez Furlong
6fb1bb0764 getdeps: build all available boost libraries
Summary:
This should make it easier to eg: enable fbzmq on macos at a later
time, and also makes things more explicit about what is being built, and
importantly, by listing these in the manifest ensures that we have a
hash change if we change this list; we wouldn't trigger such a change
if the list were encoded solely in builder.py

Reviewed By: chadaustin

Differential Revision: D17133149

fbshipit-source-id: caf0dd45e262188eeefafe0868ef95ad257a4950
2019-09-06 14:34:19 -07:00
svcscm
310da85dd8 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 9d7dc9cb5a0d78605b28abba6e68db6e3b7e2ccf
2019-09-06 11:59:29 -07:00
svcscm
e3591589c1 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: b01fedbe2f90c36caef842d5b2ea9d23afe42dd9
2019-09-06 10:08:27 -07:00
svcscm
61ff5f6741 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 490a59acf2201a80a6497f6cfdd55751928e54d1
2019-09-06 08:19:29 -07:00
Wez Furlong
3091c60805 getdeps: allow aliasing sources for add_fb_python_executable
Summary:
* Fix a minor issue with `add_fb_python_executable` where it would
  emit `--main` even if `MAIN_MODULE` had not been specified
* Introduce the ability to rename python sources in the manifest so
  that they have a different install path.
* Note that this changes the DEPENDS parameters to reference abs_sources;
  previously these were using relative paths to the sources pulled directly
  from the SOURCES arguments, but since those can now contain aliasing
  operations we need to pre-process the list.  I switched to abs_sources
  because that was already being maintained.  If for some reason the
  DEPENDS list needs to be relative paths, this will need to be adjusted.

Reviewed By: simpkins

Differential Revision: D17147417

fbshipit-source-id: d0825bfbdad6be658c078aaac6645e6926a1530f
2019-09-06 07:44:35 -07:00
svcscm
5fd5ed861e Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: c88573b8b090630ff2e03392b8ba0a48703ed184
2019-09-06 07:44:35 -07:00
svcscm
9fa1d2e5f6 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 23e6e7ff4088730619793146590ca31e4cd3c64c
2019-09-06 00:46:11 -07:00
Wez Furlong
9ab72deacc getdeps: add build cache abstraction
Summary:
This diff adds a small abstraction that allows for uploading
and downloading from an artifact cache.

We try to download from this cache at build time, but will only
try to populate it for continuous builds--those are built from
code that has been reviewed and landed on master.  This restriction
helps to avoid thrashing the cache with works in progress and
results in a slightly more trustworthy state of the cache contents.

In addition to this, we choose only to cache third party projects.
The rationale is that our first party projects move too quickly to
be worth caching, especially since the cache granularity is for
the whole project rather than just changed elements of a given
project.

In a later diff I will introduce some implementations of the
cache class that work with eg: Travis or Circle CI caching.

Reviewed By: simpkins

Differential Revision: D16873307

fbshipit-source-id: 2bfb69e36615791747b499073586562f2ca48be9
2019-09-05 23:33:27 -07:00
svcscm
2415287337 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 9f234275c25be22647408f5a5cc06f7292f8e593
2019-09-05 23:33:27 -07:00
svcscm
0401d78964 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: e4cb9d7caf3c4018b8b99aa5bdfe23fbde450ed9
2019-09-05 20:51:48 -07:00
svcscm
28e94ef1db Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: c521cc23f2f96a695beaee343e553353363ad641
2019-09-05 16:57:16 -07:00
svcscm
476dc568da Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 226aa9c419a0330b54897c338b040199134c67d7
2019-09-04 23:16:15 -07:00
svcscm
2a792fda6d Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 5fb5077cb778a65d4a8b06c84b3a28938dbb88b6
2019-09-04 23:16:15 -07:00
svcscm
2bb4a2df46 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 8ea419d0fd1925a895f9993535be27660a583548
2019-09-04 13:00:23 -07:00
svcscm
84a738ce6c Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 0cef39945756e217dfe2d8793b2918d530462bb8
2019-09-04 11:08:10 -07:00
svcscm
539a85ee92 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 71dafed269808193a769093f68dbb04b1100f6cb
2019-09-03 22:03:26 -07:00
Yedidya Feldblum
d87295fc9d Cut mstch manifest
Summary: [OpenSource] Cut `mstch` manifest, which was but is no longer used by `fbthrift`.

Reviewed By: avalonalex, davidtgoldblatt

Differential Revision: D17160816

fbshipit-source-id: 3b96142455d6990870e8ed3e5ce330d339d5a657
2019-09-03 21:39:29 -07:00
svcscm
b1925c000e Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 0682608d96cd4ef316e0be812d22d9627d2e440d
2019-09-03 21:39:29 -07:00
svcscm
0b35ce3e3c Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 4c6f0b6e6900b3da62cbd7163f469283c867f079
2019-09-03 17:24:55 -07:00
Wez Furlong
ced2517121 getdeps: assign test owner in continuous runs
Summary:
Feed the first-party oncall data through to the testpilot
invocation.  This will set the owner of the test in continuous runs.

The oncall is passed through via the sandcastle module, which means
that you will have to manually pass it through for local testing
(see test plan), but it should automatically get picked up when
sandcastle schedules the `test` step of the job.

Reviewed By: chadaustin

Differential Revision: D17146802

fbshipit-source-id: a4f0e65853a46ed8709594c96db859ede2530b00
2019-09-03 17:09:35 -07:00
svcscm
fc263c7372 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 2df5031d0d5c87b21803d02f165b4607b62b85b4
2019-09-03 17:07:01 -07:00
John Strizich
19784e4aa7 add generated constant definitions to library
Summary: when trying to build openr with `getDeps.py` constant definitions where not available since they were not part of the generated thrift lib. this fixes it.

Reviewed By: chadaustin

Differential Revision: D16064417

fbshipit-source-id: ee2b3e061caf67235f4a873405cf6cd6fb663ef4
2019-09-03 16:39:48 -07:00
svcscm
dd831aa429 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: f8fa065aa374df9a7e66877f1a934fd88702a762
2019-09-03 16:39:48 -07:00
svcscm
1b1e0312e7 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 170bf83df0abbd794b0bff6727b7245ec122ae8b
2019-09-03 13:20:29 -07:00
svcscm
7147d1d758 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 51a81fde82232d0151565babb27b19c573733ec7
2019-09-03 13:20:29 -07:00
svcscm
5171b28d11 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: fa0a8ae3a212f7220580025fb05d3113dcb9822c
2019-09-03 11:29:18 -07:00
svcscm
7aec1c2b35 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: c83eb880e04257727f0de31fd2014cf60c846dd6
2019-09-03 11:08:36 -07:00
svcscm
20a01ba560 Updating submodules
Reviewed By: cdelahousse

fbshipit-source-id: 135094a1282a99aa48a874323c0a61cc496f027a
2019-09-03 10:07:11 -07:00