diff options
Diffstat (limited to 'homebrew/folly/.beer')
-rw-r--r-- | homebrew/folly/.beer | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/homebrew/folly/.beer b/homebrew/folly/.beer new file mode 100644 index 000000000..c09b69928 --- /dev/null +++ b/homebrew/folly/.beer @@ -0,0 +1,86 @@ +{ + "name": "Folly", + "description": "Collection of reusable C++ library artifacts developed at Facebook", + "url": "https://github.com/facebook/folly/archive/v2019.03.18.00.tar.gz", + "mirror": null, + "homepage": "https://github.com/facebook/folly", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "boost", + "build-depend": false + }, + { + "depend": "double-conversion", + "build-depend": false + }, + { + "depend": "gflags", + "build-depend": false + }, + { + "depend": "glog", + "build-depend": false + }, + { + "depend": "libevent", + "build-depend": false + }, + { + "depend": "lz4", + "build-depend": false + }, + { + "depend": "macos", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "snappy", + "build-depend": false + }, + { + "depend": "xz", + "build-depend": false + }, + { + "depend": "zstd", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://github.com/facebook/folly/commit/964ca3c4979f72115ebfec58056e968a69d5942c.diff?full_index=1", + "strip": "1" + } + ], + "install": [ + "ENV.cxx11", + "mkdir \"_build\" do", + "args = std_cmake_args + %w[", + "-DFOLLY_USE_JEMALLOC=OFF", + "]", + "args << \"-DCOMPILER_HAS_F_ALIGNED_NEW=OFF\" if MacOS.version == :sierra", + "system \"cmake\", \"..\", *args, \"-DBUILD_SHARED_LIBS=ON\"", + "system \"make\"", + "system \"make\", \"install\"", + "system \"make\", \"clean\"", + "system \"cmake\", \"..\", *args, \"-DBUILD_SHARED_LIBS=OFF\"", + "system \"make\"", + "lib.install \"libfolly.a\", \"folly/libfollybenchmark.a\"" + ], + "version": "2019.03.18.00", + "file": "folly.rb" +}
\ No newline at end of file |