mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Summary: The future is now. Reviewed By: xavierd Differential Revision: D33714537 fbshipit-source-id: 8d282bbe7391c4b72b70dab54a5c252060fba457
20 lines
654 B
Python
20 lines
654 B
Python
#!/usr/bin/env python
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
|
|
import specs.fmt as fmt
|
|
|
|
|
|
def fbcode_builder_spec(builder):
|
|
return {
|
|
"depends_on": [fmt],
|
|
"steps": [
|
|
# on macOS the filesystem is typically case insensitive.
|
|
# We need to ensure that the CWD is not the folly source
|
|
# dir when we build, otherwise the system will decide
|
|
# that `folly/String.h` is the file it wants when including
|
|
# `string.h` and the build will fail.
|
|
builder.fb_github_project_workdir("folly/_build"),
|
|
builder.cmake_install("facebook/folly"),
|
|
],
|
|
}
|