diff options
Diffstat (limited to 'homebrew/folly/.make.sh-auto')
-rw-r--r-- | homebrew/folly/.make.sh-auto | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/homebrew/folly/.make.sh-auto b/homebrew/folly/.make.sh-auto new file mode 100644 index 000000000..a69db5d19 --- /dev/null +++ b/homebrew/folly/.make.sh-auto @@ -0,0 +1,12 @@ +pkg:setup +ENV.cxx11 +mkdir "_build" && cd _build +args = std_cmake_args + %w[-DFOLLY_USE_JEMALLOC=OFF ] +args << "-DCOMPILER_HAS_F_ALIGNED_NEW=OFF" if MacOS.version == :sierra +cmake .. *args -DBUILD_SHARED_LIBS=ON +make +make DESTDIR=${PKG_DEST} install +make clean +cmake .. *args -DBUILD_SHARED_LIBS=OFF +make +lib.install "libfolly.a", "folly/libfollybenchmark.a" |