mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
bcad7419bf
Summary: Initial commit to include the fbcode_builder sources in the eden github repository. fbshipit-source-id: 49098cecda04a7e9dd9dcc0b569fffc96f0f719b
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'),
|
|
],
|
|
}
|