mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
More of 13510
This commit is contained in:
parent
724c6d51c1
commit
5e686c9c01
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# use testnet settings, if you need mainnet, use ~/.dashcore/dashd.pid file instead
|
# use testnet settings, if you need mainnet, use ~/.dashcore/dashd.pid file instead
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ script: |
|
|||||||
|
|
||||||
function create_global_faketime_wrappers {
|
function create_global_faketime_wrappers {
|
||||||
for prog in ${FAKETIME_PROGS}; do
|
for prog in ${FAKETIME_PROGS}; do
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
|
echo '#!/usr/bin/env bash' > ${WRAP_DIR}/${prog}
|
||||||
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${prog}
|
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${prog}
|
||||||
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
|
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
|
||||||
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
|
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
|
||||||
@ -94,7 +94,7 @@ script: |
|
|||||||
function create_per-host_faketime_wrappers {
|
function create_per-host_faketime_wrappers {
|
||||||
for i in $HOSTS; do
|
for i in $HOSTS; do
|
||||||
for prog in ${FAKETIME_HOST_PROGS}; do
|
for prog in ${FAKETIME_HOST_PROGS}; do
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${i}-${prog}
|
echo '#!/usr/bin/env bash' > ${WRAP_DIR}/${i}-${prog}
|
||||||
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}-${prog}
|
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}-${prog}
|
||||||
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
|
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
|
||||||
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
|
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
|
||||||
@ -126,7 +126,7 @@ script: |
|
|||||||
for prog in gcc g++; do
|
for prog in gcc g++; do
|
||||||
rm -f ${WRAP_DIR}/${prog}
|
rm -f ${WRAP_DIR}/${prog}
|
||||||
cat << EOF > ${WRAP_DIR}/${prog}
|
cat << EOF > ${WRAP_DIR}/${prog}
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# GCCVERSION=${GCCVERSION}
|
# GCCVERSION=${GCCVERSION}
|
||||||
REAL="`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1`"
|
REAL="`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1`"
|
||||||
for var in "\$@"
|
for var in "\$@"
|
||||||
|
@ -72,7 +72,7 @@ script: |
|
|||||||
|
|
||||||
function create_global_faketime_wrappers {
|
function create_global_faketime_wrappers {
|
||||||
for prog in ${FAKETIME_PROGS}; do
|
for prog in ${FAKETIME_PROGS}; do
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${prog}
|
echo '#!/usr/bin/env bash' > ${WRAP_DIR}/${prog}
|
||||||
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${prog}
|
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${prog}
|
||||||
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
|
echo "REAL=\`which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1\`" >> ${WRAP_DIR}/${prog}
|
||||||
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
|
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${prog}
|
||||||
@ -86,7 +86,7 @@ script: |
|
|||||||
function create_per-host_faketime_wrappers {
|
function create_per-host_faketime_wrappers {
|
||||||
for i in $HOSTS; do
|
for i in $HOSTS; do
|
||||||
for prog in ${FAKETIME_HOST_PROGS}; do
|
for prog in ${FAKETIME_HOST_PROGS}; do
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${i}-${prog}
|
echo '#!/usr/bin/env bash' > ${WRAP_DIR}/${i}-${prog}
|
||||||
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}-${prog}
|
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}-${prog}
|
||||||
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
|
echo "REAL=\`which -a ${i}-${prog} | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
|
||||||
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
|
echo 'export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1' >> ${WRAP_DIR}/${i}-${prog}
|
||||||
@ -104,7 +104,7 @@ script: |
|
|||||||
for i in $HOSTS; do
|
for i in $HOSTS; do
|
||||||
mkdir -p ${WRAP_DIR}/${i}
|
mkdir -p ${WRAP_DIR}/${i}
|
||||||
for prog in collect2; do
|
for prog in collect2; do
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${i}/${prog}
|
echo '#!/usr/bin/env bash' > ${WRAP_DIR}/${i}/${prog}
|
||||||
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}/${prog}
|
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}/${prog}
|
||||||
REAL=$(${i}-gcc -print-prog-name=${prog})
|
REAL=$(${i}-gcc -print-prog-name=${prog})
|
||||||
echo "export MALLOC_PERTURB_=255" >> ${WRAP_DIR}/${i}/${prog}
|
echo "export MALLOC_PERTURB_=255" >> ${WRAP_DIR}/${i}/${prog}
|
||||||
@ -113,7 +113,7 @@ script: |
|
|||||||
touch -d "${REFERENCE_DATETIME}" ${WRAP_DIR}/${i}/${prog}
|
touch -d "${REFERENCE_DATETIME}" ${WRAP_DIR}/${i}/${prog}
|
||||||
done
|
done
|
||||||
for prog in gcc g++; do
|
for prog in gcc g++; do
|
||||||
echo '#!/bin/bash' > ${WRAP_DIR}/${i}-${prog}
|
echo '#!/usr/bin/env bash' > ${WRAP_DIR}/${i}-${prog}
|
||||||
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}-${prog}
|
echo "# GCCVERSION=${GCCVERSION}" >> ${WRAP_DIR}/${i}-${prog}
|
||||||
echo "REAL=\`which -a ${i}-${prog}-posix | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
|
echo "REAL=\`which -a ${i}-${prog}-posix | grep -v ${WRAP_DIR}/${i}-${prog} | head -1\`" >> ${WRAP_DIR}/${i}-${prog}
|
||||||
echo '# Add the gcc version to the wrapper so that ccache takes this into account (we use CCACHE_COMPILERCHECK=content)' >> ${WRAP_DIR}/${i}-${prog}
|
echo '# Add the gcc version to the wrapper so that ccache takes this into account (we use CCACHE_COMPILERCHECK=content)' >> ${WRAP_DIR}/${i}-${prog}
|
||||||
|
Loading…
Reference in New Issue
Block a user