From 64a4b750a21c037f598947e5cbc1ea0956dd0cb9 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Mon, 3 Feb 2020 06:53:31 -0800 Subject: [PATCH] Bump version number Summary: Updated the source a while ago to also include the images plugin. Reviewed By: nikoant Differential Revision: D19691720 fbshipit-source-id: 70bf1929e4c571f02db2d8ef787f1130a480d05f --- scripts/bump/README.md | 13 +++++++++++++ scripts/bump/package.yaml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/scripts/bump/README.md b/scripts/bump/README.md index ea5abf0d8..2a97c1dfe 100644 --- a/scripts/bump/README.md +++ b/scripts/bump/README.md @@ -41,3 +41,16 @@ To cross-compile for Linux (required for internal CI), run stack docker pull stack build --docker ``` + +This is a moving target, but if you don't end up with a static binary, add +`ghc-options: -optl-static -optl-pthread -fPIC` to your executables section. + +The binary can get quite large. Enabling split objects in your global config +can be quite effective in reducing it: + +`~/.stack/config.yaml`: + +``` +build: + split-objs: true +``` diff --git a/scripts/bump/package.yaml b/scripts/bump/package.yaml index 99a4123c3..aa0fabef7 100644 --- a/scripts/bump/package.yaml +++ b/scripts/bump/package.yaml @@ -1,5 +1,5 @@ name: bump -version: 0.2.0 +version: 0.2.1 dependencies: - base >= 4.7 && < 5