Commit Graph

1020 Commits

Author SHA1 Message Date
svcscm
7618d911cf Updating submodules
Summary:
GitHub commits:

8c944945a0
524f00d043

Reviewed By: zpao

fbshipit-source-id: 7a18f1dc68ef71a4a61d53d8a25567f0b49d516c
2019-10-29 09:23:03 -07:00
svcscm
7d335ef48e Updating submodules
Summary:
GitHub commits:

2061a4919b
1774fbd30a
00fcf512b8
f2e09a4ab8

Reviewed By: zpao

fbshipit-source-id: a00efff3f859c81b6a50fe43ff4d76e2f6de0fb3
2019-10-28 18:17:56 -07:00
svcscm
7f99f13d08 Updating submodules
Summary:
GitHub commits:

724e939772
f4fb4266c0
95d4b19724
8b8131450e
ac8faa6528
5487e2b1a2

Reviewed By: zpao

fbshipit-source-id: 9b9f4cccd869638215c17111361a6f6c480c73af
2019-10-28 17:49:23 -07:00
svcscm
8185bb789c Updating submodules
Summary:
GitHub commits:

ab52ee7058
a2708d3453

Reviewed By: zpao

fbshipit-source-id: cbc9d56729c33296375c5d97f5b638cc329e2c90
2019-10-28 12:08:33 -07:00
svcscm
303637c0a4 Updating submodules
Summary:
GitHub commits:

acf4b746dd

Reviewed By: zpao

fbshipit-source-id: ebacb2b42ec8bd975ed81e4fff950596ac483455
2019-10-28 11:32:19 -07:00
svcscm
6590f5ee18 Updating submodules
Summary:
GitHub commits:

ece1df2d8d

Reviewed By: cdelahousse

fbshipit-source-id: e013670b13f81fdde095f01a4da81c684a812898
2019-10-28 11:16:56 -07:00
svcscm
84a1371f0f Updating submodules
Summary:
GitHub commits:

fd84bde193

Reviewed By: cdelahousse

fbshipit-source-id: 6fea40cfb108dff9821d991a1fa6a00157eadf38
2019-10-27 22:22:03 -07:00
svcscm
6ef02ee9e9 Updating submodules
Summary:
GitHub commits:

c359ca2d71
7132ca43d7
e0ab73bf4c
7ce383413a
b48dc93caa
9dd2fc874e

Reviewed By: cdelahousse

fbshipit-source-id: 49d776f8bf8c5784b996825cf324461f577b9d4f
2019-10-27 00:22:44 -07:00
svcscm
283227d857 Updating submodules
Summary:
GitHub commits:

d92be25ee2

Reviewed By: cdelahousse

fbshipit-source-id: c95da68fb4360f21fca126c9c2ffe43e1305d460
2019-10-26 21:22:31 -07:00
svcscm
fa596a5070 Updating submodules
Summary:
GitHub commits:

0ab6e7940a

Reviewed By: cdelahousse

fbshipit-source-id: c7b17e5c17c346ea1dd0e78a0a8b1fb95f652881
2019-10-25 20:39:39 -07:00
Wez Furlong
e84030a082 getdeps: [EASY] pass yarn offline mirror location for fbsource builds
Summary:
Our CI environment cannot directly connect to the internet,
and even if it could, doing so is undesirable to fetch javascript deps.
We maintain an offline mirror of packages used by the build(s) so that
we don't have to go out to the internet.

When running in fbsource, configure the environment to use that offline
mirror.

Reviewed By: chadaustin

Differential Revision: D18061773

fbshipit-source-id: 1a5e112f23c1baaedfb3dff0c4c2a1641f6bb9a1
2019-10-25 20:32:21 -07:00
Wez Furlong
0383f82752 getdeps: [EASY] tell testpilot to use long output mode for failures
Summary: Ask testpilot to include more output in test failures.

Reviewed By: fanzeyi

Differential Revision: D18061772

fbshipit-source-id: 0c14092557c21396c877d3b1776c5707437a117c
2019-10-25 20:32:21 -07:00
svcscm
98b9005344 Updating submodules
Summary:
GitHub commits:

10d569a503
1075c376ef
6509206889
2fa1ba6a5a

Reviewed By: cdelahousse

fbshipit-source-id: 6b6af53ad7f06655006c97b0daa7413afa261b75
2019-10-25 19:29:00 -07:00
svcscm
24b67e6631 Updating submodules
Summary:
GitHub commits:

66ee5040b2
2cb34df819

Reviewed By: cdelahousse

fbshipit-source-id: 50301bd12e848ecaaa77a873a14e15f0dc2ec003
2019-10-25 16:31:12 -07:00
svcscm
bed08ec871 Updating submodules
Summary:
GitHub commits:

d17be9f229
b2ca63751a
be0470ba32
064df12227
f76c6ef049
167b1e22db
f16a9d6d00

Reviewed By: cdelahousse

fbshipit-source-id: 5815e615dfe36ea90878c3f94bbfa67801667053
2019-10-25 16:29:17 -07:00
svcscm
fb443bb569 Updating submodules
Summary:
GitHub commits:

f8f2eb3342
c5e631fed8
60df0a6bcd
230005c898
bd14c14a9c
5695e84ef4
2a8880f490
c23c7cc7cc

Reviewed By: cdelahousse

fbshipit-source-id: b49813970f9d7ce24405e39eef8b3a9be80a886d
2019-10-25 10:56:36 -07:00
Wez Furlong
585d83c817 getdeps: memoize eden prefetched dirs
Summary:
currently, the implementation of `eden prefetch` calls into
a mercurial function that is overly eager in making network connections,
which results in what should be a fast NOP second prefetch call taking
more time than is desirable.

This diff adds a little cache to avoid repeatedly calling prefetch
for the same directory more than once for the life of the getdeps
process.

Given the usage pattern of getdeps it is OK that we don't provide
a way to invalidate this cache.

Reviewed By: fanzeyi

Differential Revision: D18005408

fbshipit-source-id: 0ec3f477da1043a5a715704b512c81fcfaa0acde
2019-10-25 10:20:59 -07:00
svcscm
d673c9ec02 Updating submodules
Summary:
GitHub commits:

59613a5631
ff6fbc6607
4dd4f00512

Reviewed By: cdelahousse

fbshipit-source-id: 5637007829adcab490bef01db9b1bd60fd856405
2019-10-25 10:20:59 -07:00
svcscm
051c3aceca Updating submodules
Summary:
GitHub commits:

09d07115f6
ca7ccbe2ea

Reviewed By: cdelahousse

fbshipit-source-id: bde0a10de6869185a4d7948e2b47023d3bddff36
2019-10-24 17:59:09 -07:00
svcscm
442c45c05d Updating submodules
Summary:
GitHub commits:

61c1ed79cd

Reviewed By: cdelahousse

fbshipit-source-id: d688e49fce1d1ee71b34889b98db076cf4eb30ec
2019-10-24 14:56:42 -07:00
svcscm
3a2bff7631 Updating submodules
Summary:
GitHub commits:

4e8d4f153f
be10a3d4b3

Reviewed By: cdelahousse

fbshipit-source-id: 9874eae216a6b5db07676c17687a1bf727e6ae69
2019-10-24 13:16:44 -07:00
svcscm
da74fc2e35 Updating submodules
Summary:
GitHub commits:

b0959ec2f9

Reviewed By: cdelahousse

fbshipit-source-id: c0fb5793ddac8b0ce33d6614dcb07502b880a9b1
2019-10-24 12:48:33 -07:00
svcscm
d3ec6437d4 Updating submodules
Summary:
GitHub commits:

122f539822
f01cb0708c
9f1e5a0b87
0a1f9347c2

Reviewed By: cdelahousse

fbshipit-source-id: b135aa3446eee2dd3a1bf3bb0d5c0265be465b3d
2019-10-23 18:49:02 -07:00
svcscm
0c4409b424 Updating submodules
Summary:
GitHub commits:

8ac79dbfad
f97c8b2a91
686dbde63b
6a32e3b562
9e79c99421

Reviewed By: cdelahousse

fbshipit-source-id: e50b9ecdf91e98932bd82faa210c012cc8b9d48f
2019-10-23 18:20:34 -07:00
svcscm
6c9c433ff4 Updating submodules
Summary:
GitHub commits:

3d32597779
2c45426e8b
db7733cb24
9df8a63117
61a3c68470
596b1a7c1c
06751015b3

Reviewed By: cdelahousse

fbshipit-source-id: 4a48ce9ed3124fc5a37e02c1eb3081a358bb1fb6
2019-10-23 12:41:19 -07:00
svcscm
72ed65e736 Updating submodules
Summary:
GitHub commits:

d32d4344ec
00dfc2c82e

Reviewed By: cdelahousse

fbshipit-source-id: 5d1b8300a428c65bc35f222ae19c656585ba897b
2019-10-23 12:41:19 -07:00
svcscm
7831556afc Updating submodules
Summary:
GitHub commits:

4493473c42

Reviewed By: cdelahousse

fbshipit-source-id: 050512c21097cdde6c1980e2aeec9d7b2cf000d5
2019-10-22 16:34:36 -07:00
svcscm
57df8ac3a7 Updating submodules
Summary:
GitHub commits:

58bcdfb1b3
d8f20576dd
c0abc6bbc1

Reviewed By: cdelahousse

fbshipit-source-id: 72ec0622435f0babb54489d9a8b60d74cae714c2
2019-10-22 12:42:53 -07:00
svcscm
1d947bbf7a Updating submodules
Summary:
GitHub commits:

66b625242c
f54c24f82d
3885c389bd
fc5afaecdf
b3e50b5606
f8a545e32b

Reviewed By: cdelahousse

fbshipit-source-id: 4ea875f35026ef802d89e30f4ec665c816759b78
2019-10-22 10:52:31 -07:00
svcscm
1011efa6b3 Updating submodules
Summary:
GitHub commits:

cc706526f8
1186b8bcc3
82f7971f3b
a2b9ce30f2

Reviewed By: cdelahousse

fbshipit-source-id: 89d606f2dc19927187691c168001236925503af1
2019-10-22 05:46:40 -07:00
svcscm
3d51a8ad53 Updating submodules
Summary:
GitHub commits:

9d739fe162
758bf19acf

Reviewed By: cdelahousse

fbshipit-source-id: 0000f5800d8bd388c0ee5ea80e489e63608f3ce6
2019-10-22 05:01:03 -07:00
svcscm
c84f233d7a Updating submodules
Summary:
GitHub commits:

54a20c004d
7245fb5f63

Reviewed By: cdelahousse

fbshipit-source-id: c6a19bb5a9824d0a798474016b919e6a555dfecd
2019-10-21 15:38:00 -07:00
svcscm
fabe5d4ab9 Updating submodules
Summary:
GitHub commits:

c9d712c388

Reviewed By: yns88

fbshipit-source-id: f2bd1e6b49fb44e4145122db39b6cec85206f169
2019-10-21 10:18:32 -07:00
svcscm
09988e4816 Updating submodules
Summary:
GitHub commits:

d5ca07fd8f
0a37fb5cfa
eddca91ca3
5cb5dbeb4e
22d44c34bf
c85cb20c1d
2e917c1e22
b572b4d1cd

Reviewed By: yns88

fbshipit-source-id: a0496814c3cc08b11054e427f39a4ce0d77b7088
2019-10-21 04:37:03 -07:00
Wez Furlong
2471f855c2 getdeps: don't use fbsource hash in the simple shipit fetcher
Summary:
This avoids invalidating the entire build in response
to just running `hg amend`, which is frustrating and slow.

Reviewed By: chadaustin

Differential Revision: D18005409

fbshipit-source-id: ef93313859919298be78204046eb08bcadc5398e
2019-10-21 04:09:13 -07:00
svcscm
7c112efa92 Updating submodules
Summary:
GitHub commits:

a62d2e395a
ac8a0f520b

Reviewed By: yns88

fbshipit-source-id: 31fee2012c2fc12bd01cea9a60eb2f0a81e5eb54
2019-10-20 09:22:03 -07:00
svcscm
0e88221cc7 Updating submodules
Summary:
GitHub commits:

0dc1a11511

Reviewed By: yns88

fbshipit-source-id: 3d254e9994c6280717e19b56a5c73f59b5a53155
2019-10-19 18:22:41 -07:00
svcscm
884ae4b093 Updating submodules
Summary:
GitHub commits:

fd92b85c77
6e97b96831
c53db172a1
6066f4080c
0f7db99f74
af076ee05f

Reviewed By: yns88

fbshipit-source-id: 944e8b824f001aae3ef2f1eb9f748ae505cf8a7c
2019-10-18 17:40:36 -07:00
svcscm
842eeb328e Updating submodules
Summary:
GitHub commits:

d9b854efd2
8ca90e272a

Reviewed By: yns88

fbshipit-source-id: fce9eec0035c126498d94e0299a99f892cd43686
2019-10-18 17:28:47 -07:00
svcscm
f6cb6c47f3 Updating submodules
Summary:
GitHub commits:

b538ebe672
dc705b2974

Reviewed By: yns88

fbshipit-source-id: 9d5c137fdcb8255e71084e5b986ff85480041f49
2019-10-18 13:58:03 -07:00
svcscm
ce9647b32f Updating submodules
Summary:
GitHub commits:

615a44f04f

Reviewed By: yns88

fbshipit-source-id: ca24d4c01ddd31a8ecdd9043557c07b5bd55acc3
2019-10-18 13:21:00 -07:00
svcscm
2d3937cbd1 Updating submodules
Summary:
GitHub commits:

ed0f3dfc4f

Reviewed By: yns88

fbshipit-source-id: 545ae7384585ebfec93e67cd5efb68af51607cfc
2019-10-18 11:26:03 -07:00
svcscm
3c4f61c773 Updating submodules
Summary:
GitHub commits:

5ac00fbc92
e60cc0925c
ba59434fb0

Reviewed By: yns88

fbshipit-source-id: 74c17f318830ae7aed5a663f6f407d38f6fec261
2019-10-18 10:54:18 -07:00
svcscm
dd5969e10b Updating submodules
Summary:
GitHub commits:

60d455246a

Reviewed By: yns88

fbshipit-source-id: e098bb396ddd63040504d50156fbec053afc52c1
2019-10-18 03:24:06 -07:00
svcscm
d0df2737ce Updating submodules
Summary:
GitHub commits:

b728b4ac51
97a578dabb
a9e811bdc7
185282d1c6
e686e5de15
2c918fee3b
be1708e4f5
df06d5797f

Reviewed By: yns88

fbshipit-source-id: c9521877ef7a20f9eef3a3857b70b7b925bdfc29
2019-10-17 02:50:34 -07:00
Wez Furlong
27296ed517 getdeps: regard IOError as transient when fetching URLs
Summary:
this should help avoid this particular error:

```
IOError: [Errno socket error] [Errno 11001] getaddrinfo failed
```

Reviewed By: chadaustin

Differential Revision: D17886598

fbshipit-source-id: bd9f5b84ebd7ca5c339be3afec3a975fa907d052
2019-10-17 02:19:41 -07:00
Wez Furlong
39cb261ced watchman: pass version info down to watchman build via environment
Summary:
This diff allows passing a watchman version number override
via the environment as well as via the cmake `WATCHMAN_VERSION_OVERRIDE`
option.

To help invalidate the build I've added a new section to the manifest
files that allows listing out additional env vars that the project
hashes should be sensitive to.  The effect of this is that we'll
re-run the cmake configure step if the listed env vars are changed.

Reviewed By: Ben0mega

Differential Revision: D17865896

fbshipit-source-id: 8ea5572b0b9b7af95ec5c310e494cb17a139ced4
2019-10-17 02:19:41 -07:00
Wez Furlong
38a7106453 getdeps: constrain testpilot to our number of jobs
Summary: testpilot's defaults assume a bigger machine than some of our laptops

Reviewed By: fanzeyi

Differential Revision: D17878120

fbshipit-source-id: e01f1f9c77a4f5f011051c9c642dbe934c66bc0b
2019-10-17 02:19:40 -07:00
svcscm
ca7dea9406 Updating submodules
Summary:
GitHub commits:

8cc7cf6522

Reviewed By: yns88

fbshipit-source-id: 4aebaf176c9e189aac93f9fa0f3c9eafc67e0be6
2019-10-17 02:19:40 -07:00
svcscm
97b42034b0 Updating submodules
Summary:
GitHub commits:

