Commit Graph

687 Commits

Author SHA1 Message Date
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