More make_artifacts fixes.
This commit is contained in:
parent
473a9b15be
commit
cd90bffa8c
1 changed files with 8 additions and 2 deletions
|
@ -27,8 +27,14 @@ ghc --version
|
||||||
|
|
||||||
cabal update
|
cabal update
|
||||||
cabal clean
|
cabal clean
|
||||||
cabal install -j4 -fserver -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' --install-method=copy --installdir=$ARTIFACTS
|
cabal configure -fserver -f-export-dynamic -fembed_data_files --enable-executable-static --ghc-options '-j4 +RTS -A256m -RTS -split-sections -optc-Os -optl=-pthread' pandoc pandoc-server
|
||||||
ls $ARTIFACTS
|
cabal build -j4
|
||||||
|
for f in $(find dist-newstyle -name 'pandoc' -type f -perm /400); do cp $f $ARTIFACTS/; done
|
||||||
|
for f in $(find dist-newstyle -name 'pandoc-server' -type f -perm /400); do cp $f /$ARTIFACTS/; done
|
||||||
|
|
||||||
|
# Confirm that we have static builds
|
||||||
|
file $ARTIFACTS/pandoc | grep "statically linked"
|
||||||
|
file $ARTIFACTS/pandoc-server | grep "statically linked"
|
||||||
|
|
||||||
# make deb for EXE
|
# make deb for EXE
|
||||||
make_deb() {
|
make_deb() {
|
||||||
|
|
Loading…
Reference in a new issue