Commit Graph

2892 Commits

Author SHA1 Message Date
svcscm
8b25d7789f Updating submodules
Reviewed By: yns88

fbshipit-source-id: e1a8f136ecb13ca44807a0946816afcb39b35129
2019-08-28 06:46:42 -07:00
svcscm
6c5bf52015 Updating submodules
Reviewed By: yns88

fbshipit-source-id: faffdd640539228a185903709ad72f1d3b9acdf4
2019-08-27 19:14:44 -07:00
Alex Eckert
c022b28460 deprecate copied stats headers that are now open sourced
Summary:
We are now using the open source fb303 stats libraries so
these locally managed headers are no longer needed.

Reviewed By: chadaustin

Differential Revision: D16969961

fbshipit-source-id: 71df4add75b045967a0087721c0b742edcabdf4d
2019-08-27 17:15:54 -07:00
Alex Eckert
badd2c8f26 break oss build dependency on fboss/common/
Summary:
All of the requisite headers are now open sourced and eden
has been converted to use them. This removes any logic that references
this directory and kills the now unused cmake file.

Reviewed By: chadaustin

Differential Revision: D16994732

fbshipit-source-id: 573b8b50540ee64590682be2a54aa94659f12368
2019-08-27 17:15:54 -07:00
Alex Eckert
850ab27d4d use facebook::fb303 instead of common::stats where possible
Summary:
Most stat code in fbcode was moved in to open source under
fbcode/fb303. The only exception that we use internally is the
MonotonicCounter class. This diff moves all of our stats code to use
the open source headers and updates cmake files to pull in the open
source fb303.

Reviewed By: chadaustin, shri-khare

Differential Revision: D16969960

fbshipit-source-id: 12b7abb54c956c242c8e27eb69fd96925c7e61f7
2019-08-27 17:15:54 -07:00
Chad Austin
4d8aaaf6ab replace StartingGate with folly::test::Barrier
Summary:
StartingGate was similar to std::barrier except that it guaranteed the
coordinating thread woke the worker threads. While this symmetry is
nice in concept, given enough threads, I doubt it pays for the
duplication.

Just adopt folly::test::Barrier (which is basically std::barrier)
instead.

Reviewed By: strager

Differential Revision: D16942136

fbshipit-source-id: 1691d8ef72b88c8867df74c8ed938f6c8d6ee094
2019-08-27 17:09:38 -07:00
Chad Austin
95fdcd29d5 flip EDEN_WIN_NOMONONOKE to EDEN_HAVE_MONONOKE
Summary: Using a positive meaning rather than a double negative makes the build a tad simpler.

Reviewed By: wez

Differential Revision: D17000782

fbshipit-source-id: ef6c7b64708aa9b1f50c7ad4086c492a90c944f4
2019-08-27 17:04:19 -07:00
Chad Austin
fcb10e77de flip EDEN_WIN_NO_RUST_DATAPACK to EDEN_HAVE_RUST_DATAPACK
Summary: Using a positive meaning rather than a double negative makes the build a tad simpler.

Reviewed By: strager

Differential Revision: D17000620

fbshipit-source-id: ff27eb8098786b8ed6ed1ba81166b51e29e62d47
2019-08-27 17:04:19 -07:00
svcscm
7f19614fc2 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 44a3f8acc05eb3d90e08fbe8dab38907e91d6000
2019-08-27 17:04:18 -07:00
svcscm
0b04b66ba1 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 6153522beb6219af9ff580f168c36eb86a1e702b
2019-08-27 11:23:39 -07:00
svcscm
e3ffb47536 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 33daf8eab1b2bc66635f8566168e80744fc152c9
2019-08-27 11:23:38 -07:00
svcscm
cb4a5859fc Updating submodules
Reviewed By: yns88

fbshipit-source-id: 3b2e2726a560c80941f394f3c77d63780e54efc1
2019-08-26 22:07:30 -07:00
Chad Austin
b7caa4fb5a remove flatmanifest integration tests
Summary:
Flatmanifest support is going away. Remove over 100 integration tests
for flatmanifest-only repos.

Reviewed By: fanzeyi

Differential Revision: D17064019

fbshipit-source-id: b578ca14a231f0ee1f2fee8b464038c7e2201392
2019-08-26 18:50:29 -07:00
svcscm
adc2ea86a1 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 7cb55d4545156148956d8ba5304b1104c04d3456
2019-08-26 18:50:29 -07:00
svcscm
4257c732e7 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 0ada7d1c1fa94142ce41e3795a282070606495b0
2019-08-26 16:06:36 -07:00
Adam Simpkins
6d9b66c90d fbcode_builder: support installing thrift generated header files
Summary:
Update add_thrift_cpp2_library() to add a PUBLIC_HEADER property to the
generated library target, so that the generated headers can be installed using
an `install()` call.  Also add a `HEADER_INSTALL_DIR` property which indicates
the directory they should be installed into.  A `INCLUDE_DIR` argument was
added to customize the include installation path, should anyone care to do so.

This also removes code that was previously incorrectly installing the
generated headers into the source tree.

Reviewed By: wez

Differential Revision: D16853404

fbshipit-source-id: 6f640b2bd347c99804e074fca0209dda37c8a9cf
2019-08-26 15:40:28 -07:00
svcscm
e240aa3ec3 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 8ffdbb7567fa67269c71be9f9974640a2855a84f
2019-08-26 15:40:28 -07:00
svcscm
410f5745d9 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 0544781d4886fc3f7b741509443a81fb117b664d
2019-08-26 13:07:16 -07:00
svcscm
0f113935d8 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 66b0d10238080244a63673065f1e5ae8ce8dad56
2019-08-26 13:07:16 -07:00
svcscm
d56acaf3d0 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 7588a59e904d5c6505bb29c48b64eacdda2234b5
2019-08-26 12:01:56 -07:00
Adam Simpkins
7f813eafed fbcode_builder: update the old fbcode_builder spec for fbzmq
Summary:
The external Travis CI builds for fbzmq are still using the older
fbcode_builder spec (as opposed to the newer getdeps manifest file).

D16577367 moved the CMakeLists.txt file to the top-level directory, but the
fbzmq spec file was still looking for it in the fbzmq subdirectory.

Reviewed By: jstrizich

Differential Revision: D17005361

fbshipit-source-id: 3f7664eadfb60ec7606124a14445b44ae586b8a7
2019-08-26 11:47:03 -07:00
Adam Simpkins
633b3cce47 fbcode_builder: fix the shipit path map for fbzmq
Summary:
Fix the fbzmq pathmap listed in its manifest file to match the path map
actually used by ShipIt.  The fact that this was broken was why internal
getdeps builds did not detect that D16577367 broke the build.

Reviewed By: wez, jstrizich

Differential Revision: D17005360

fbshipit-source-id: 046ff58ad70c03b860c3fccebaba975808df244d
2019-08-26 11:47:02 -07:00
svcscm
ee6b6dddb8 Updating submodules
Reviewed By: yns88

fbshipit-source-id: 04fb796c13be74d2b690bdadba278f7e9b51edb4
2019-08-26 11:47:02 -07:00
svcscm
fd0bfe6576 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 7861cc7ba812cbbdd776d100d121fafb41055b56
2019-08-25 20:21:57 -07:00
svcscm
cf5b357f96 Updating submodules
Reviewed By: zpao

fbshipit-source-id: d9b13284f81503d0e7d82918b56028d04ba8b682
2019-08-24 20:18:41 -07:00
Adam Simpkins
369050f9e6 fbcode_builder: ThriftCppLibrary: the output depends on the thrift templates
Summary:
Update ThriftCppLibrary.cmake to record that the output depends on the thrift
`cpp2` template files.  The `THRIFT_TEMPLATE_FILES` variable was defined in
D16062657 but doesn't appear to be used anywhere.  This uses it, and also
updates it to only match the C++ template files.

Reviewed By: wez

Differential Revision: D16738442

fbshipit-source-id: aa4097e9ec1d009ef1e3ee2efd03ffa19a82ed12
2019-08-24 19:47:09 -07:00
Adam Simpkins
3675eda973 fbcode_builder: minor style cleanup in ThriftCppLibrary.cmake
Summary:
Add explicit double quotes around arguments that are intended to be exactly a
single parameter.  Also line wrap to 80 characters.

Reviewed By: wez

Differential Revision: D16738443

fbshipit-source-id: b8c9b6d50da72b44e23eaf5effbc384b6cbbc1c0
2019-08-24 19:47:09 -07:00
Adam Simpkins
d3914e39c1 fbcode_builder: update ThriftCppLibrary to use fb_cmake_parse_args()
Summary:
Change ThriftCppLibrary to use `fb_cmake_parse_args()`

This code doesn't really care much about handling empty arguments, so we could
use the standard `cmake_parse_arguments()` function here instead of
`fb_cmake_parse_args()`.  However, it is slightly more convenient that
`fb_cmake_parse_args()` automatically errors out on unhandled arguments, so
that we don't have to check for this ourselves.

Reviewed By: wez

Differential Revision: D16738445

fbshipit-source-id: 67b9761f2ceaf7665bd336290bb44af32fec6f4a
2019-08-24 19:47:08 -07:00
svcscm
7f85443a4e Updating submodules
Reviewed By: zpao

fbshipit-source-id: 7fce2e201e2afa285f01846dc3372dca0f953c2e
2019-08-24 19:34:26 -07:00
Adam Simpkins
52b697f5f8 fbcode_builder: update current commit for iproute2
Summary:
The manifest file for iproute2 previously listed the commit to check out as
7ca63aef7d1b0c808da0040c6b366ef7a61f38c1.  However, this is not a commit, but
a tag object that refers to commit 92a0236a3cdf3438000834121b7ea8a09f1f52b1.

This caused getdeps to think that iproute2 was always out-of-date, even when
it was already on the correct commit, since it was comparing current commit ID
against the tag ID.

This updates the manifest to refer to the commit ID instead of the tag ID.

Reviewed By: shri-khare

Differential Revision: D17005418

fbshipit-source-id: c7145c73b66ae93a2e9097ddcf8c53237b135d32
2019-08-24 19:23:50 -07:00
svcscm
e60fc5e0c8 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 33beb96668b9a7ce266e42c6c30f381585168832
2019-08-24 19:23:49 -07:00
svcscm
a9c2f37b8d Updating submodules
Reviewed By: zpao

fbshipit-source-id: ff319318ab09a14c096704dda48ac854a9401b89
2019-08-24 12:22:27 -07:00
svcscm
197fb1da06 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 67c349294b5e6adecef61043f0436984a638e2f9
2019-08-23 11:43:35 -07:00
Aaryaman Sagar
9c0effaff3 Fix definition of SynchronizedBase::RLockedPtr
Summary:
The definition of RLockedPtr should use a non-const Subclass type, and not a
const one.

Reviewed By: ot

Differential Revision: D15356827

fbshipit-source-id: b8ad41e263f0e15ffa25b0698aa85eab8ca2ccb8
2019-08-23 11:06:37 -07:00
svcscm
2318e14b80 Updating submodules
Reviewed By: zpao

fbshipit-source-id: ca71126c4cf2ccb66063f194f1d251aaf87f892c
2019-08-23 11:06:37 -07:00
svcscm
3ecc728498 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 7ee08757714d2d25e6f9d2a8093728af97b95539
2019-08-22 22:02:50 -07:00
Chad Austin
67699c71be rely on skip_on_mode_mac rather than hardcoding rules in build-buck-mac.sh
Summary:
The Java environment on Sandcastle macOS does not match corp laptops,
so allow disabling javadeprecated Thrift bindings on macOS for
now. Long-term, the better fix is to standardize the Java runtime and
JDK deployments across both environments so fbcode scripts can rely on
/usr/local/java-runtimes. See discussion in D16656570.

