mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-19 00:21:58 +03:00
Summary: Update the folly spec to use `fb_github_project_workdir()` rather than just `github_project_workdir()`. This shouldn't have any impact for external github-based builds, but for our internal continuous integration builds this should make builds for downstream projects pick up the correct local version of folly that matches the commit of the downstream project that is being built. This behavior was unintentionally changed to not use the `fb_*` version in D10520960. Differential Revision: D14969380 fbshipit-source-id: 000b10525821fb5e0312d1869198a68befa0bd91
21 lines
749 B
Python
21 lines
749 B
Python
#!/usr/bin/env python
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
def fbcode_builder_spec(builder):
|
|
return {
|
|
'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'),
|
|
],
|
|
}
|