Revert use of llvm backend in static linux build.
It was failing for reasons I couldn't diagnose.
This commit is contained in:
parent
1d0805ce41
commit
2637df2bdf
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ ADD https://raw.githubusercontent.com/mitchty/alpine-ghc/master/mitch.tishmack%4
|
|||
/etc/apk/keys/mitch.tishmack@gmail.com-55881c97.rsa.pub
|
||||
RUN apk update
|
||||
RUN apk add alpine-sdk git ca-certificates ghc cabal stack zlib-dev \
|
||||
dpkg fakeroot sed gawk grep llvm linux-headers
|
||||
dpkg fakeroot sed gawk grep linux-headers
|
||||
RUN stack update
|
||||
RUN stack config set system-ghc --global true
|
||||
RUN mkdir -p /etc/stack
|
||||
|
@ -23,7 +23,7 @@ CMD git pull && \
|
|||
stack install --stack-yaml stack.pkg.yaml \
|
||||
--flag 'pandoc:static' \
|
||||
--flag 'pandoc:embed_data_files' \
|
||||
--ghc-options '-fPIC -fllvm' \
|
||||
--ghc-options '-O2 -optc-Os -fPIC' \
|
||||
--local-bin-path /artifacts \
|
||||
pandoc pandoc-citeproc && \
|
||||
bash linux/make_deb.sh && \
|
||||
|
|
Loading…
Add table
Reference in a new issue