Commit Graph

1631 Commits

Author SHA1 Message Date
svcscm
0608448c58 Updating submodules
Summary:
GitHub commits:

843b1cb701
76a9f07723
ea59d20d9c
aef5dd9e25
8b4a8682e3
6c378a0eab
95b6ef6d62
93dba83ff0
dcf917ff81
586bc1d67c
0457b02715
5a92ba8c83

Reviewed By: jurajh-fb

fbshipit-source-id: 092941470dca12a826d616ec73f8c14fd0bc0e48
2020-05-06 10:44:37 -07:00
Wez Furlong
21821e2bc6 getdeps: fix builds with cached project downloads
Summary:
D21364132 accidentally broke this; we can't run the fetcher
for projects for which we pulled the build out of cache, because there
is no source to update in that case.

This commit adjusts the logic so that we write out a marker file
to indicate that we installed a build from cache and to look for
that file being present to gate the new update logic.

Reviewed By: lnicco

Differential Revision: D21419122

fbshipit-source-id: 304670848add22531d88549d66f22c40ff255140
2020-05-06 09:22:49 -07:00
svcscm
e8eb164b55 Updating submodules
Summary:
GitHub commits:

c6514eb5c2
15c99b4b6b
c1e80e6455
e79f66edfe

Reviewed By: jurajh-fb

fbshipit-source-id: 3c83129be5e50c44705a3d975e571e9110f6dc32
2020-05-06 05:46:59 -07:00
svcscm
3f0760427f Updating submodules
Summary:
GitHub commits:

8eb845b08d
40f530d566

Reviewed By: jurajh-fb

fbshipit-source-id: d73a0ab8a9ab28196e88b40bb31fe93bf20378ba
2020-05-05 23:36:14 -07:00
svcscm
ffc1ff373a Updating submodules
Summary:
GitHub commits:

ca3fc479ed
c21c459771
7ab262586c
be20f1c25c

Reviewed By: jurajh-fb

fbshipit-source-id: 03c4364247da35b714e50c2f0253f9bb0c63e77f
2020-05-05 20:21:21 -07:00
svcscm
377be3ddbb Updating submodules
Summary:
GitHub commits:

6ad92107a5
911311aba9
11f49c1469
ca296a862e
481d507212
354bb79e06
fb0e5fd94b
84c9b9c565

Reviewed By: jurajh-fb

fbshipit-source-id: 25f72385b08f151b4d2af9bb65d7af410842ee18
2020-05-05 19:00:09 -07:00
svcscm
a5d3bbc25e Updating submodules
Summary:
GitHub commits:

c230732e3f
2829163852
32215b0c25
394f2bbd13

Reviewed By: jurajh-fb

fbshipit-source-id: 72de1d434eee60afd38134ad367d452c69d3494f
2020-05-05 15:48:06 -07:00
svcscm
cdf03496b7 Updating submodules
Summary:
GitHub commits:

e5627af768
2f1700c8c5

Reviewed By: jurajh-fb

fbshipit-source-id: 894daf4bcb2939deb9709ba86887665a5e449a94
2020-05-05 14:33:22 -07:00
svcscm
70a5e0e788 Updating submodules
Summary:
GitHub commits:

6489eda488
633e1d7e3a
1797e36654

Reviewed By: jurajh-fb

fbshipit-source-id: d7ecf0c4f20e4dfdc9df3becf3a35c83757b58e4
2020-05-05 12:53:11 -07:00
svcscm
437d84726c Updating submodules
Summary:
GitHub commits:

3091f9dd0a
e5c563487b
449f3c089d
91bc0130fa
00e6af0887
42a643e797

Reviewed By: jurajh-fb

fbshipit-source-id: 5b656cd437a210119c7f5645f138971d96b3c542
2020-05-05 12:17:03 -07:00
svcscm
3b8c8b4680 Updating submodules
Summary:
GitHub commits:

1972a4b5c2
1cd11098a9

Reviewed By: jurajh-fb

fbshipit-source-id: 5ffb2e9251741c8db314dd2038796fc5d9abb951
2020-05-05 08:02:49 -07:00
svcscm
69006edc25 Updating submodules
Summary:
GitHub commits:

886a2a4651
313dba04bb
b809094278
14efec15bd
ca0252fe54
d25d21b400
f59693dbbc
61f194f57b
659027363b
9ebed36edf
dfdbb41163

Reviewed By: jurajh-fb

fbshipit-source-id: c5902f7e09d4106d16fb72e51b37099c2da192f9
2020-05-05 06:57:49 -07:00
svcscm
e130a8a8e3 Updating submodules
Summary:
GitHub commits:

79730fef2d
c5f5dc0071
2bf5443abd
7c383d4e61
d2b3dbf4f9
ce326f3523
a8053d8d0d
f2c6d7c349
f289daa8f3
43fdf5c767
fb0bffd5aa
8369f9d9b3

Reviewed By: jurajh-fb

fbshipit-source-id: 0885170ab34e4c0e096ba8f7b7078a05432faacb
2020-05-05 05:07:53 -07:00
Lukas Piatkowski
2da413da3e mononoke/opensource: temporarily remove mononoke manifest
Summary: The oss jobs are causing problems to the developers now, lets disable them temporarily.

Reviewed By: StanislavGlebik

Differential Revision: D21400898

fbshipit-source-id: f7a3567056633d9eef98a8d05a37cd029c9e506c
2020-05-05 04:20:42 -07:00
svcscm
659ecb4858 Updating submodules
Summary:
GitHub commits:

e2fba1fdf9

Reviewed By: jurajh-fb

fbshipit-source-id: 0cd1a9fad1773d95e69b53b6f2915f1bdb251bdc
2020-05-05 03:46:42 -07:00
svcscm
1d3f0f51b6 Updating submodules
Summary:
GitHub commits:

6fad3d5a80

Reviewed By: jurajh-fb

fbshipit-source-id: 630ed9b37a10e2a4f20f4b021d0c4c271fceb10a
2020-05-05 02:47:03 -07:00
svcscm
b9d6b776c0 Updating submodules
Summary:
GitHub commits:

2cabf118d2
cc70355a12
e53b3cc393
6f06ca6645
9cb9ae7ec8
d7f6c7d3eb
7d8f6d9e81
000f8ae8eb
a0bcb01daa
e7144be352
6ca7ea7e92

Reviewed By: jurajh-fb

fbshipit-source-id: 0e913373d6594492fbe249455754d36d70e3c9ab
2020-05-04 22:11:13 -07:00
svcscm
eb1e7f0597 Updating submodules
Summary:
GitHub commits:

2e48429390
faf91ce01f
89e187d839
257e071629
79952c99f2
5a61e7864d
eddb225388
93403f13b7
d21b67d26d
fedb9fe464
34b8b26990
26ffeccf3e
c0db94e58f

Reviewed By: jurajh-fb

fbshipit-source-id: 94972f903e6fe8e28f857572aceb001fb788eb80
2020-05-04 20:32:25 -07:00
Wez Furlong
8dd0a11354 getdeps: fix an fbsource invalidation problem
Summary:
When the commit hash changed in fbsource, we would correctly decide
that we'd need to rebuild first-party projects but we would incorrectly skip
running the fetcher.update method.  This would mean that we'd not perform the
shipit run and that our shipit tree would diverge from the source tree.

This commit resolves this by performing the fetcher.update but ignoring
the source update status in this case.

Reviewed By: xavierd

Differential Revision: D21364131

fbshipit-source-id: b4001e549c7d3f27aa4a21b19893c9bb7c0f6d1f
2020-05-04 17:44:48 -07:00
Wez Furlong
decc0228b5 getdeps: improve build invalidation for dependencies
Summary:
We didn't do a great job of recognizing that we'd need to
build a project when one of its dependencies had changed: we relied
chiefly on the dependency hash for this and could fail to handle
changes in individual source files.

This commit helps to improve this situation by checking to see if
any installed files in the dependencies of a manifest are newer than
the most recent built time of a given manifest.  If so, we'll trigger
a build.  We try to be reasonably smart about deciding when to trigger
a cmake reconfigure if it looks like cmake files in the deps have
been changed.

Reviewed By: xavierd

Differential Revision: D21364132

fbshipit-source-id: 7534496e10d1f532aa9cf865900ace84a8785327
2020-05-04 17:44:47 -07:00
Wez Furlong
83d470aa9e getdeps: refine makefiles matcher for cmake reconfigure
Summary:
Only run cmake reconfigure for .cmake, .cmake.in and CMakeLists.txt
files changes.

Previously we would reconfigure for any change to a file with a path that
matched `cmake` which could result in false positives in cases where
you may be iterating on .py or .c files in shared cmake directories.

This also reclassifies non-cmake files under fbcode_builder/CMake as source
files so that we run cmake for those; previously they would cause a
reconfigure and build, now they just cause a build.

Reviewed By: xavierd

Differential Revision: D21364133

fbshipit-source-id: a1231f657d6c6056b269656c677d3449d8715cf6
2020-05-04 17:44:47 -07:00
Wez Furlong
482cf97da6 getdeps: code formatting
Summary:
Our linter really wants to include formatting changes unrelated
to my diff stack.