fc88fcbf67
e6177c0ec8

Reviewed By: yns88

fbshipit-source-id: b4f376cfb270b88ce08313794cc5fb4b45332834
2019-10-16 17:31:51 -07:00
svcscm
c1170b0274 Updating submodules
Summary:
GitHub commits:

f2ce55e21c

Reviewed By: yns88

fbshipit-source-id: d02f077270da26addc0e7303fa918a917b386f16
2019-10-16 16:56:28 -07:00
svcscm
cc20216fcd Updating submodules
Summary:
GitHub commits:

184be5e1bc
e8d4ed9b8c
1f9d7c0f54
05bc38d828

Reviewed By: yns88

fbshipit-source-id: 39e21b4321d16aa0bdc43fb5100eb04515fb146f
2019-10-16 11:42:58 -07:00
svcscm
8b29bf5cc7 Updating submodules
Summary:
GitHub commits:

509dd6da09
6b95a33c60
90debac03b

Reviewed By: yns88

fbshipit-source-id: 20fbd2548722418516e602c9a538d0a541a19fee
2019-10-16 10:38:28 -07:00
svcscm
15958e34d7 Updating submodules
Summary:
GitHub commits:

560befd3fb

Reviewed By: yns88

fbshipit-source-id: 680e6531bda06b4896b55598bc1b75bea564770c
2019-10-16 09:48:47 -07:00
svcscm
6d86fbde8a Updating submodules
Summary:
GitHub commits:

49b65e9ec1
55c5e5b963

Reviewed By: yns88

fbshipit-source-id: 39ecfc46668c82d08d1c7a7f9f4645a8ee7d62f6
2019-10-16 09:13:35 -07:00
svcscm
819551c3ed Updating submodules
Summary:
GitHub commits:

3b62632cd9
b010e54b14

Reviewed By: yns88

fbshipit-source-id: 720b4cb7f6d4a2411a207ab54fd4dcd7615edeb8
2019-10-15 14:15:52 -07:00
svcscm
e22a497700 Updating submodules
Summary:
GitHub commits:

e7e3376608
c21b4da48a

Reviewed By: yns88

fbshipit-source-id: 9a4d827de6f5faad0924beb6a5d1e77711770555
2019-10-15 13:39:41 -07:00
svcscm
67235610d2 Updating submodules
Summary:
GitHub commits:

d7dbd25418

Reviewed By: yns88

fbshipit-source-id: 0d0593c74aede1c9996dc162868f08f0d6ad5e81
2019-10-14 20:55:14 -07:00
svcscm
f02deeba63 Updating submodules
Summary:
GitHub commits:

54ae8e9462
9ec85c42a5
18086a81c0

Reviewed By: yns88

fbshipit-source-id: fca35d181cf753c167eb2e79f53c59562d7d0c02
2019-10-14 19:18:04 -07:00
svcscm
3493eab463 Updating submodules
Summary:
GitHub commits:

4269fd6e9d
a0b02c10c1

Reviewed By: yns88

fbshipit-source-id: 9783f84afc9a414273de2751b7337dbb056f58c4
2019-10-14 12:31:22 -07:00
svcscm
66f591abd2 Updating submodules
Summary:
GitHub commits:

15f1d999e4
ecaad24062
a6e615a7ba

Reviewed By: yns88

fbshipit-source-id: 6a7b538ba5e3211661636465bf2067359c95ad90
2019-10-14 12:20:41 -07:00
svcscm
2a5c6e54ba Updating submodules
Summary:
GitHub commits:

a9a721d158

Reviewed By: zpao

fbshipit-source-id: fa9b599613ad31dcd0f606eee655b7558ccb025a
2019-10-14 08:59:29 -07:00
svcscm
9bfaf8af70 Updating submodules
Summary:
GitHub commits:

20860125c3
dbf7cb05d2

Reviewed By: zpao

fbshipit-source-id: f3abc1fc5c0a048cac44425318bbfede3115257d
2019-10-13 09:22:24 -07:00
svcscm
9c404957c2 Updating submodules
Summary:
GitHub commits:

feee256959

Reviewed By: zpao

fbshipit-source-id: df5f1eafc1b22bed3b5a0108cd3518c160b4a352
2019-10-12 09:20:19 -07:00
svcscm
a37d5d2fb1 Updating submodules
Summary:
GitHub commits:

c70b88fed9
469cdaccc9

Reviewed By: zpao

fbshipit-source-id: 686993930dcf58d612a1a635e418e3b966e180dd
2019-10-11 16:50:26 -07:00
svcscm
b4af7e0633 Updating submodules
Summary:
GitHub commits:

4ca7f0e2ab
c3543916f7
7a7b50a9a9

Reviewed By: zpao

fbshipit-source-id: 63b7a7ad92b9c4b99412070119f3ef88adf6060d
2019-10-11 16:45:00 -07:00
svcscm
a62b2a184d Updating submodules
Summary:
GitHub commits:

38facec624
73b9b24d73
16103a1483
5f1ff91cee

Reviewed By: zpao

fbshipit-source-id: 94d8b7a08ef5f5cca523097204c3f1bfe0d7d3e4
2019-10-11 15:11:59 -07:00
svcscm
0fcd4ced47 Updating submodules
Summary:
GitHub commits:

cdf9698c9b
ac8e121665

Reviewed By: zpao

fbshipit-source-id: 98406338bd8d0501c73766aa0ec66239b709030e
2019-10-11 10:42:35 -07:00
svcscm
53afd1b078 Updating submodules
Summary:
GitHub commits:

71ad58349c
03358af986

Reviewed By: zpao

fbshipit-source-id: 3e3147221226b0f9874fc24019ec02e2888de6ba
2019-10-11 09:20:21 -07:00
svcscm
7231f795a6 Updating submodules
Summary:
GitHub commits:

4516865d9d
f6a09a345e

Reviewed By: zpao

fbshipit-source-id: e8ea2bddff0d2919753fd0b2c96e58300598e9aa
2019-10-11 05:28:23 -07:00
svcscm
eb5ff0d4d4 Updating submodules
Summary:
GitHub commits:

9b54ae14cc
1e72a744e2

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 487333c649237a81322dcbed0d3a9cbcbd1830f7
2019-10-10 23:28:19 -07:00
svcscm
3727163c13 Updating submodules
Summary:
GitHub commits:

6ec3be9134
c19dfa4ecf
605f2b84cb

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 21de900fbca22d3a3717e7f4e1dcf2b2a4633405
2019-10-10 17:32:22 -07:00
svcscm
a561ba3880 Updating submodules
Summary:
GitHub commits:

30eadf6dab

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 31d9c35ecc6dc3e9ef522d260b193238cc885f4b
2019-10-10 16:59:48 -07:00
svcscm
c8537ea5cb Updating submodules
Summary:
GitHub commits:

8f09128eff
041c679db7
912054cbe9
c9181f8d8a
18fe084a4e
96fcd9bee8
84be696700
1ad80670e6
3fb701aa59

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 78f58d88f849ab105121533bf276c24d9da06e69
2019-10-10 13:56:56 -07:00
Andres Suarez
4f5c1eb215 Relicense getdeps from BSD to MIT
Summary: See https://fb.workplace.com/groups/osssupport/permalink/2846876118694318/

Reviewed By: wez

Differential Revision: D17750243

fbshipit-source-id: 9e149df1f8e09203820f50d0fcac4a5cecf52e33
2019-10-10 13:20:05 -07:00
svcscm
94b4b3e334 Updating submodules
Summary:
GitHub commits:

6e6968f5ff
80e85cb30f
4c49e38f15

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 0c36902ad26a7ea5f4c0a7998ef1596167b71b1d
2019-10-10 13:20:05 -07:00
svcscm
d4bae358bf Updating submodules
Summary:
GitHub commits:

bc34a0c873
34fe0fc87d
4f7f55a9c1
ce95cdf22e
52058538bd
b8f426fd37
a6d0ad8c64
b3f1ee8e0e

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: d4e747570517b1d42a84ebd7e37fab38c5a7f003
2019-10-09 21:38:25 -07:00
Wez Furlong
ba2c416069 watchman: migrate wildmatch test to gtest
Summary: This is the first step towards removing `watchman/thirdparty/tap.{cpp,h}`

Reviewed By: chadaustin

Differential Revision: D17775680

fbshipit-source-id: d6ac32c3b2489e1713fb132b0bb46d848c56811f
2019-10-09 21:01:16 -07:00
Wez Furlong
f5b643a4e3 getdeps: ask testpilot to re-run failed tests up to 3 times
Summary: This helps to squash out some flakiness

Reviewed By: pkaush

Differential Revision: D17804696

fbshipit-source-id: decd8e5dd37d802c62cae1168c4f4d72c0fc5c83
2019-10-09 21:01:15 -07:00
svcscm
029b955fff Updating submodules
Summary:
GitHub commits:

36acdac8a5

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: fc46903ce451ee316c0a05c504f8163c2e3453f7
2019-10-09 20:18:27 -07:00
svcscm
a931bdaf30 Updating submodules
Summary:
GitHub commits:

6a4c4cea79

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 6a42ab50fb94828a9bf24670644580f22543bcc6
2019-10-09 18:22:19 -07:00
svcscm
b3ad9aecf1 Updating submodules
Summary:
GitHub commits:

1b1897772d
3bd6c6d0d0
149fed4b2e
b047a48ab2
2faa112a79
8f222bfa35
9edafd67e1
08e873d01e

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 0ee4a022b4ce9097a193c418e3740bb0ec3615a0
2019-10-09 15:59:27 -07:00
Alexey Spiridonov
b93ff4720d Re-enable BUILD_TESTS for fbcode_builder
Summary: As it turns out, several of the `fizz` dependencies require it to have been built with tests enabled, so it's just easier to build them always, IIRC they only waste 1-2 minutes of time.

Reviewed By: lnicco

Differential Revision: D17837758

fbshipit-source-id: dd0c73b3aaf72831ce702dbcecd4e3ff627a4901
2019-10-09 15:20:00 -07:00
Zeyi (Rice) Fan
70b00d43aa eden: make eden build with Rust datapack
Reviewed By: wez

Differential Revision: D17494253

fbshipit-source-id: 45bab057e5cefd8f2808be96ba31814c5196051b
2019-10-09 13:03:07 -07:00
svcscm
e540969b95 Updating submodules
Summary:
GitHub commits:

ca22474b16
ba51bf8336
b00991a9cf
80df4adb86
029f145b2e
5cfd1dd083
4d2dd78048

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 8d0046610f745cc79e2a95ab6f8cda804cb2abd3
2019-10-09 13:03:07 -07:00
svcscm
f695503b4f Updating submodules
Summary:
GitHub commits:

3fe0037e48
e00630bf70
946e907c9c
5b96cf2eb0
77d5a2c109
c350d4cea1
ab93c5bf2f
9274f54af9

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 13724c98f794dea8e570406c3a0b64e2c83cfd4a
2019-10-08 22:25:33 -07:00
Alexey Spiridonov
3fdcdad190 Revert / fix up D17158685
Summary:
Proxygen no longer uses `fbcode_builder` to run its tests, so whatever the purpose of D17158685, these `fbcode_builder` configs no longer affect Proxygen, and can be reverted to their original state.

Since the general design pattern for `fbcode_builder` has been to link everything as `.so`s, let's return to this (which helps fix Bistro's build).

Also, let's not waste time building & linking tests for libraries that are not the library under test. That is:
 - Before: The Bistro build also builds tests for wangle, proxygen, etc. This is a result of some accidental changes in D17158685.
 - After: We explicitly don't build test for any of the 4 dependencies here. This is OK because each project also has its own `fbcode_builder_config.py`, which **does** build tests.

This latter part should result in a build-time reduction.

Reviewed By: lnicco

Differential Revision: D17819858

fbshipit-source-id: 7cad1bed86b2f0c3934b0fc5d6fb33e6a2ee2695
2019-10-08 21:47:29 -07:00
svcscm
3184ffeda0 Updating submodules
Summary:
GitHub commits:

7ccc53da5c
19a311afb1
31e273bc7a

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 0f431a636319f2776b333167ade53012815ef486
2019-10-08 21:47:29 -07:00
svcscm
dec1c2249b Updating submodules
Summary:
GitHub commits:

7a4406fff1
2f4e288143

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 1a496af357cb8f8baf7588c32332b3e68ec51203
2019-10-08 17:29:04 -07:00
svcscm
75e049e7be Updating submodules
Summary:
GitHub commits:

bc1c56c35b
9ef6ae81a6
3c81e5743f
237ea0029f
cff5937685

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: bd17e8c604c745ea9771e8486407980c8a71c026
2019-10-08 11:18:51 -07:00
svcscm
bbb1f742ca Updating submodules
Summary:
GitHub commits:

442d7def67
c138dc3d2c
3833f10989
6fc473d530
82d259dade

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 7834a4a8620d0ab9b60060e0abadfba457fb2890
2019-10-08 01:23:05 -07:00
svcscm
b0c6abab51 Updating submodules
Summary:
GitHub commits:

8f538e5f74

Reviewed By: zpao

fbshipit-source-id: 02817f56059231d315f265a44382ade7773f736b
2019-10-07 14:26:15 -07:00
svcscm
5e144c8070 Updating submodules
Summary:
GitHub commits:

c0fcc0584d

Reviewed By: zpao

fbshipit-source-id: 57e606b87b9a3c82ab52583b75f8f9b18fb67717
2019-10-06 22:26:00 -07:00
svcscm
6b60f7b3a9 Updating submodules
Summary:
GitHub commits:

0773adc6ed

Reviewed By: zpao

fbshipit-source-id: f4a9f5d00470936f93fa214c168491d800b51ba7
2019-10-06 12:25:13 -07:00
svcscm
930050e1f5 Updating submodules
Summary:
GitHub commits:

adb0dd8552
53d3cbdb95

Reviewed By: zpao

fbshipit-source-id: 2deb0909b680fd70b4841d11cec37db0c21c2dc6
2019-10-05 11:51:53 -07:00
svcscm
430057d1b1 Updating submodules
Summary:
GitHub commits:

2d8909f6f5
b123ec99c0
6492bb7063
59829723b6
72953bbc99
0d3a31d96f
33017e5a45
01e006161f

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 6c38758dcf8effe7b4f4602beb8e32ea605f4679
2019-10-04 11:49:44 -07:00
svcscm
64dd6ac38d Updating submodules
Summary:
GitHub commits:

716e58b5b2
657c1a3dd8
c58b4d6edf
ef116e3747
b882dfef2b
29d57f5c86
416373d0c0

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 104c97ccbe3eed169c92d6d75d7a28ea059c802d
2019-10-04 11:13:10 -07:00
Zeyi (Rice) Fan
7f8aae31f9 getdeps: add libcurl and make Eden use libcurl instead of system curl
Summary:
We are seeing random segment fault originating from OpenSSL on macOS when
Mononoke fetching is enabled.

The cause is that on macOS we are actually linking against libcurl shipped with
the system instead of ours. That copy of libcurl is linked with macOS's
libcrypto instead of the one we compiles during Eden's build, and it seems that
version of libcrypto does not provide concurrency safety.

The solution is to build curl on macOS and make sure it is linked to our
OpenSSL that has the concurrency callbacks registered.

Reviewed By: wez

Differential Revision: D17657822

fbshipit-source-id: 85abdf3be10b3903a5efc6b3a91624c7258de790
2019-10-04 11:00:45 -07:00
svcscm
552e4e7e85 Updating submodules
Summary:
GitHub commits:

