Dqn/build.sh

20 lines
315 B
Bash
Raw Normal View History

#!/bin/bash
set -ex
code_dir=${PWD}
mkdir -p Build
pushd Build
g++ \
-Wall \
-Werror \
-fsanitize=address \
-std=c++17 \
-D DQN_UNIT_TESTS_WITH_MAIN \
-D DQN_UNIT_TESTS_WITH_KECCAK \
2024-04-18 12:59:11 +00:00
-x ${code_dir}/dqn.cpp \
-g \
-o dqn_unit_tests
popd