modified: myjupyterlab.sh
[GalaxyCodeBases.git] / etc / Windows / vlmcsd_old_vancepym / make_mainframe_linux
blob6185263b73386e733fd3bda027648a0cc61938a6
1 #!/bin/bash
3 SMALLCC="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
4 SMALLLD="-pipe -Wl,--hash-style=sysv -Wl,-z,norelro -Wl,--build-id=none"
5 SMALL="$SMALLCC $SMALLLD"
7 export CFLAGS="$SMALLCC"
8 export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m31 -mesa -mpacked-stack -msmall-exec"
9 export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
10 export THREADS=0
11 export FEATURES=full
13 export MULTI_NAME=vlmcsdmulti-s390-glibc
14 export CLIENT_NAME=vlmcs-s390-glibc
15 export PROGRAM_NAME=vlmcsd-s390-glibc
17 make -B -j`nproc` $CLIENT_NAME $PROGRAM_NAME
19 rm -f vlmcsd.o vlmcs.o vlmcsdmulti.o
20 make -j`nproc` $MULTI_NAME
22 sstrip -z $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
24 export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mzarch -mpacked-stack -msmall-exec"
25 export MULTI_NAME=vlmcsdmulti-s390x-glibc
26 export CLIENT_NAME=vlmcs-s390x-glibc
27 export PROGRAM_NAME=vlmcsd-s390x-glibc
29 make -B -j`nproc` $CLIENT_NAME $PROGRAM_NAME
31 rm -f vlmcsd.o vlmcs.o vlmcsdmulti.o
32 export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mzarch -mpacked-stack -msmall-exec"
33 make -j`nproc` $MULTI_NAME
35 sstrip -z $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
37 cp -af vlmcsd-s390-glibc /usr/local/sbin/vlmcsd
38 cp -af vlmcs-s390-glibc /usr/local/bin/vlmcs
40 mkdir -p /usr/local/man/man1 2>/dev/null
41 mkdir -p /usr/local/man/man5 2>/dev/null
42 mkdir -p /usr/local/man/man8 2>/dev/null
43 mkdir -p /usr/local/man/man7 2>/dev/null
44 cp -a vlmcs.1 vlmcsdmulti.1 /usr/local/man/man1/
45 cp -a vlmcsd.7 /usr/local/man/man7/
46 cp -a vlmcsd.8 /usr/local/man/man8/
47 cp -a vlmcsd.ini.5 /usr/local/man/man5/
48 pbzip2 -f -9 /usr/local/man/man5/vlmcsd.ini.5 /usr/local/man/man1/vlmcs.1 /usr/local/man/man1/vlmcsdmulti.1 /usr/local/man/man7/vlmcsd.7 /usr/local/man/man8/vlmcsd.8
50 scp -p vlmcsdmulti-s390-glibc vlmcs-s390-glibc vlmcsd-s390-glibc vlmcsdmulti-s390x-glibc vlmcs-s390x-glibc vlmcsd-s390x-glibc ubuntu64.internal:x/binaries/Linux/s390/glibc