Reviewed By: strager

Differential Revision: D16676813

fbshipit-source-id: c21420bad554402c4c1e0881cabb962856719f5f
2019-08-22 19:36:24 -07:00
svcscm
43c5bd6f04 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 7d4efa5cfab76c438f4fb66e5bb47be6d756f977
2019-08-22 19:36:24 -07:00
svcscm
541029ba4d Updating submodules
Reviewed By: zpao

fbshipit-source-id: 6b3c29d46cdad8cf58d11b6f0911ccda39c7f214
2019-08-21 21:01:09 -07:00
Wez Furlong
3d917744ce watchman: only enable eden support for FB internal builds
Summary:
This simplifies things for the OSS CI situation in
the short term, especially since Eden isn't quite buildable
or usable outside FB at this time.

Reviewed By: chadaustin

Differential Revision: D16953346

fbshipit-source-id: 028150bb3cfc9a8ccbe1197321214b56ad359463
2019-08-21 20:29:07 -07:00
svcscm
5a43f47f11 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 44bb6391719c0472774333328654f0711e8602fb
2019-08-21 17:57:29 -07:00
Chad Austin
c89607f129 build fuse_tester with open source gflags
Summary: Allow building fuse_tester with open source gflags and glog.

Reviewed By: strager

Differential Revision: D16636221

fbshipit-source-id: 5128e936d5a6b6d0ed33bf34b770ee661728af3f
2019-08-21 17:22:46 -07:00
svcscm
908a64b94a Updating submodules
Reviewed By: zpao

fbshipit-source-id: 33f119a97529f4777aee6378082253a6a956f8e9
2019-08-21 17:22:45 -07:00
svcscm
3b9f79ea66 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 80fc0e60f538ca79d31c3152db76cbb9aff10831
2019-08-21 11:20:14 -07:00
Luca Niccolini
cf75a6ba8e do not build proxygen and mvfst for Windows (yet)
Summary:
does not affect the github build.
this is for fb CI

Reviewed By: dddmello

Differential Revision: D16935982

fbshipit-source-id: 61656fa600f19438b5aa89486486ed4ee103dea4
2019-08-21 10:57:35 -07:00
svcscm
dee1387199 Updating submodules
Reviewed By: zpao

fbshipit-source-id: 49d96e515f94bb383f58748eca6fdcc7ac913193
2019-08-21 10:57:35 -07:00
svcscm
cdf1f26cee Updating submodules
Reviewed By: zpao

fbshipit-source-id: f684cffe7928485da7d9c977720ec78b70e33d82
2019-08-20 16:03:11 -07:00
Wez Furlong
b0da5d8238 getdeps: fixup testpilot new test recording
Summary:
In the Facebook infrastructure the testpilot runner talks
to a service to determine whether a given test should be run locally.

The remote service was returning an error for some tests because they
didn't have enough configuration specified.

This diff associates some configuration with the tests based on the
host type and makes things happier.

Reviewed By: Ben0mega

Differential Revision: D16894682

fbshipit-source-id: b6f59b112991160ef26cc126e98041d8908a6273
2019-08-20 15:43:32 -07:00
Adam Simpkins
b918dab7cd fix "eden prefetch" to find the edenfs daemon correctly
Summary:
Update the `eden prefetch` code to use the `require_checkout()` function,
which correctly finds the correct EdenFS instance that is serving this
checkout.  Previously the prefetch logic found the default EdenFS instance,
which may be different from the one that was serving the specified checkout.

Reviewed By: wez

Differential Revision: D16878489

fbshipit-source-id: fed366df61960b5b87399bcd1d2f3f79aefc8dba
2019-08-20 15:35:31 -07:00
svcscm
0b2adfac01 Updating submodules
Reviewed By: zpao

fbshipit-source-id: dd95d921c8b2a7242580c813a4c7d5074d3af9f3
2019-08-20 15:35:30 -07:00