git.iko.soy/typeable/pandoc
on master help sign in
Revert use of llvm backend in static linux build.

It was failing for reasons I couldn't diagnose.

commit2637df2bdfdffe55dc7363feac188d9144f18fea authorJohn MacFarlane <jgm@berkeley.edu> dateMon 4 Sep 2017, 18:11 (9 years ago) parent1d0805c
1 file changed+2−2
linux/Dockerfile+2−2
linux/Dockerfile+2−2
@@ -5,7 +5,7 @@ ADD https://raw.githubusercontent.com/mitchty/alpine-ghc/master/mitch.tishmack%4
55 /etc/apk/keys/mitch.tishmack@gmail.com-55881c97.rsa.pub
66RUN apk update
77RUN apk add alpine-sdk git ca-certificates ghc cabal stack zlib-dev \
8− dpkg fakeroot sed gawk grep llvm linux-headers
8+ dpkg fakeroot sed gawk grep linux-headers
99RUN stack update
1010RUN stack config set system-ghc --global true
1111RUN mkdir -p /etc/stack
@@ -23,7 +23,7 @@ CMD git pull && \
2323 stack install --stack-yaml stack.pkg.yaml \
2424 --flag 'pandoc:static' \
2525 --flag 'pandoc:embed_data_files' \
26− --ghc-options '-fPIC -fllvm' \
26+ --ghc-options '-O2 -optc-Os -fPIC' \
2727 --local-bin-path /artifacts \
2828 pandoc pandoc-citeproc && \
2929 bash linux/make_deb.sh && \