This is a formatting only change to avoid clouding my diffs; no functional
effect.

Reviewed By: xavierd

Differential Revision: D21364519

fbshipit-source-id: 7670dd4154e788f593f256aabdfdeef6d17aeec4
2020-05-04 17:44:46 -07:00
Adam Simpkins
e955b6dabc getdeps: avoid blowing away too much data when invalidating the CMake cache
Summary:
Previously getdeps would remove the entire top-level `CMakeFiles` directory
from the build output when it wanted to invalidate the CMake cache.  This
directory is used to keep all of the compiled object files for any libraries
or executables defined in the top-level CMakeLists.txt file.  Blowing away
this directory forces all of these sources to be re-compiled, even if this was
not necessary.  This is particularly problematic for folly, which compiles all
of its source files via rules in the top-level CMakeLists.txt target file.

I did have the code still blow away the CMake error and output logs in this
directory: in the past I have seen situations where CMake would not update
these files on new CMake runs if they already existed.

Reviewed By: wez

Differential Revision: D21360668

fbshipit-source-id: 6fcd1a8e371d756114fbab60d8636be8cd5f8978
2020-05-04 17:19:07 -07:00
Adam Simpkins
3b280eff95 getdeps: indicate that folly depends on lz4
Summary:
Update the manifest file for folly to indicate a dependency on lz4.
folly does not require lz4 be available, but it will use it if it is found at
configure time.

getdeps is unfortunately not strict about providing projects only with the
dependencies that they require at build time.  This causes it to sometimes
make lz4 available to folly (if you are also building another project that
requires lz4), and sometimes not.  This ends up causing changes in
folly-config.h depending on which projects you are building, forcing all of
the folly sources to be recompiled.

In the future we perhaps should update getdeps to consistently only pass in
include directories for dependencies actually listed in the manifest file.
However, specifying that folly depends on lz4 also works to mitigate this
particular issue for now, and it is also generally desirable to build folly
with lz4 support.

Reviewed By: wez

Differential Revision: D21359995

fbshipit-source-id: aaf61671b7750d6c47e3613c732d220b3311b5ba
2020-05-04 17:19:07 -07:00
svcscm
99b73b16b1 Updating submodules
Summary:
GitHub commits:

cb3d30c578
7c33a1c9c5
a00ddf1574
f41d462eed

Reviewed By: jurajh-fb

fbshipit-source-id: 11255fe3f50166a0c370f60d622b598c96b61976
2020-05-04 17:19:07 -07:00
svcscm
e1758e6868 Updating submodules
Summary:
GitHub commits:

d7d48e4762
ef6bc9338b
8912f0385a
680c416348
d83d7f3024
b7716f3b23

Reviewed By: jurajh-fb

fbshipit-source-id: 2f68cd7ab7c415b3d0bca21d71e0da7ca58dc708
2020-05-04 15:16:41 -07:00
svcscm
faf7d23534 Updating submodules
Summary:
GitHub commits:

613e4a315f
1ed4765e85
8316ff391f
61c5215f84

Reviewed By: jurajh-fb

fbshipit-source-id: efc13fd712fd33fd1b451693ffbf50212edeb34d
2020-05-04 10:50:59 -07:00
svcscm
ea6490063c Updating submodules
Summary:
GitHub commits:

adc6e75705

Reviewed By: yns88

fbshipit-source-id: beb89e5127c1ecdc7e08b780736eb1c397b8312c
2020-05-04 03:24:30 -07:00
svcscm
4ef0800822 Updating submodules
Summary:
GitHub commits:

95e8b8f31b
0580a039d7
7f9294015c
efd513c0f5
09d0aec9f2
83d98acd03
91f87afd70
689facf2b8
9c0e731f65
8038d05e74

Reviewed By: yns88

fbshipit-source-id: 8757fb3c1d5303094bd02632de5e0a8392ed9eed
2020-05-04 03:24:29 -07:00
svcscm
73730d6d4c Updating submodules
Summary:
GitHub commits:

c518e9eccf

Reviewed By: yns88

fbshipit-source-id: c8553c86fbac2538155bdb7f69b8f560fa788a1b
2020-05-03 18:33:17 -07:00
svcscm
533605c017 Updating submodules
Summary:
GitHub commits:

ecef50e946
c7b3288dff

Reviewed By: yns88

fbshipit-source-id: d8eeea1aae0589ac5a471ca6ae3fdf4afe26d53f
2020-05-02 21:16:54 -07:00
svcscm
c9b0f44e11 Updating submodules
Summary:
GitHub commits:

a17dbae5c9
ca2ec4f682
dc3aebd961
b7d7b13ebe
9cd90d3b3b
ddbb420f52

Reviewed By: yns88

fbshipit-source-id: de39b297d9b74b0c4ef0588e2ad002ac21fea375
2020-05-02 15:11:41 -07:00
svcscm
b3e00d0fe3 Updating submodules
Summary:
GitHub commits:

b6dda66386
094f932779

Reviewed By: yns88

fbshipit-source-id: 4c3badd4af6ece45cdd3f06fe3fbca71f660e16b
2020-05-01 20:00:06 -07:00
svcscm
dc5e180b39 Updating submodules
Summary:
GitHub commits:

f9f0f138c4
af4d41c481
5b7f096980
70a1e73eff
a20ed3f2c2
43d0e4e89c
126f25bd8e
e378c28486
061ca36e2d

Reviewed By: yns88

fbshipit-source-id: 4362d2f913c5f2ec4e91ed10735168ee7c72a2cb
2020-05-01 15:14:21 -07:00
svcscm
c273e891d2 Updating submodules
Summary:
GitHub commits:

7e50497ecd
5a965509c8
f2bb67b35e
98419a685b
c915fec339
8a433489a1
070902ae31
c1ff43c814
aaad412cde
b9c0014bc4
8178d4bfbc

Reviewed By: yns88

fbshipit-source-id: dd2c5451b22a7a1bd378cbd57a0b7210554d31f0
2020-05-01 14:05:47 -07:00
Wez Furlong
5537225a02 eden: enable rocksdb in the windows build
Summary:
In the initial stages of the windows port we had
problems building rocksdb on windows, so we disabled it.

These days we're able to build it and detect it--we even
require it in the cmake code, but hadn't gotten around
to telling the rest of the code that we can use it.

This commit re-enables it in the build but leaves sqlite
as the default engine until we're able to perform some
benchmarking.

Rocksdb itself has some build issues on Windows; it doesn't
use cmake to locate dependencies, so even though we built
snappy it doesn't know how to find it without modifying the
source:
https://github.com/facebook/rocksdb/blob/master/thirdparty.inc#L4

For that reason, we disable the use of Snappy in the Windows build.
However, in the version of rocksdb that we were using, it would
default to trying to use Snappy even though it wasn't compiled in
and throw an exception.

I've upgraded to a newer version of rocksdb that will simply not
use compression if no compression was enabled at build time.

Given that we mostly store relatively small objects, I'm assuming
that the lack of compression is fine for now.

Reviewed By: xavierd

Differential Revision: D21319896

fbshipit-source-id: 2a2d06d4bd5382706e9220f9b4a2de99dc18311d
2020-05-01 10:33:32 -07:00
svcscm
ee57fdd996 Updating submodules
Summary:
GitHub commits:

e141d0c936

Reviewed By: yns88

fbshipit-source-id: 77e99d5002cc5a482142ecddaedacfd336e92854
2020-05-01 08:08:46 -07:00
svcscm
e648c26999 Updating submodules
Summary:
GitHub commits:

9eb7cebbb7

Reviewed By: yns88

fbshipit-source-id: 3a4a4d757e53fb65807f4deb389b808ae39c1244
2020-04-30 23:23:27 -07:00
svcscm
c2b3c27fe6 Updating submodules
Summary:
GitHub commits:

a253b9719d
6504ae0c4e
e6a4c5a552

Reviewed By: yns88

fbshipit-source-id: 267d7c60012547549ce2750c4f6c5bd16024fdfa
2020-04-30 18:34:36 -07:00
svcscm
2520bb2887 Updating submodules
Summary:
GitHub commits:

1b7231eb04
f31381b307
afa9d0c6f8
27cfd48e16
f29c5b9944
9ea50e9599
42ac5ccf8f
213c2c603c
8e3f92113a
83a03f8292
f4f880f3d9

Reviewed By: yns88

fbshipit-source-id: ed9c38dd24821ffc25b42618da0bed1f97198fce
2020-04-30 14:34:42 -07:00
svcscm
ec650a55ab Updating submodules
Summary:
GitHub commits:

7532d7d2e4
42b07dce84
964d3c1f09
e8a222d4fa
b9ef0150dc
eecd8fba46
8cd51543bb
b49b454c2d
fe79d4028a
c62da2a205
27ed4facbe

Reviewed By: yns88

fbshipit-source-id: ac421e7e7a971db711d7edb402d077675089d022
2020-04-30 13:10:03 -07:00
Adam Simpkins
e1cbb0b482 getdeps: upgrade googletest from 1.8.1 to 1.10.0
Summary:
Upgrade to the 1.10.0 release.  This includes some new features like the
`GTEST_SKIP()` macro.

Reviewed By: genevievehelsel

Differential Revision: D21309360

fbshipit-source-id: 163db628fc99aaa786aeb207f35c7d6295cb5e25
2020-04-30 12:20:08 -07:00
Adam Simpkins
b64e91e99b getdeps: improve how run_cmake.py invokes ctest
Summary:
Update the generated `run_cmake.py` script to tell ctest to print the test
output on failure.  Also pass in a `-j` flag to run tests in parallel by
default.

These flags are already passed in by default when running `getdeps.py test`;
this simply updates this developer utility script to do the same.

Reviewed By: wez

Differential Revision: D21307806

fbshipit-source-id: 42045b0f9362494042c79bc946a1004ff8ad98b6
2020-04-30 12:07:14 -07:00
svcscm
3842881f29 Updating submodules
Summary:
GitHub commits:

2b59db7359
242186f5ff
4bf6682fe6
fe238e5438
e8cf50093e
17d9a609f2

Reviewed By: yns88

fbshipit-source-id: 3c1030ebc3768a827583b50c2d47fba494816943
2020-04-30 11:54:34 -07:00
svcscm
fa0835e1c9 Updating submodules
Summary:
GitHub commits:

b07e345587

Reviewed By: yns88

fbshipit-source-id: 393f088c43d1416d4daa4f54b26102cf9d7ac818
2020-04-29 23:47:30 -07:00
svcscm
d20afab335 Updating submodules
Summary:
GitHub commits:

328d4efc16
b6146ad460

Reviewed By: yns88

fbshipit-source-id: bf05d6b176b3e4260329b09862cc27c2aa94ef83
2020-04-29 23:12:36 -07:00
svcscm
4e3e1dc7d0 Updating submodules
Summary:
GitHub commits:

19f74a96e6
ac50e17058
2d1a80916f
b9587ed249
98b76fab50
b938e6042b
e661b714ec
7dfd2114cb
a2138b57e5
bbd7e74dd9
b2bdf8486e

Reviewed By: yns88

fbshipit-source-id: 1472de3aa441e87859255ad3a73156c180078a1f
2020-04-29 20:18:43 -07:00
Wez Furlong
69dcced778 getdeps: GH actions: strip artifacts before capturing them (#809)
Summary:
On Linux the debug info sections in projects downstream from folly and
thrift are huge due to a lot of C++ template usage.

We build in RelWithDebInfo mode as that is most useful when debugging
locally and because the build times are long, but most casual consumers
of the binaries via GH actions really don't care about debug info,
and this should save ~180MB of size in (for example) the watchman
executables.

Pull Request resolved: https://github.com/facebook/watchman/pull/809
Refs: https://github.com/facebook/watchman/issues/804

Test Plan:
Review the artifact size on the linux build in this PR (see
https://github.com/facebook/watchman/actions/runs/91688952) and confirm that it
is a bit smaller than 180MB; now under 3 MB.

Reviewed By: simpkins

Differential Revision: D21318302

Pulled By: wez

fbshipit-source-id: f78bc5e735dd78771e0604abae64c0a23cf9158d
2020-04-29 19:09:09 -07:00
Wez Furlong
61bd577f5e getdeps: fix artifact generation (#808)
Summary:
The mismatched project output settings were causing
the dyndeps fixup to fail to find any objects and thus none of
the artifacts are populated for posix platforms.

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

Test Plan:
The PR published artifacts to:

* https://github.com/facebook/watchman/actions/runs/91617994
* https://github.com/facebook/watchman/actions/runs/91617996
* https://github.com/facebook/watchman/actions/runs/91617997

Reviewed By: simpkins

Differential Revision: D21315090

Pulled By: wez

fbshipit-source-id: 60461809f55e73119f7206e3f392d5b237722f85
2020-04-29 18:45:26 -07:00
svcscm
7bf64283f8 Updating submodules
Summary:
GitHub commits:

9c46c9a4a1
ae11e2959a
48ebb4184a
43eb92d9af
bd2fdf2678
5de48576f0
28fe8e4620
eeaad4c91c
841d806bb0
5a59b5e1dd
465ca12e30
107162ff3e
9ae8592aa3

Reviewed By: yns88

fbshipit-source-id: 6500c5006c8e68e2fcaf5899aec304fa9801ccb8
2020-04-29 18:04:24 -07:00