Skip to content
Snippets Groups Projects
Commit bd778c41 authored by jdh8d's avatar jdh8d
Browse files

No commit message

No commit message
parent ebe3f1ca
No related branches found
No related tags found
No related merge requests found
* text=auto !eol
/build-all.sh -text
/build_diehard.sh -text
/cfar_postgres_setup.sh -text
/cfar_postgres_setup_for_other.sh -text
/clean-all.sh -text
/clean_diehard.sh -text
/get-peasoup-packages.sh -text
/irdb_vars -text
/postgres_setup.sh -text
......
#!/bin/bash
if [ ! -f DieHard/src/libdiehard.so ]; then
sed -i "s|/dev/urandom|/dev/cfar_urandom|" \
DieHard/src/archipelago/benchmarks/pine4.64/imap/src/osdep/unix/ssl_unix.c \
DieHard/src/include/rng/realrandomvalue.h \
DieHard/src/exterminator/src/realrandomvalue.h
cd DieHard/src
g++ -std=c++11 -W -Wall -O0 -pipe -fPIC -m64 -march=nocona -ffast-math -g -I. -Iinclude -Iinclude/layers -Iinclude/util -Iinclude/math -Iinclude/static -Iinclude/rng -Iinclude/hoard -Iinclude/superblocks -IHeap-Layers -DDIEHARD_DIEHARDER=0 -D_REENTRANT=1 -DDIEHARD_MULTITHREADED=1 -shared -D'CUSTOM_PREFIX(x)=diehard##x' Heap-Layers/wrappers/gnuwrapper.cpp source/libdieharder.cpp -Bsymbolic -o libdiehard.so -ldl -lpthread -Dlinux
fi
echo Diehard Build complete.
#!/bin/bash
\rm -f DieHard/src/libdiehard.so
echo Diehard cleaned.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment