Compile on Linux again, fix comment warning, implement output capture on exec on posix
This commit is contained in:
@@ -1,8 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
code_dir=${PWD}
|
||||
mkdir -p Build
|
||||
|
||||
pushd Build
|
||||
g++ ${code_dir}/dqn_unit_tests.cpp -D DQN_TEST_WITH_MAIN -std=c++17 -o dqn_unit_tests
|
||||
g++ \
|
||||
-Wall \
|
||||
-Werror \
|
||||
-fsanitize=address \
|
||||
-std=c++17 \
|
||||
-D DQN_IMPLEMENTATION \
|
||||
-D DQN_UNIT_TESTS_WITH_MAIN \
|
||||
-D DQN_UNIT_TESTS_WITH_KECCAK \
|
||||
-x c++ ${code_dir}/dqn.h \
|
||||
-g \
|
||||
-o dqn_unit_tests
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user