Commit Graph

1496 Commits

Author SHA1 Message Date
svcscm
125be5a2d6 Updating submodules
Summary:
GitHub commits:

4f0884312a
5d7bce065e
918574c6eb

Reviewed By: zpao

fbshipit-source-id: 48aecaf31c125bedc38ca4f921e51394f77a7e87
2020-04-08 14:13:45 -07:00
svcscm
732be1df5d Updating submodules
Summary:
GitHub commits:

ec923b2d17
b2dbb47c8a
f2fa117698
367657735d
8880b7e88d

Reviewed By: zpao

fbshipit-source-id: f403b32c1b5d60689d41fe209fef11262de29d75
2020-04-08 12:20:20 -07:00
svcscm
008109956a Updating submodules
Summary:
GitHub commits:

1678e22769
bc0b300a06
a84d612548

Reviewed By: zpao

fbshipit-source-id: 3638f607d2268b0bc2cf99e0003415ac2ba37160
2020-04-08 11:37:26 -07:00
svcscm
4c67f27e3a Updating submodules
Summary:
GitHub commits:

b691d567f8
44af110098

Reviewed By: zpao

fbshipit-source-id: 21f71cf0312f95905f8a96f3c275d9e0792dbc8b
2020-04-08 09:17:21 -07:00
svcscm
1132acc25e Updating submodules
Summary:
GitHub commits:

bba56f070a
19812fa297
d550ed3236
d9bb1356a7
8b2e5bd9dc

Reviewed By: zpao

fbshipit-source-id: 12fcebca78756a9fd0d9239f26439037fc705c0b
2020-04-08 07:50:05 -07:00
svcscm
beb27516b4 Updating submodules
Summary:
GitHub commits:

bac61ebc75
732538a024
a87408a8c0

Reviewed By: zpao

fbshipit-source-id: cd9a5da4549eed62fcd3b4f9ad995d99993209b0
2020-04-08 04:35:01 -07:00
svcscm
87ca0928e6 Updating submodules
Summary:
GitHub commits:

9153326d51

Reviewed By: zpao

fbshipit-source-id: 14f7283d510b4db827f414863ac37940b0393632
2020-04-08 00:12:50 -07:00
svcscm
7050b8e597 Updating submodules
Summary:
GitHub commits:

f995814b2e

Reviewed By: zpao

fbshipit-source-id: f164e595ac9eb30ab77fb3c19859efb8e71764d2
2020-04-07 20:06:26 -07:00
svcscm
7fd3d77a35 Updating submodules
Summary:
GitHub commits:

e8fe413971
3ff603171d

Reviewed By: zpao

fbshipit-source-id: f45ed5986343c80b8ad70767d631bb86160e0ecf
2020-04-07 15:31:57 -07:00
svcscm
170dc08976 Updating submodules
Summary:
GitHub commits:

84eda3901f
828931bb71
0355d14dd9

Reviewed By: zpao

fbshipit-source-id: 23300f122047686271eb7ec64abdb7660ac90ce4
2020-04-07 13:03:51 -07:00
svcscm
1591c85852 Updating submodules
Summary:
GitHub commits:

705c16caef
2f18250af6
4e89db8a8e
c97495c660

Reviewed By: zpao

fbshipit-source-id: fee6c68f6ef541d230716bc9be8e978e20958e2a
2020-04-07 12:11:23 -07:00
svcscm
1d84071969 Updating submodules
Summary:
GitHub commits:

56361bb4fb
b077851bcf
db58ba1ca4

Reviewed By: zpao

fbshipit-source-id: 51fd3e18d92e9e2427906ea6c3e7ff092df84144
2020-04-07 10:26:47 -07:00
svcscm
dd6ec5b937 Updating submodules
Summary:
GitHub commits:

095fe3a88c
338f817c08
5a2d8f8d52
cad1dc6aa0
09a7c19b82
4a0e2c84c6
57486d29db
768220156f

Reviewed By: zpao

fbshipit-source-id: ee42fd28eb1e34f43be398e6a10a4b21ca5f4c74
2020-04-07 07:29:23 -07:00
svcscm
0216963239 Updating submodules
Summary:
GitHub commits:

5094eef062
35092ea915
4c5cc60a6f
a9d3606bf5
b8f1e16c87
73ded7862d
c994973d6a
3cb45b7efa
d37bea9a39
39fe11fecf

Reviewed By: zpao

fbshipit-source-id: 7f0980ef503e3038e97bab71d7551c7f6d83be92
2020-04-07 04:51:13 -07:00
Zeyi (Rice) Fan
cf0ca611e9 respect DISABLED flag reported by ctest
Reviewed By: simpkins

Differential Revision: D20885314

fbshipit-source-id: 8c3a5ccbfd6630107b421b0d6953f17a93da2412
2020-04-07 03:15:54 -07:00
svcscm
ced1a7c0a6 Updating submodules
Summary:
GitHub commits:

7e2877a335

Reviewed By: zpao

fbshipit-source-id: 2bf627d5f2fb62f9b5653fa88a80d0c301c2e946
2020-04-06 21:13:08 -07:00
svcscm
e1d6de83e2 Updating submodules
Summary:
GitHub commits:

545a6d3fe4
2f75edd34f
f53cdab3d7
1c00a2daaf
284e1c738b

Reviewed By: zpao

fbshipit-source-id: bf0582a3740d7e07ae2f009002acc0a8ea275917
2020-04-06 19:25:28 -07:00
svcscm
e6842e2335 Updating submodules
Summary:
GitHub commits:

fa0e3fa2b4
b427251d3e
98a70c4d06
f3ee80a761
a56439bb7f
4076ef9170
4e00ad6d32
8bc3b6a833
742fb3c247

Reviewed By: zpao

fbshipit-source-id: 4e054779c78c480788c57ae42a67f0fdda1b4e30
2020-04-06 18:53:00 -07:00
svcscm
76bcbbfdf3 Updating submodules
Summary:
GitHub commits:

b5bf567702
8d346e94d0
972106de15
bf1cecdd40

Reviewed By: zpao

fbshipit-source-id: 0466b8e4225f90ac4fc2d4e9fa16d069c654482e
2020-04-06 15:49:17 -07:00
svcscm
8dece4d4ae Updating submodules
Summary:
GitHub commits:

3948ca5280
6e15cc00fc
35bb5f2911
fb0b6b1cc4

Reviewed By: zpao

fbshipit-source-id: 5ee3095c2c5933b8c2b62af99b65700a9cadf773
2020-04-06 12:41:48 -07:00
svcscm
b12bcdc6eb Updating submodules
Summary:
GitHub commits:

f2cb0bd51a
1e81260e6a
761f1ebb89

Reviewed By: yns88

fbshipit-source-id: a34ef55fc9ee2798ed05ba34d98871884b9b3a4e
2020-04-06 08:26:51 -07:00
svcscm
e00faa7981 Updating submodules
Summary:
GitHub commits:

d00b7d3edd
8b382f3ece

Reviewed By: yns88

fbshipit-source-id: 8342135b4e8db4b5f66b07f3dc5be0511aabfaf7
2020-04-06 03:17:39 -07:00
svcscm
c8cd810cfa Updating submodules
Summary:
GitHub commits:

c03e42ef6a
c1908b5b9e
64580645d0

Reviewed By: yns88

fbshipit-source-id: bd7c30f0e7c42a621af317bfc874c37977a3c24d
2020-04-05 18:23:40 -07:00
svcscm
e1c7cfc51f Updating submodules
Summary:
GitHub commits:

206dd68f59

Reviewed By: yns88

fbshipit-source-id: 5c8d56cbcc0f38836c2573c697f26ce26d3c35f1
2020-04-04 21:23:27 -07:00
svcscm
ca121fb9b5 Updating submodules
Summary:
GitHub commits:

fffaed173e

Reviewed By: yns88

fbshipit-source-id: 78f3d28c6ce690aec5bf5fc9c2ae50f9684eed12
2020-04-03 21:19:47 -07:00
svcscm
f430f00d07 Updating submodules
Summary:
GitHub commits:

f3ba8f482d
841990708a
e6f3f9ee10
5b16415936
8b5d8c5172
00f8016b36
1f07ffd6c8
830eb1f102
439bb0b090
23441e925a

Reviewed By: yns88

fbshipit-source-id: c94e4ce816bb3f009af307f5a876ae8b03b022c5
2020-04-03 17:00:37 -07:00
svcscm
7c8ca31944 Updating submodules
Summary:
GitHub commits:

a508484ac4
2567ef0027
ecfa0b8720
56ce4f4431
c956c460b0
957bee824b
141a3be453
e60ea7fe57
31e3cc815f
5749f8cc84
6cf0245726
3c29e19b0b
63ddcae81a

Reviewed By: yns88

fbshipit-source-id: ab818598bc00a41506ba2f1bd6940c258ec9aaa6
2020-04-03 15:50:50 -07:00
svcscm
5b84cc1f3a Updating submodules
Summary:
GitHub commits:

5f79659f25

Reviewed By: yns88

fbshipit-source-id: 6a19666175fdc2719090869fa57499123ae392d9
2020-04-02 11:40:32 -07:00
svcscm
f503bd3806 Updating submodules
Summary:
GitHub commits:

a5909bd18f

Reviewed By: yns88

fbshipit-source-id: 4edf12e30a36118b5bf0cf21b70d30e6c722abfb
2020-04-02 10:47:41 -07:00
svcscm
9e80bfbb82 Updating submodules
Summary:
GitHub commits:

85c8298a47
1c9312ea4e
d2d939ed02
209c182bd3
264955dc5e
0b0a3f825e
520db4300d
4d5d7190d7

Reviewed By: yns88

fbshipit-source-id: 87ef94ce03a9f3c4ca523003aeb9baa1f429b2a7
2020-04-02 05:27:15 -07:00
svcscm
729c38006f Updating submodules
Summary:
GitHub commits:

2ca4a4d734
8c2b00690a
37c1efeacb
cc9056ea4a
2efb266799
164561942d
52dc2bab74
a18c4b080b
792c0a714c

Reviewed By: yns88

fbshipit-source-id: 9ae5cbb95ecd64e9f780939d72e83a5732db4f22
2020-04-02 04:00:16 -07:00
Alexander Mols
0229ed4506 Fix bug in optimizing module loader for coverage collection
Summary:
In coverage collection mode a special module loader is prepended to
`sys.meta_path`. In very specific conditions this module loader can end up
returning a loader pointing to a _completely wrong module_. When importing
symbols from the wrong module errors occur.

The conditions to trigger the bug are:

- running in coverage collection mode, enabling the custom loader
- the test binary is a zip (e.g. par_style=fastzip)
- having a module name where the end part matches the name of a builtin Python
  module

When these conditions were met, the special loader would return the builtin
Python module instead of the expected module. E.g. when loading a module like
`myapp.somemod.platform` in a zip style binary.

The custom loader first calls `imp.find_module()` to find the module it wants
to return a wrapped loader for. This fails for modules included in the test
binary, because the builtin `imp` module can not load from zips. This was the
trigger leading to the call to the buggy code.

When the initial call to `imp.find_module()` failed, the custom loader would
try a second call, asking the internal loader to this time try any path on
`sys.path`. For most module names this call would also fail, making the custom
loader return `None`, after which Python tries other loaders on `sys.path`.
However, when the final part of the module that was asked to load matches the
name of a Python builtin module, then the second call to the `imp` module would
succeed, returning a loader for the builtin module. E.g. `platform` when asking
for `myapp.somemod.platform`.

This diff fixes the issue by removing the broken second call to the internal
loader. This will never have worked, we just have not triggered or noticed
triggering the wrong loading before.

Differential Revision: D20798119

fbshipit-source-id: dffb54e308106a81af21b63c5ee64c6ca2041920
2020-04-02 02:42:33 -07:00
Luca Niccolini
9f09666ea4 upgrade openssl to 1.1.1f
Summary:
https://www.openssl.org/source/openssl-1.1.1b.tar.gz is gone

changelog:
https://www.openssl.org/news/openssl-1.1.1-notes.html

Reviewed By: udippant

Differential Revision: D20810020

fbshipit-source-id: 0ed385f49b2187ec149defd79feb86e2c8b492d2
2020-04-02 01:18:37 -07:00
svcscm
fbf4266406 Updating submodules
Summary:
GitHub commits:

6f3ebcda45

Reviewed By: yns88

fbshipit-source-id: 54b854934062051968292e7c7156f57da02bd10d
2020-04-01 20:14:50 -07:00
svcscm
0d0abf59d2 Updating submodules
Summary:
GitHub commits:

484b1cccad
1c949d47d2

Reviewed By: yns88

fbshipit-source-id: dd504ff287f1cbb82963bd23a69160dbc8001aef
2020-04-01 19:40:55 -07:00
svcscm
054646a61b Updating submodules
Summary:
GitHub commits:

5a67fac7ca
d44942be10
2b02ea25e2

Reviewed By: yns88

fbshipit-source-id: e5c64878e507817f006b7b8a2d8969406e305f9a
2020-04-01 18:06:43 -07:00
svcscm
628bf616f7 Updating submodules
Summary:
GitHub commits:

675c763f35
9acc69cbd4
6817372d29
da5a7a5a58
719c0f91bf
41d6cd512b
96aa9abf37
d77c802b94
774cfc665c

Reviewed By: yns88

fbshipit-source-id: 64311436c64f9408f33dd32e6b2aa1734102ff98
2020-04-01 14:38:35 -07:00
svcscm
08b6ed4b41 Updating submodules
Summary:
GitHub commits:

be34fbe8a4
c5bc292372
a09ba2acd7
c1beec58f4
a643e68d6d
2da6546f44
57096ab13e
be56f1c78e
204dff9f76
79103e7664
dba77af4fd
03c4c1bf82
896dffc48f
815e209e4f

Reviewed By: yns88

fbshipit-source-id: 63fad0d8a163a7b5f0107c6b5642cb227f73a2ae
2020-04-01 13:56:38 -07:00
Wez Furlong
f9d521515b getdeps: hash over the visual studio path
Summary:
I was testing vs2019 vs vs2017 and realized that
we weren't reconfiguring when the toolchain was changed;
this resolves that.

Reviewed By: genevievehelsel

Differential Revision: D20795118

fbshipit-source-id: db80f090367cacfcc6b53887b77cf949f9cef0e6
2020-04-01 11:47:33 -07:00
svcscm
ea21453cbb Updating submodules
Summary:
GitHub commits:

717f9bb8aa
f7c6746b9e

Reviewed By: yns88

fbshipit-source-id: 6398b45388637ac08af18edebddc5878db55e281
2020-04-01 09:34:21 -07:00
svcscm
67087e6198 Updating submodules
Summary:
GitHub commits:

3d8f5dcda6
d8bf47df7f

Reviewed By: yns88

fbshipit-source-id: c68d4ee2800a8673d949a0ecb6a3c8d574cd3881
2020-04-01 03:13:10 -07:00
svcscm
9c1e12480b Updating submodules
Summary:
GitHub commits:

a326e141b6
179393cfda
8203bd4bf2
63724d674a
3bf51a7a0d
8c46dddb17
e6f86cfb36
0e65c1566f
ae0c7b7365
4e0876296f
43f7c75ecb
6a38a8c87a

Reviewed By: yns88

fbshipit-source-id: cb271e1df1a426165ac6b26f0ee4199e668d2e3e
2020-03-31 18:46:13 -07:00
Adam Simpkins
650f8919d3 emit a script to use for running commands from the build directory
Summary:
On Windows the build artifacts cannot be easily run directly from the build
output directory without installing them.  The `$PATH` environment variable
needs to be set correctly so that the runtime library dependencies can be
found.

This updates the builder code to emit a `run.ps1` wrapper script in the build
output directory that sets `$PATH` to support running build artifacts directly
from the build directory.

Additionally, this updates the CMake-specific builder to set properly when
running the tests with `ctest`.

Reviewed By: wez

Differential Revision: D20688290

fbshipit-source-id: 5d0f4d685692bca7e37370bd88309cf7634d87f0
2020-03-31 15:36:00 -07:00
svcscm
063ce6dbe9 Updating submodules
Summary:
GitHub commits:

bd9d56ebf7
e5e27c0be2
cbfb352f15
49ddfab1e4
93ebd3ec03
7db23408e8
0d68e979e8
4ace67f571
7719ab1195

Reviewed By: yns88

fbshipit-source-id: df21bfd7ac1a6b35847c6541fbb4999d7858dc86
2020-03-31 14:02:35 -07:00
Wez Furlong
751b05fa5f watchman: teach watchman to talk to EdenFS on Windows
Summary:
This still requires support from EdenFS in order to do much
of use, but it takes us a step closer:

* Pull in cpptoml when building with Eden support
* On Windows, when we locate the `.eden` directory, load and parse
  the config file in order to determine the socket path
* If the EdenView constructor throws, treat it as a terminal error
  so that we don't fallback to the regular filesystem watcher.
  This is important because current EdenFS builds don't implement
  the journal thrift API endpoint yet.

Reviewed By: pkaush

Differential Revision: D20504752

fbshipit-source-id: 48bbad49f1641698aa7d7b85674e3ddf4d4e617d
2020-03-31 12:55:23 -07:00
svcscm
05ecd5eaac Updating submodules
Summary:
GitHub commits:

7235cf5630
faeae13a65
bec10cc357
849da725d3
9dafeb9e64
99dd5d7429
80979f81c7
90d929abd7
cb8e10a1af
99d7165530
70d8d13d0f
1798e56435

Reviewed By: yns88

fbshipit-source-id: d40ae0d701bd41e30d30610cf381ac4fa2537947
2020-03-31 12:42:41 -07:00
Wez Furlong
4da863fe7d getdeps: allow setting per-project install prefix for DESTDIR installs
Summary:
We have a global `--install-prefix` argument that can be used to set
the prefix for all projects, but that is only suitable if you are running with
sufficient privileges to install each of the deps to that location during the
build.  Cmake dependency resolution won't work from the build directory in that
situation; it can only see the final installed location and it will error out
if those files are not present, or link against the currently installed version
instead of the version we just built; not great!

This commit adds a project specific `--project-install-prefix` that can be used
on just the leaf project in a set of deps.  That sidesteps the dependency
concern because only the last stage is built in that mode.  This option
can technically be applied to an arbitrary set of projects, but in light
of the above, in practice it only makes sense to use it for the final
cmake project.  Only the CMakeBuilder respects this option.

In the watchman repo, this commit adjusts the autogen.sh script to allow
specifying the installation prefix; it defaults to `/usr/local` as you
might expect.

refs: https://github.com/facebook/watchman/issues/760

Reviewed By: yfeldblum

Differential Revision: D20674439

fbshipit-source-id: 52799dbd47f3c295e2d6469ee2b74cedeaa20138
2020-03-31 12:10:45 -07:00
svcscm
2dbda70cac Updating submodules
Summary:
GitHub commits:

edf1b2dca6
0148f9d752

Reviewed By: yns88

fbshipit-source-id: cad847e618e0c1e0bfb3a8aefdbd949d3a676598
2020-03-31 03:01:09 -07:00
svcscm
4aaa6c755d Updating submodules
Summary:
GitHub commits:

52dce0dc6b
0819202251
2ae91c6097
638fdb9e8a

Reviewed By: yns88

fbshipit-source-id: a0c57bcb08b3932123e6b9668e76cf2be6f2379c
2020-03-30 16:33:28 -07:00
svcscm
c6cdf37881 Updating submodules
Summary:
GitHub commits:

98d5390120
cc3e8e9ed0
733dcba49c
c234aa773e
dc72213018
765e4a070e
93facfa923
02e09b2a4d
177b2cb952

Reviewed By: yns88

fbshipit-source-id: 7609a70df7409c741ddcb74d4118eab5cf94f9de
2020-03-30 14:39:41 -07:00