|
|
@ -57,12 +57,25 @@ HOST=aarch64-unknown-linux-gnu BUILD=aarch64-unknown-linux-gnu make "$@" -C ./de |
|
|
|
./autogen.sh |
|
|
|
CONFIG_SITE="$(pwd)/depends/aarch64-unknown-linux-gnu/share/config.site" ./configure --prefix="${PREFIX}" --host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --with-gui=no --enable-rust=no "$HARDENING_ARG" "$LCOV_ARG" CXXFLAGS='-fwrapv -fno-strict-aliasing -g' |
|
|
|
|
|
|
|
#BUILD CCLIB |
|
|
|
|
|
|
|
# Build CryptoConditions stuff |
|
|
|
WD=$PWD |
|
|
|
cd src/cc |
|
|
|
echo $PWD |
|
|
|
./makecustom |
|
|
|
cd $WD |
|
|
|
|
|
|
|
make "$@" V=1 |
|
|
|
# Build RandomX |
|
|
|
cd src/RandomX |
|
|
|
if [ -d "build" ] |
|
|
|
then |
|
|
|
ls -la build/librandomx* |
|
|
|
else |
|
|
|
mkdir build && cd build |
|
|
|
# TODO: Do things work without -DARCH=native ? |
|
|
|
# TODO: Make an env var for using native arch |
|
|
|
# CC="${CC} -g " CXX="${CXX} -g " cmake -DARCH=native .. |
|
|
|
CC="${CC} -g " CXX="${CXX} -g " cmake .. |
|
|
|
make |
|
|
|
fi |
|
|
|
|
|
|
|
CC="${CC} -g " CXX="${CXX} -g " make "$@" V=1 |
|
|
|