f35c0177d8
52c8537cc3
03191fe7b1
9d481a51bb
33e4a55d8f
b899630b14
6eac742faa
62045e2c23
932f277fc1

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 63094af9262a1b276f88cc459921ff1486d1d045
2019-10-04 10:31:24 -07:00
Wez Furlong
0db060013e watchman: getdeps: Capture artifacts from Github Actions CI builds (#750)
Summary:
This diff teaches the generated Github Actions configuration to copy the
executable outputs from the leaf project into an artifacts dir, and then capture
the artifacts in the build.

This page has details on the artifacts mechanism used by Github Actions:
https://github.com/actions/upload-artifact

This page has the "Artifacts" link on the RHS where an example of the artifacts
can be downloaded:
https://github.com/facebook/watchman/pull/750/checks?check_run_id=244088199

Here's the actual download:
https://github.com/facebook/watchman/suites/247296465/artifacts/74686

And here's what the inside of that zip file contains for the watchman build:

```
$ find . -ls
49685444        0 drwxr-xr-x    6 wez              mygroup      192 Oct  1 18:50 .
49685487       16 -rw-r--r--    1 wez              mygroup     6148 Oct  1 18:51 ./.DS_Store
49685446        0 drwxr-xr-x    5 wez              mygroup      160 Oct  1 18:51 ./mac
49685501       16 -rw-r--r--    1 wez              mygroup     6148 Oct  1 18:51 ./mac/.DS_Store
49685453        0 drwxr-xr-x    3 wez              mygroup       96 Oct  1 18:50 ./mac/bin
49685455     5432 -rwxr-xr-x    1 wez              mygroup  2778500 Oct  2 01:02 ./mac/bin/watchman
49685454        0 drwxr-xr-x    7 wez              mygroup      224 Oct  1 18:50 ./mac/lib
49685457      296 -rwxr-xr-x    1 wez              mygroup   149096 Oct  2 01:02 ./mac/lib/libgflags.2.2.dylib
49685460     1072 -rwxr-xr-x    1 wez              mygroup   546348 Oct  2 01:02 ./mac/lib/libssl.1.1.dylib
49685459      272 -rwxr-xr-x    1 wez              mygroup   135524 Oct  2 01:02 ./mac/lib/liblz4.1.dylib
49685458      352 -rwxr-xr-x    1 wez              mygroup   176900 Oct  2 01:02 ./mac/lib/libglog.0.dylib
49685456     4888 -rwxr-xr-x    1 wez              mygroup  2501012 Oct  2 01:02 ./mac/lib/libcrypto.1.1.dylib
49685445        0 drwxr-xr-x    5 wez              mygroup      160 Oct  1 18:50 ./linux
49685486       16 -rw-r--r--    1 wez              mygroup     6148 Oct  1 18:50 ./linux/.DS_Store
49685448        0 drwxr-xr-x    3 wez              mygroup       96 Oct  1 18:50 ./linux/bin
49685450   196264 -rwxr-xr-x    1 wez              mygroup 100486648 Oct  2 01:16 ./linux/bin/watchman
49685449        0 drwxr-xr-x    4 wez              mygroup      128 Oct  1 18:50 ./linux/lib
49685451     3864 -rwxr-xr-x    1 wez              mygroup  1976888 Oct  2 01:16 ./linux/lib/libgflags.so.2.2
49685452     2208 -rwxr-xr-x    1 wez              mygroup  1127336 Oct  2 01:16 ./linux/lib/libglog.so.0
49685447        0 drwxr-xr-x    4 wez              mygroup      128 Oct  1 18:51 ./windows
49685513       16 -rw-r--r--    1 wez              mygroup     6148 Oct  1 18:51 ./windows/.DS_Store
49685461        0 drwxr-xr-x    5 wez              mygroup      160 Oct  2 01:44 ./windows/bin
49685464     7880 -rwxr-xr-x    1 wez              mygroup  4030976 Oct  2 01:44 ./windows/bin/watchman.exe
49685463      488 -rwxr-xr-x    1 wez              mygroup   249856 Oct  2 01:44 ./windows/bin/glog.dll
49685462      544 -rwxr-xr-x    1 wez              mygroup   278016 Oct  2 01:44 ./windows/bin/gflags.dll
```

The `main.yml` file was updated by running:

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

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

Test Plan: See description above

Reviewed By: pkaush

Differential Revision: D17705148

Pulled By: wez

fbshipit-source-id: 4f3c466180f5a1cb9fa31a9b3b3f117876f8b89d
2019-10-04 10:03:38 -07:00
svcscm
5586c07fdb Updating submodules
Summary:
GitHub commits:

c510b2adff

Reviewed By: 2d2d2d2d2d

fbshipit-source-id: 15331ba12019dc91362909a446f867d4dd78ea01
2019-10-04 08:17:27 -07:00
svcscm
87cc2a03f6 Updating submodules
Summary:
GitHub commits:

b695c6bce8

Reviewed By: zpao

fbshipit-source-id: 8ba01a4003190450461279ed68f56846af253efa
2019-10-04 06:40:48 -07:00
svcscm
d9944d1c21 Updating submodules
Summary:
GitHub commits:

b09f9d4bd9
a46c690516
a8d1fd8e17
686f4cdab5
2bd394f5a6
2d436815b9
c3565bbd1b
6d8ff2abdc

Reviewed By: zpao

fbshipit-source-id: d4f859be9349c3dd4b0fb51beea8875048992f32
2019-10-03 13:23:33 -07:00
Wez Furlong
bbb6bc98ab getdeps: ensure that INST/lib/*.dll are found in PATH on windows
Summary:
We were troubleshooting an issue with the eden tests on windows
where the boost dlls where not being found during gtest discovery.

When we compute the environment, we were only including INST/bin in the
PATH on windows.  On Windows, the dlls are searched for in the PATH, and
since boost installs those into its `lib` dir we were missing those.

This diff causes `lib` dirs to get added to PATH on windows in the same
manner that we would add them to `LD_LIBRARY_PATH` on linux.

Reviewed By: pkaush

Differential Revision: D17694542

fbshipit-source-id: 143a907e6d30d8c12360caa43c8d9c26ff8c88c6
2019-10-03 12:56:59 -07:00
svcscm
ed18fc6f00 Updating submodules
Summary:
GitHub commits:

b1fc10d337
cca87d7722
2b0ab0456d
5aa4635830
a8dc522a01

Reviewed By: zpao

fbshipit-source-id: 504610ab3a08841b7e8297e5b8cef6a589d57554
2019-10-03 12:56:59 -07:00
svcscm
8d4486f510 Updating submodules
Summary:
GitHub commits:

7b18a047e0
c8d9578c98
ea8fab36e5

Reviewed By: zpao

fbshipit-source-id: 5c26a12cc4de0f8ff310e434625709db07430ec1
2019-10-03 09:19:13 -07:00
svcscm
ce088b6b90 Updating submodules
Summary:
GitHub commits:

ef48199f53

Reviewed By: zpao

fbshipit-source-id: 8f9c5bd511cc9e4d8efb7f59fc43142add5a71ff
2019-10-02 23:15:44 -07:00
svcscm
0dd91952ac Updating submodules
Summary:
GitHub commits:

de0e642743
003991d664
89e9a488b6
c7f16fe90c
4313f066c1
5e24e9f89b
404f2c6bde

Reviewed By: zpao

fbshipit-source-id: ddd93aef183d3808e5f365fa20ac4855b5359122
2019-10-02 18:55:45 -07:00
svcscm
3d00166b40 Updating submodules
Summary:
GitHub commits:

ebb1f736b9
61ae5cb75b
93c3a4e239
4040bc13f6
5aa58b5c5e
395c85701a
2437de44e8
62d9741257

Reviewed By: zpao

fbshipit-source-id: 309e0a4127d6133e2d630c5bcb4e3fb50c9c1e37
2019-10-02 18:22:05 -07:00
Wez Furlong
87bce4d73d getdeps: fixup-dyn-deps: use patchelf from our manifest on linux
Summary:
On linux we use `patchelf` to manipulate dynamic deps but it
isn't guaranteed to be installed everywhere.  We have a manifest file
that describes how to build it, but so far nothing has told getdeps
that it should build it.

This diff updates the ELF dep munging code to literally run
`getdeps.py build patchelf` and then use that patchelf binary to
manipulate the object files.

Refs: https://github.com/facebook/watchman/pull/750

Reviewed By: pkaush

Differential Revision: D17705351

Pulled By: wez

fbshipit-source-id: 358ef239edb389fbd51fa023ff553963aa80b6c7
2019-10-02 17:50:52 -07:00
svcscm
d975834004 Updating submodules
Summary:
GitHub commits:

f4b878d907
17cd1d8ea8
9e4913ce9d
69913e59b9
4e97c6455e

Reviewed By: zpao

fbshipit-source-id: ab20dc5aabe5264d3feda8cb70d0f210e7084e60
2019-10-02 17:50:51 -07:00
svcscm
5a4383ba2e Updating submodules
Summary:
GitHub commits:

5992cd2c10
2f06c17f71
ac20ad02b0

Reviewed By: zpao

fbshipit-source-id: e2d93ed5caf1c9049c884b670c6adabfa8ae1851
2019-10-02 15:29:48 -07:00
svcscm
758d0ce5b8 Updating submodules
Summary:
GitHub commits:

14af374034
f8f6cbce19
36043b390e

Reviewed By: zpao

fbshipit-source-id: a58fa7110b6c390235982bb64aa57e4db76685f6
2019-10-02 14:07:15 -07:00
svcscm
e804f5277f Updating submodules
Summary:
GitHub commits:

be4a3034dd
19e3fe0c5e
d6cd413097

Reviewed By: zpao

fbshipit-source-id: f993f7bb8dee7fee7fcca9897d92720af35144cc
2019-10-02 12:56:17 -07:00
svcscm
f4fb9de21b Updating submodules
Summary:
GitHub commits:

df012bf428
74f8b5e0b1
a2800f5ac9
31744e5353

Reviewed By: zpao

fbshipit-source-id: ade6e8199886a7cd8d50e5045f5325be961fd835
2019-10-02 12:53:28 -07:00
svcscm
62bb1cd920 Updating submodules
Summary:
GitHub commits:

bc1d8a605c
84d3e7a84f
95d02afb2b

Reviewed By: zpao

fbshipit-source-id: 22012324091072cae7109817c7c7b451338e3c06
2019-10-01 16:23:33 -07:00
svcscm
40c4894d9c Updating submodules
Summary:
GitHub commits:

d0e76dbb30

Reviewed By: zpao

fbshipit-source-id: 44a11090ba7361c98016317d88e1f5d9ad945053
2019-10-01 13:14:01 -07:00
svcscm
89203fa688 Updating submodules
Summary:
GitHub commits:

fbe05ebe31
c9033cff9a
48244af68d
a302b103ad
d451a3e069
f8b1017964
4f4222ca20

Reviewed By: zpao

fbshipit-source-id: 894c6b93cf1a05f0348ff7f45c9cbb32ccfe4f9b
2019-10-01 10:08:16 -07:00
svcscm
a2451c9bc8 Updating submodules
Summary:
GitHub commits:

0af071ad7f
dd99546c08
280ed60966
d256462064
1557482fab
c0d337e6ab
4f3fdb3448
b93a13f45d
87559ce4fd

Reviewed By: zpao

fbshipit-source-id: 75067746b9ca1e09d1666d3fc58e249703683daf
2019-10-01 09:35:52 -07:00
Adam Simpkins
659b6a6bf6 getdeps: add manifests for pexpect and python-ptyprocess
Summary:
Add a manifest to download pexpect-4.7.0 from PyPI, as well as its ptyprocess
dependency.

Reviewed By: wez

Differential Revision: D17669618

fbshipit-source-id: 13395ec07f503f39adb3dc5aa8d0c2d8d0f1d927
2019-10-01 08:44:09 -07:00
Adam Simpkins
f3c38287da getdeps: update the python wheel builder to support dependencies
Summary:
Correctly emit dependency information when one Python package depends on
another.

Reviewed By: wez

Differential Revision: D17669620

fbshipit-source-id: f51c7851470fe50dc0c17263c94c4d858d6e0921
2019-10-01 08:44:08 -07:00
svcscm
e226e2d180 Updating submodules
Summary:
GitHub commits:

dea91b898f

Reviewed By: zpao

fbshipit-source-id: db0b5e81d57a2bf0aa65c838f2262a34b08bcb58
2019-10-01 08:17:29 -07:00
svcscm
058a6297cc Updating submodules
Summary:
GitHub commits:

97512e6487
b473f522e8
5cf3c6ce67

Reviewed By: zpao

fbshipit-source-id: 6891411486895c7e9ec15b6ee722d3f39195868c
2019-09-30 19:23:48 -07:00
svcscm
24340a3b41 Updating submodules
Summary:
GitHub commits:

00a327cd50
e984df45f4
3f3ca98508
a46b22b891
5199ae5b8d
ffba445549
e82b986c72

Reviewed By: zpao

fbshipit-source-id: d1ceda5c5811733f7072ad78ceeb4ad4671da9f8
2019-09-30 18:57:14 -07:00
svcscm
6b34002d0c Updating submodules
Summary:
GitHub commits:

4e3a9afad9
f797bb2354

Reviewed By: zpao

fbshipit-source-id: 5fb940bfecc8e6169ef9c34089ac356c1a95b8a4
2019-09-30 17:28:51 -07:00
svcscm
a77310f294 Updating submodules
Summary:
GitHub commits:

fb068fa1ce
5f88b1eba3

Reviewed By: zpao

fbshipit-source-id: ecdf5f0440062c76be2d5a55b851f9876be0f184
2019-09-30 16:57:13 -07:00
svcscm
27c57bdfcb Updating submodules
Summary:
GitHub commits:

093c944208
4e178389cb

Reviewed By: zpao

fbshipit-source-id: 771760358e1a271e5a2496ff639a8d2a7efa9948
2019-09-30 16:19:37 -07:00
svcscm
3c8620ebfb Updating submodules
Summary:
GitHub commits:

8509e9af03

Reviewed By: zpao

fbshipit-source-id: a1ec70338bb4c2484fad24d26377588e1606c285
2019-09-30 15:34:28 -07:00
svcscm
79246126e6 Updating submodules
Summary:
GitHub commits:

51e2bb943f
51413e0a85

Reviewed By: zpao

fbshipit-source-id: 9f5de4b69be93dc3ae885b88105c51f4b97e147d
2019-09-30 14:29:25 -07:00
svcscm
7dba07936b Updating submodules
Summary:
GitHub commits:

b799d6f795
026932b5c4
237f527ac0
e22eb3fe40
99497b877d
5a0f319100
04ddba15c9

Reviewed By: zpao

fbshipit-source-id: 7bf0661d24ec0d96bcba7678311da51122483592
2019-09-30 14:15:37 -07:00
svcscm
b80abce122 Updating submodules
Summary:
GitHub commits:

1fb7f02b54
bd3ecc8802
bba449009e
ed6a430252
c424e3f96c
69c4ccb970
b2391c97f1
a60a913434
3acc78766c
913d5a6189

Reviewed By: zpao

fbshipit-source-id: c66ed9da645f33b811e94106b3de49a5e7af0641
2019-09-30 13:10:21 -07:00
Luca Niccolini
9cb04a3144 add gperf manifest
Reviewed By: dddmello

Differential Revision: D17642516

fbshipit-source-id: 5e9820df831fd907c97fab1238b38712ce2f6e64
2019-09-30 12:17:08 -07:00
svcscm
451dda0c79 Updating submodules
Summary:
GitHub commits:

27fdeffd7c
c23006a21c
217709ff45
3d71ccb141
e9395af05b
2e516ba16a
a78fcc51e4

Reviewed By: zpao

fbshipit-source-id: 3ccf71f58ea6de7ef897be981df02e2eec4d290b
2019-09-30 12:17:08 -07:00
svcscm
77965e0aa0 Updating submodules
Summary:
GitHub commits:

fff8f73ce7
4081fb9272
c6e6dff1e9
941e49f59b
17d9c5e006
c5db605702
e6e46fe490
642c3e1627
3d11c539cd
0d7da7c36f

Reviewed By: zpao

fbshipit-source-id: b817e19167517a26a7b4663cc69dcada07ae3021
2019-09-30 11:28:32 -07:00
wez@fb.com
f78a2b90fd getdeps: update run_cmake.py to also support running tests
Summary: Add a `--mode=tests` behavior for invoking `ctest`

Reviewed By: simpkins

Differential Revision: D17610033

fbshipit-source-id: 6284fe1dbfb7adf38a67820c842a5531eefd72fa
2019-09-30 10:46:19 -07:00
wez@fb.com
5293f4631b getdeps: add an add_fb_python_unittest() function
Summary:
Add a function for defining Python unit tests.  This creates the test
executable, and also emits logic to perform test discovery for ctest.

Reviewed By: simpkins

Differential Revision: D17610034

fbshipit-source-id: cdf15b0b04acc1d3e906a1e2a95eb327951176ba
2019-09-30 10:46:18 -07:00
wez@fb.com
76de96dacf getdeps: export a property that contains the path to the output executable
Summary:
Export a property that indicates the path to the test executable.  This is
useful for callers that want to install the binary or run it from other CMake
rules.

Reviewed By: simpkins

Differential Revision: D17647146

fbshipit-source-id: b32e2694e44a07d7c234e53a7a5c8443cb144487
2019-09-30 10:46:18 -07:00
svcscm
8be26f9d31 Updating submodules
Summary:
GitHub commits:

c77641cc34
85799633aa

Reviewed By: cdelahousse

fbshipit-source-id: 040e5289870d24cb0c08500c7aebe0ee5fa14990
2019-09-30 10:46:18 -07:00
svcscm
c3ee1c42e3 Updating submodules
Summary:
GitHub commits:

fc4158c0bd
e91ece891b

Reviewed By: cdelahousse

fbshipit-source-id: f1cccee94a972b6a6a899c631c892755eab15d4b
2019-09-29 20:22:32 -07:00
svcscm
83917b95ee Updating submodules
Summary:
GitHub commits:

661419ea85

Reviewed By: cdelahousse

fbshipit-source-id: e2988662574f04470a0ca12b7144d7703fd5f81e
2019-09-28 21:22:49 -07:00
svcscm
2c47137a27 Updating submodules
Summary:
GitHub commits:

e305694f96

Reviewed By: cdelahousse

fbshipit-source-id: bc1c5caaafc80e6ad5f7d5dc4990da9d0ce80b61
2019-09-27 20:43:36 -07:00
svcscm
19f8d0953b Updating submodules
Summary:
GitHub commits:

3d4443b2f8

Reviewed By: cdelahousse

fbshipit-source-id: 49a90116853cda894b173861d80c58360c46d91e
2019-09-27 16:06:19 -07:00
svcscm
db64bce681 Updating submodules
Summary:
GitHub commits:

a27ffe537e
e575bf3958
b6904a0c7c
e3739e5bec

Reviewed By: cdelahousse

fbshipit-source-id: 37bd1e1b730dbeb21bc300ecbe271a64d771afea
2019-09-27 15:38:38 -07:00
svcscm
989a23cab8 Updating submodules
Summary:
GitHub commits:

b73bf8c14b

Reviewed By: cdelahousse

fbshipit-source-id: 3a5abcf9e657a842b96305adad233d0093f3a089
2019-09-27 07:42:58 -07:00
svcscm
28b1420fe7 Updating submodules
Summary:
GitHub commits:

6c378bf16d
f636844171
34d7ca38cc

Reviewed By: cdelahousse

fbshipit-source-id: 42c63ea45383b6e777575615804edb3e6b025d9b
2019-09-27 07:14:58 -07:00
svcscm
5ffeb68700 Updating submodules
Summary:
GitHub commits:

b6b5955e72
99ef0247c0
017ffed361

Reviewed By: cdelahousse

fbshipit-source-id: 03030b2472aafa7b8eee8eb35841c4ade5dad084
2019-09-26 23:35:32 -07:00
svcscm
ffb3d58408 Updating submodules
Summary:
GitHub commits:

d9c8d3cd09

Reviewed By: cdelahousse

fbshipit-source-id: f67179a8abd29dabc87ae3687ca882b1da5371b0
2019-09-26 20:15:04 -07:00
svcscm
eacde87465 Updating submodules
Summary:
GitHub commits:

888d3b3be9

Reviewed By: cdelahousse

fbshipit-source-id: 8cb9b9c30d44562450554de283270f1f6f047652
2019-09-26 18:55:34 -07:00
svcscm
053b9d4c21 Updating submodules
Summary:
GitHub commits:

e33f2fe68f
f25f6f4101
8c5eacf758
ae45835703
661db3896e
aa25d200c1
ad7794b41e
bc23c7482b

Reviewed By: cdelahousse

fbshipit-source-id: fe12edaf711ddaa40c9a04dfb103905e7ed6603f
2019-09-26 18:43:28 -07:00
svcscm
f81d5658e3 Updating submodules
Summary:
GitHub commits:

d3f8fa3918
76e951dbb1

Reviewed By: cdelahousse

fbshipit-source-id: fdb8c001270f3d24462c93a4ff7026f37d3b9743
2019-09-26 17:11:02 -07:00
svcscm
4e59ce3024 Updating submodules
Summary:
GitHub commits:

62e24e7b92
0c836629cf

Reviewed By: cdelahousse

fbshipit-source-id: 0b80e964b402bfac849d185ba160de43f9b4ac79
2019-09-26 15:00:50 -07:00
svcscm
031c947c7b Updating submodules
Summary:
GitHub commits:

cc165a7af4
25efe31912
db34e2d029
a3cee8134b
24e8913582
95805b6b6c
9df7ce2a7b
5ca37848e1

Reviewed By: cdelahousse

fbshipit-source-id: e1b18b0c9b898f0b0d1b402a517af418eedacafe
2019-09-26 15:00:50 -07:00
svcscm
d3fd1a1960 Updating submodules
Summary:
GitHub commits:

db831b2d3e
2aa077524e
163263056a
7ca9aaf210

Reviewed By: cdelahousse

fbshipit-source-id: b1ad235dc9fd8eb101976b5e97a8640df08efc2e
2019-09-26 10:44:31 -07:00
svcscm
15dde00fb2 Updating submodules
Summary:
GitHub commits:

f1fe2fe958

Reviewed By: yns88

fbshipit-source-id: 97c74ca7c3636f403761894019b48840c61fad6c
2019-09-25 18:27:53 -07:00
svcscm
73986ea2f4 Updating submodules
Summary:
GitHub commits:

1d75567cb3
5b44bbc0c3
3407ff7f18
4ace4b5c21

Reviewed By: yns88

fbshipit-source-id: 43f994449ae5223ebec31c00f7ed19585c77f789
2019-09-25 15:28:57 -07:00
svcscm
ad930efa69 Updating submodules
Summary:
GitHub commits:

be9d7cf5c6
9e54e0c681
3afd7703fb
ead09ba9ca

Reviewed By: yns88

fbshipit-source-id: 2cf7b9bf74b964ead962dcd4d43da5f03a458f06
2019-09-25 14:02:59 -07:00
svcscm
76c4cdc3c1 Updating submodules
Summary:
GitHub commits:

8f459f897c
a630628232
96ddeb5dfc

Reviewed By: yns88

fbshipit-source-id: fc0b94425f05f532a0ebda1de3d96121612df04c
2019-09-25 12:27:44 -07:00
svcscm
76d810b664 Updating submodules
Summary:
GitHub commits:

966dbc1ce4

Reviewed By: yns88

fbshipit-source-id: b449ba2557191342fe86de53023c3f34dd48bf8b
2019-09-25 09:38:33 -07:00
svcscm
bc4ebc265b Updating submodules
Summary:
GitHub commits:

646d07e332
2c406202f2
6652c94f59

Reviewed By: yns88

fbshipit-source-id: 84be4822d75f34a98f30b006348d874857443b68
2019-09-25 00:29:03 -07:00
svcscm
fd3d132935 Updating submodules
Summary:
GitHub commits:

f9bbdeb0bb
59c430137a
fff74a54de
6d65bdb63c
cd38f1b7df
be0be14a4f
7ce91ed762
edb4102001

Reviewed By: yns88

fbshipit-source-id: d346086ba0a2dc4ef0addf2f6e5978f17012e617
2019-09-23 23:34:28 -07:00
John Strizich
5d31c31b01 adding openr to this framework
Summary:
this adds `oss-openr-linux-getdeps` to diffs affecting files under openr. With soma going away and the old fbcode_builder job disabled, this will give us the signal we need to keep the cmake build healthy.

[Some Info on Getdeps](https://our.intern.facebook.com/intern/wiki/Test_your_Open_Source_build_with_getdeps.py/)

Michael, this change may require you to bump up some of the dependent libraries and build them with cmake if not already. The main changes to the cmake script are around using package configs instead of `find_library`

Also, for those with more CMake experience: since there are some big changes in the `CmakeLists`, feel free to pour on more suggestions on how I could make it better and more aligned with other facebook OSS

Reviewed By: saifhhasan

Differential Revision: D16010068

fbshipit-source-id: 66f914f1971f826e0868c4130839380639a7e44b
2019-09-23 22:56:15 -07:00
svcscm
e4cbdd3312 Updating submodules
Summary:
GitHub commits:

58e9ff2bdb
fe27c25342
8612cb7cef

Reviewed By: yns88

fbshipit-source-id: fca20855be861ab620772b13e9a29ed4ea048857
2019-09-23 22:56:14 -07:00
svcscm
0b120a0bd7 Updating submodules
Summary:
GitHub commits:

bfa706ae83
171c48e8ba
064b6bd7a4

Reviewed By: yns88

fbshipit-source-id: 7bb7132823b6f826b1578c2f84a92864e3d4da32
2019-09-23 17:01:01 -07:00
svcscm
ed4f7c6e40 Updating submodules
Summary:
GitHub commits:

e1d8e5ef54
02554b3c38
7c578e2d98

Reviewed By: yns88

fbshipit-source-id: d99b9229c7ec40ae4e4f485ad0213d2b8ee713a7
2019-09-23 15:44:08 -07:00
svcscm
30f606928d Updating submodules
Summary:
GitHub commits:

b2c6231e6c
98e63e8ad7
e2694bad51
eb33665e24
2367656b6c
6c5f93e5e8
9fcdf8931b

Reviewed By: yns88

fbshipit-source-id: fe26f9754833de0d74fc5b0c85724d45c2bb346a
2019-09-23 15:22:29 -07:00
svcscm
861e334cb4 Updating submodules
Summary:
GitHub commits:

05b8b22f72
ba5203b90f

Reviewed By: yns88

fbshipit-source-id: 388b22d8394eeee981f5d355384173738273d9e6
2019-09-23 11:54:41 -07:00
svcscm
d03209bd38 Updating submodules
Summary:
GitHub commits:

d206e89382
18a752d995
42f898bf83
46afad2c1f

Reviewed By: yns88

fbshipit-source-id: eeec80654d08f46e5e0cdfbcfbed20859b303203
2019-09-23 09:44:06 -07:00
svcscm
c4609d0989 Updating submodules
Summary:
GitHub commits:

8c06359c71
4090f37f3a
fb322554b8

Reviewed By: yns88

fbshipit-source-id: d4ec7391df57c74dde25b1e8538b76e71505a1ab
2019-09-23 09:08:27 -07:00
svcscm
1b1ad5e060 Updating submodules
Summary:
GitHub commits:

2f9839604e

Reviewed By: yns88

fbshipit-source-id: 97cba199b1c6d266d48beca5c160be6d5a3119b8
2019-09-23 07:25:23 -07:00
svcscm
77e9e2d52e Updating submodules
Summary:
GitHub commits:

3c228503b5
36f3ec8cfc

Reviewed By: yns88

fbshipit-source-id: 5fa58fe0069336567537a30502c5a1ca86a96cbc
2019-09-22 10:22:22 -07:00
svcscm
a536ad06e8 Updating submodules
Summary:
GitHub commits:

6f5002f0b5

Reviewed By: yns88

fbshipit-source-id: bee95268c17dbda663a1e32e95222e04faebdcb6
2019-09-21 10:13:25 -07:00
svcscm
3b829bb00e Updating submodules
Summary:
GitHub commits:

21ef6dc062

Reviewed By: yns88

fbshipit-source-id: c0522f77159dea6494dcd69343f2ea946e7f0d40
2019-09-20 18:22:04 -07:00
svcscm
48969d5aa6 Updating submodules
Summary:
GitHub commits:

08853b5fb6
481b198d95
571f3268a9
f4cbe3c5b0
5ad814a610
4282cc5168
aab920b19d
dca96f2b9b

Reviewed By: yns88

fbshipit-source-id: b5964e8708953ffbbdb67a08a743c8ad9a2c2d96
2019-09-20 14:53:29 -07:00
Adam Simpkins
553d15ccd2 fbcode_builder: implement automatic project detection from the current repo
Summary:
This updates fbcode_builder to try and automatically detect the current
repository's project name by looking for a `.projectid` file in the repository
root.  If the project name can be detected:
- The current repository will automatically be used as the source directory
  for this project (instead of fetching the sources into the scratch
  directory).
- If an explicit project name was not specified on the command line, the
  current project will be built by default.

This also changes the repository detection logic to use the current working
directory, rather than the directory where the fbcode_builder code lives.
This will allow this logic to work even if we move fbcode_builder into its own
repository in the future, and have projects depend on it using git submodules.
This does mean that callers need to invoke fbcode_builder.py from inside the
repository.

Reviewed By: wez

Differential Revision: D17088938

fbshipit-source-id: f14d28fdcfaa330ff837ea52b8bdd4e358b81c61
2019-09-20 14:14:32 -07:00
Adam Simpkins
55ecbbce77 improve run_cmake.py on Windows
Summary:
Update the generated `run_cmake.py` script to use `subprocess.run()` instead
of `os.execve()`.  The `os.execve()` call doesn't really do what we want on
Windows: this causes the script to exit while CMake is still running,
resulting in confusing output.  During the build step it also did not work
correctly with `vcvarsall.bat`, and using `subprocess` also solves this.

Reviewed By: wez

Differential Revision: D17493897

fbshipit-source-id: e0477627fc1824b0efcb1fa5a782d207853bcae8
2019-09-20 14:09:44 -07:00
Adam Simpkins
7bb6c2a19e fix calculation of whether a project is cachable
Summary:
Never cache first-party projects that use ShipIt.  Previously the code checked
the `shipit_fbcode_builder` property, which controlled whether or not
the `fbcode_builder` sources should be included in the project's ShipIt
mapping.  This setting is enabled for most but not all projects that use
ShipIt.

This resulted in projects that use ShipIt but that do not include the fbcode
builder sources being incorrectly cached.  This caused getdeps.py to not
run the SimpleShipitTransformerFetcher properly when their sources changed.

Reviewed By: wez

Differential Revision: D17493522

fbshipit-source-id: 57be5ac94ae44f56ccb3ce60ba23fac5d68bce0f
2019-09-20 14:09:44 -07:00
svcscm
9f983bae37 Updating submodules
Summary:
GitHub commits:

5cbfb376fe
a0137c5910
e8263dbdaa
3731ad3747
823870576a
af940b2412
39f9ff8e2f

Reviewed By: yns88

fbshipit-source-id: f94595d874a0a672b38a36dc66d345d9cd4a3e2d
2019-09-20 14:09:44 -07:00
svcscm
0e08f70c4f Updating submodules
Summary:
GitHub commits:

7df419218f

Reviewed By: yns88

fbshipit-source-id: 036c6030724373b9a1879ba67a6bc73560f5c7e6
2019-09-20 11:38:35 -07:00
Adam Simpkins
40ab42dc42 the edenfsctl program depends on python-toml
Summary:
Update the getdeps manifest and Eden's CMake files to indicate that the
edenfsctl program depends on python-toml.

Reviewed By: chadaustin

Differential Revision: D17401215

fbshipit-source-id: f512678d8bca9c7b2b4d25bf9c3ecd7eed825de9
2019-09-20 11:36:13 -07:00
Zeyi (Rice) Fan
be7a6f58be getdeps: move manifests
Reviewed By: simpkins

Differential Revision: D17403339

fbshipit-source-id: 2a6b2eb073d54e080f6a313948afd2815f58bba9
2019-09-20 11:17:35 -07:00
svcscm
3944ab57e8 Updating submodules
Summary:
GitHub commits:

64be2f7f7e
ac0c0b48cc

Reviewed By: yns88

fbshipit-source-id: 2f99558ab2c5e2bbe418265212e18842df96b138
2019-09-20 10:20:21 -07:00
svcscm
78a2fd570b Updating submodules
Summary:
GitHub commits:

3a5914c62d
a1b4ed7fed

Reviewed By: yns88

fbshipit-source-id: f47081a8ffc343a295c1d52c84bcac236cbff06c
2019-09-19 21:56:29 -07:00
svcscm
b6f02a0707 Updating submodules
Summary:
GitHub commits:

16175508aa
9632ef764f
711ef2e9a7
ba044b5553
c72922b25d
3c6c8608f6
6a6bb4b52d

Reviewed By: yns88

fbshipit-source-id: d5b56eba2ccf86c645894c40a76966abdb58631b
2019-09-19 16:43:31 -07:00
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