aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2021-03-18Change -A256m to -A8m in GHCOPTSJohn MacFarlane1-1/+1
2021-03-18make_artifacts.sh: try using -j for cabal rather than -j4 ghc-options.John MacFarlane1-2/+2
2021-03-17Benchmark improvements.John MacFarlane1-11/+7
* Build `+RTS -A256m -RTS` into default ghc-options for benchmark, so we don't have to specify this separately on the command line. This is necessary to get accurate benchmark results; otherwise we are largely measuring garbage collecting, some not related to the current benchmark. * Switch back from gauge to tasty-bench. * Allow specifying BASELINE file in 'make bench' for comparison (otherwise the latest is chosen by default). * Remove obsolete reference to weigh-pandoc from CONTRIBUTING.md. * Remove `-Rghc-timing` from 'make bench'.
2021-03-17Makefile: Add comment documenting benchmark settings.John MacFarlane1-0/+3
2021-03-17Revert "Makefile: add --static to quick target"John MacFarlane1-1/+1
This reverts commit 6075b17ae11e5f1670d5d6e715431c4242dfd943.
2021-03-16Makefile: add --static to quick targetJohn MacFarlane1-1/+1
2021-03-16Increase heap space in runtime for benchmarks.John MacFarlane1-4/+5
Otherwise we're essentially benchmarking garbage collecting, which can give very inconsistent results.
2021-03-16Makefile: set -j4 in default GHCOPTSJohn MacFarlane1-1/+1
2021-03-16make quick: re-use GHCOPTS for testsJohn MacFarlane1-1/+1
2021-03-16Use BENCHARGS in 'make bench'.John MacFarlane1-7/+4
2021-03-16make quick: use -j4 to speed up buildJohn MacFarlane1-1/+1
2021-03-15Switch to gauge for now for benchmarks.John MacFarlane1-3/+10
tasty-bench is displaying odd behavior, with different timings depending on the `--pattern` specified.
2021-03-15Add compiler timings to 'make bench'John MacFarlane1-1/+1
2021-03-13Add ghcid-test to MakefileJohn MacFarlane1-0/+3
2021-03-06Set --user in docker run to avoid permission issues.John MacFarlane1-0/+1
We were unable previously to write to the artifacts directory.
2021-03-06Avoid subprocess for docker run.John MacFarlane1-2/+2
2021-03-06make debpkg: send docker output to docker.log in the host.John MacFarlane1-2/+4
Otherwise once the container is gone we can't figure out what happened.
2021-03-06Makefile: Remove ARCHJohn MacFarlane1-1/+0
2021-03-06Don't --rm docker.John MacFarlane1-1/+0
2021-03-06Fix docker image.John MacFarlane1-7/+1
2021-03-05More Makefile tweaks around docker linux build.John MacFarlane1-5/+6
2021-03-05Makefile: choose linux docker image depending on arch.John MacFarlane1-1/+10
2021-03-05Makefile: exit smoothly if no prior benchmark files found.John MacFarlane1-1/+1
2021-03-05Makefile: debpkg: use new multi-arch GHC 8.10.4 docker...John MacFarlane1-1/+2
...created by Olivier Benz. This should allow us to build on arm architecture.
2021-02-19make bench: compare against a baseline, use datestamps for bench results.John MacFarlane1-1/+8
2021-02-18'make bench': Create csv files for comparison.John MacFarlane1-1/+2
2021-02-13Clean up benchmark code.John MacFarlane1-3/+2
Now we can do patterns using `-p blah'.
2021-01-31Makefile: give allocation data in benchmarks.John MacFarlane1-2/+2
2021-01-30Use tasty-bench instead of criterion for benchmarks.John MacFarlane1-0/+1
It is much lighter-weight.
2021-01-13Use simple default.nix.John MacFarlane1-7/+1
Remove nix makefile targets.
2021-01-12Use project.nix instead of default.nix for generated file.John MacFarlane1-2/+2
2021-01-12Delete default.nix.John MacFarlane1-1/+1
It is generated and shouldn't be in repository.
2021-01-12Add files for using nix-shell.John MacFarlane1-1/+7
'make nix-shell' enters a nix shell with pandoc dependencies installed.
2020-12-18Improve check target to test data/ too.John MacFarlane1-6/+6
2020-12-18Makefile: Fix checkdocs target.John MacFarlane1-1/+1
2020-12-18Add check and check-cabal target ...John MacFarlane1-2/+14
to check to make sure everything needed in tests will get into the source sdist.
2020-12-17Makefile: remove macospkg target.John MacFarlane1-6/+1
Now we just download the artifacts from CircleCI, and make.
2020-09-15Fix pandoc-templates target to include all partials.John MacFarlane1-2/+2
2020-08-27Makefile: Remove obsolete windows package build targets.John MacFarlane1-31/+1
2020-08-27Makefile: Fix macospkg target to fetch target from S3 artifacts.John MacFarlane1-2/+4
2020-08-12Use the smart extension when generating pandoc's man page.John MacFarlane1-1/+1
See #6613.
2020-08-11Linux rc build: use ghc-musl container.John MacFarlane1-2/+7
This simplifies our build process a bit (over using a customized alpine container). Use new `--enable-executable-static` flag in build. make_artifacts.sh: Fix deprecated find -perm syntax.
2020-07-23update date, man page, README.John MacFarlane1-1/+1
2020-06-29Fix 'make pandoc-templates'.John MacFarlane1-2/+2
2020-03-15make changes_github: use details tag to make changelog collapsible.John MacFarlane1-1/+1
2020-03-13tools: delete Lua documentation helper cruftAlbert Krewinkel1-8/+0
The tools were useful to generate documentation from the Lua sources. However, most Lua functions are defined in Haskell, and the even documentation of functions written in Lua has been updated manually for quite a while now. The unused helper scripts, which have bit-rot to the point that they now produce broken links, are therefore removed.
2020-02-14make pandoc-templates: copy README and styles.*.John MacFarlane1-2/+2
2020-02-07Apply linter suggestions. Add fix_spacing to lint target in Makefile.John MacFarlane1-4/+10
2019-12-22Improve pandoc man page generation.John MacFarlane1-3/+6
Use before and after includes rather than special template.
2019-12-08Use external emojis package.John MacFarlane1-3/+0
Moved the emoji-specified code into an external package we can depend on.