mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Change gitian defaults back to elements, leave commented out lines as switch
This commit is contained in:
parent
6d6ddc55b3
commit
7bd066705c
3 changed files with 29 additions and 15 deletions
|
|
@ -42,7 +42,9 @@ script: |
|
|||
|
||||
WRAP_DIR=$HOME/wrapped
|
||||
HOSTS="i686-pc-linux-gnu x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu"
|
||||
CONFIGFLAGS="--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests --enable-liquid"
|
||||
#LIQUID BUILDS: Replace next line with following
|
||||
CONFIGFLAGS="--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests"
|
||||
#CONFIGFLAGS="--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests --enable-liquid"
|
||||
FAKETIME_HOST_PROGS="gcc g++"
|
||||
FAKETIME_PROGS="date ar ranlib nm"
|
||||
HOST_CFLAGS="-O2 -g"
|
||||
|
|
@ -186,10 +188,13 @@ script: |
|
|||
find . -name "lib*.la" -delete
|
||||
find . -name "lib*.a" -delete
|
||||
rm -rf ${DISTNAME}/lib/pkgconfig
|
||||
mv ${DISTNAME}/bin/elements-qt ${DISTNAME}/bin/liquid-qt
|
||||
mv ${DISTNAME}/bin/elements-cli ${DISTNAME}/bin/liquid-cli
|
||||
mv ${DISTNAME}/bin/elementsd ${DISTNAME}/bin/liquidd
|
||||
mv ${DISTNAME}/bin/elements-tx ${DISTNAME}/bin/liquid-tx
|
||||
|
||||
# LIQUID: Uncomment next few lines
|
||||
#mv ${DISTNAME}/bin/elements-qt ${DISTNAME}/bin/liquid-qt
|
||||
#mv ${DISTNAME}/bin/elements-cli ${DISTNAME}/bin/liquid-cli
|
||||
#mv ${DISTNAME}/bin/elementsd ${DISTNAME}/bin/liquidd
|
||||
#mv ${DISTNAME}/bin/elements-tx ${DISTNAME}/bin/liquid-tx
|
||||
|
||||
find ${DISTNAME}/bin -type f -executable -exec ../contrib/devtools/split-debug.sh {} {} {}.dbg \;
|
||||
find ${DISTNAME}/lib -type f -exec ../contrib/devtools/split-debug.sh {} {} {}.dbg \;
|
||||
cp ../doc/README.md ${DISTNAME}/
|
||||
|
|
|
|||
|
|
@ -36,7 +36,9 @@ files:
|
|||
script: |
|
||||
WRAP_DIR=$HOME/wrapped
|
||||
HOSTS="x86_64-apple-darwin14"
|
||||
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests --enable-liquid GENISOIMAGE=$WRAP_DIR/genisoimage"
|
||||
#LIQUID BUILDS: Replace next line with following
|
||||
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests GENISOIMAGE=$WRAP_DIR/genisoimage"
|
||||
#CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests --enable-liquid GENISOIMAGE=$WRAP_DIR/genisoimage"
|
||||
FAKETIME_HOST_PROGS=""
|
||||
FAKETIME_PROGS="ar ranlib date dmg genisoimage"
|
||||
|
||||
|
|
@ -161,10 +163,12 @@ script: |
|
|||
${WRAP_DIR}/dmg dmg "${OSX_VOLNAME}.dmg" ${OUTDIR}/${DISTNAME}-osx-unsigned.dmg
|
||||
|
||||
cd installed
|
||||
mv ${DISTNAME}/bin/elements-qt ${DISTNAME}/bin/liquid-qt
|
||||
mv ${DISTNAME}/bin/elements-cli ${DISTNAME}/bin/liquid-cli
|
||||
mv ${DISTNAME}/bin/elementsd ${DISTNAME}/bin/liquidd
|
||||
mv ${DISTNAME}/bin/elements-tx ${DISTNAME}/bin/liquid-tx
|
||||
|
||||
# LIQUID: Uncomment next few lines
|
||||
#mv ${DISTNAME}/bin/elements-qt ${DISTNAME}/bin/liquid-qt
|
||||
#mv ${DISTNAME}/bin/elements-cli ${DISTNAME}/bin/liquid-cli
|
||||
#mv ${DISTNAME}/bin/elementsd ${DISTNAME}/bin/liquidd
|
||||
#mv ${DISTNAME}/bin/elements-tx ${DISTNAME}/bin/liquid-tx
|
||||
|
||||
find ${DISTNAME} | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ${OUTDIR}/${DISTNAME}-${i}.tar.gz
|
||||
cd ../../
|
||||
|
|
|
|||
|
|
@ -32,7 +32,9 @@ files: []
|
|||
script: |
|
||||
WRAP_DIR=$HOME/wrapped
|
||||
HOSTS="i686-w64-mingw32 x86_64-w64-mingw32"
|
||||
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests --enable-liquid"
|
||||
#LIQUID BUILDS: Replace next line with following
|
||||
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests"
|
||||
#CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests --enable-liquid"
|
||||
FAKETIME_HOST_PROGS="ar ranlib nm windres strip objcopy"
|
||||
FAKETIME_PROGS="date makensis zip"
|
||||
HOST_CFLAGS="-O2 -g"
|
||||
|
|
@ -166,10 +168,13 @@ script: |
|
|||
rename 's/-setup\.exe$/-setup-unsigned.exe/' *-setup.exe
|
||||
cp -f elements-*setup*.exe $OUTDIR/
|
||||
cd installed
|
||||
mv ${DISTNAME}/bin/elements-qt.exe ${DISTNAME}/bin/liquid-qt.exe
|
||||
mv ${DISTNAME}/bin/elements-cli.exe ${DISTNAME}/bin/liquid-cli.exe
|
||||
mv ${DISTNAME}/bin/elementsd.exe ${DISTNAME}/bin/liquidd.exe
|
||||
mv ${DISTNAME}/bin/elements-tx.exe ${DISTNAME}/bin/liquid-tx.exe
|
||||
|
||||
# LIQUID: Uncomment next few lines
|
||||
#mv ${DISTNAME}/bin/elements-qt.exe ${DISTNAME}/bin/liquid-qt.exe
|
||||
#mv ${DISTNAME}/bin/elements-cli.exe ${DISTNAME}/bin/liquid-cli.exe
|
||||
#mv ${DISTNAME}/bin/elementsd.exe ${DISTNAME}/bin/liquidd.exe
|
||||
#mv ${DISTNAME}/bin/elements-tx.exe ${DISTNAME}/bin/liquid-tx.exe
|
||||
|
||||
find ${DISTNAME}/bin -type f -executable -exec ${i}-objcopy --only-keep-debug {} {}.dbg \; -exec ${i}-strip -s {} \; -exec ${i}-objcopy --add-gnu-debuglink={}.dbg {} \;
|
||||
find ${DISTNAME} -not -name "*.dbg" -type f | sort | zip -X@ ${OUTDIR}/${DISTNAME}-${i}.zip
|
||||
find ${DISTNAME} -name "*.dbg" -type f | sort | zip -X@ ${OUTDIR}/${DISTNAME}-${i}-debug.zip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue