CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess 6063b3df3f
Dial back optimisation when building on arm
Prevent ghc and llc from running out of memory when optimising some
files.

Sean Whitton reported that doing this only in Test.hs was insufficient,
the build still OOMed by the time it got to Test.hs. He had earlier found
the build worked when these options are applied globally.

See https://ghc.haskell.org/trac/ghc/ticket/14821 for why it needs -O1;
once that's fixed it may suffice to use "GHC-Options: -O2 -optlo-O2",
although it may also be that the -O1 prevents ghc from using/leaking
as much memory.

os(arm) should match armel, armhf, armeb, and arm.
It probably also matches arm64, somewhat unfortunately since arm64
systems probably tend to have more memory. See list of arches in
https://hackage.haskell.org/package/Cabal-1.22.2.0/docs/src/Distribution-System.html

This commit was sponsored by Henrik Riomar on Patreon.
2018-03-04 19:48:07 -04:00
Annex annex.merge-annex-branches 2018-02-22 14:25:32 -04:00
Assistant Improve startup time for commands that do not operate on remotes 2018-01-09 16:22:07 -04:00
Backend fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Build fix build some more 2018-01-15 12:18:00 -04:00
CmdLine add --json-error-messages (not yet implemented) 2018-02-19 14:32:15 -04:00
Command fix sync bug in direct mode 2018-02-26 14:10:03 -04:00
Config use DynamicConfig to handle cost-command 2017-08-17 14:04:29 -04:00
Database fix build with old version of persistent 2017-09-25 09:57:41 -04:00
debian remove chrpath hack 2018-02-27 12:02:38 -04:00
doc response 2018-03-02 15:10:51 -04:00
Git Improve startup time for commands that do not operate on remotes 2018-01-09 16:22:07 -04:00
Limit AssociatedFile newtype 2017-03-10 13:35:31 -04:00
Logs more core.sharedRepository perm fixes 2018-01-04 14:46:58 -04:00
Messages split msg into lines 2018-02-19 15:55:00 -04:00
P2P AssociatedFile newtype 2017-03-10 13:35:31 -04:00
Remote Support exporttree=yes for rsync special remotes. 2018-02-28 13:36:20 -04:00
RemoteDaemon Improve startup time for commands that do not operate on remotes 2018-01-09 16:22:07 -04:00
standalone Linux standalone arm build no longer supports Linux kernels older than 2.6.28 2017-11-21 13:29:14 -04:00
static Revert "remove newlines from static js and css" 2014-06-13 02:20:39 -04:00
templates version: Added "dependency versions" line. 2017-04-07 18:16:11 -04:00
Test Split Test.hs and avoid optimising it much, to need less memory to compile. 2018-02-18 11:48:48 -04:00
Types annex.merge-annex-branches 2018-02-22 14:25:32 -04:00
Upgrade squelch a couple of warnings about moveAnnex return code 2017-02-28 12:49:17 -04:00
Utility windows build fix 2018-01-05 15:09:10 -04:00
.ghci workaround for ghci fragility in reusing objects compiled with ghc 2012-10-20 16:20:42 -04:00
.gitattributes update changelog location 2016-08-22 23:54:11 -04:00
.gitignore ignore generated file Build/SysConfig.hs 2018-02-28 11:58:53 -04:00
.mailmap alias for Yaroslav @ yahoo to mailmap 2015-09-09 12:38:59 -04:00
Annex.hs fix --json-progress --json to be same as --json --json-progress 2018-02-19 14:12:15 -04:00
Assistant.hs fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Backend.hs more lambda-case conversion 2017-12-05 15:00:50 -04:00
bash-completion.bash update from optparse-applicative output 2017-06-09 11:30:24 -04:00
build.bat let build.bat also be run from cygwin terminal 2015-04-21 14:12:14 -04:00
BuildFlags.hs split BuildInfo and BuildFlags 2018-01-02 13:47:51 -04:00
BuildInfo.hs split BuildInfo and BuildFlags 2018-01-02 13:47:51 -04:00
CHANGELOG Dial back optimisation when building on arm 2018-03-04 19:48:07 -04:00
CmdLine.hs Make --json and --quiet suppress automatic init messages 2016-09-05 15:34:38 -04:00
Command.hs add --json-error-messages (not yet implemented) 2018-02-19 14:32:15 -04:00
Common.hs finally really add back custom-setup stanza 2017-12-31 16:36:39 -04:00
Config.hs configuration and docs for tracking exports 2017-09-19 13:05:43 -04:00
COPYRIGHT releasing package git-annex version 6.20180112 2018-01-12 15:47:32 -04:00
Creds.hs finish git-annex enable-tor 2016-11-29 17:30:27 -04:00
Crypto.hs add KeyVariety type 2017-02-24 15:16:56 -04:00
ghci avoid tab warnings from ghc 8 2016-11-17 13:39:30 -04:00
git-annex.cabal Dial back optimisation when building on arm 2018-03-04 19:48:07 -04:00
git-annex.hs windows build fix 2018-01-09 11:51:17 -04:00
git-union-merge.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
Git.hs Propigate GIT_DIR and GIT_WORK_TREE environment to external special remotes. 2016-05-06 12:26:44 -04:00
Jenkinsfile Revert "debugging strange old version of git-annex in windows installer bundle" 2017-10-26 11:32:04 -04:00
Key.hs Fix build with QuickCheck 2.10. 2017-06-17 13:04:48 -04:00
Limit.hs securehash matching 2017-02-27 15:02:44 -04:00
Logs.hs implement export.log and resolve export conflicts 2017-08-31 15:47:23 -04:00
Makefile remove chrpath hack 2018-02-27 12:02:38 -04:00
Messages.hs Added INFO to external special remote protocol. 2018-02-06 13:03:55 -04:00
NEWS releasing package git-annex version 6.20170228 2017-02-28 14:41:57 -04:00
README use https 2014-11-06 14:20:10 -04:00
Remote.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Setup.hs Added git-remote-tor-annex, which allows git pull and push to the tor hidden service. 2016-11-21 17:27:38 -04:00
stack-windows.yaml Removed the testsuite build flag 2017-12-20 12:25:03 -04:00
stack.yaml Removed the testsuite build flag 2017-12-20 12:25:03 -04:00
Test.hs Dial back optimisation when building on arm 2018-03-04 19:48:07 -04:00
Types.hs better dup key with -J fix 2017-10-17 18:48:53 -04:00
Upgrade.hs Avoid backtraces on expected failures when built with ghc 8; only use backtraces for unexpected errors. 2016-11-15 21:29:54 -04:00

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

For documentation, see doc/ or <https://git-annex.branchable.com/>