File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ mkdir -p ${lichen_installation_dir}/tools/assignments
5252# --------------------
5353# plaintext tool
5454pushd ${lichen_repository_dir} > /dev/null
55- clang++ -I ${lichen_vendor_dir} -std=c++11 -Wall tokenizer/plaintext/plaintext_tokenizer.cpp -o ${lichen_installation_dir} /bin/plaintext_tokenizer.out
55+ clang++ -I ${lichen_vendor_dir} -std=c++11 -Wall -O3 tokenizer/plaintext/plaintext_tokenizer.cpp -o ${lichen_installation_dir} /bin/plaintext_tokenizer.out
5656if [ $? -ne 0 ]; then
5757 echo -e " ERROR: FAILED TO BUILD PLAINTEXT TOKENIZER\n"
5858 exit 1
@@ -63,7 +63,7 @@ popd > /dev/null
6363# -------------------------------------------
6464# compile & install the hash comparison tool
6565pushd ${lichen_repository_dir} > /dev/null
66- clang++ -I ${lichen_vendor_dir} -lboost_system -lboost_filesystem -Wall -g -std=c++11 -Wall compare_hashes/compare_hashes.cpp -o ${lichen_installation_dir} /bin/compare_hashes.out
66+ clang++ -I ${lichen_vendor_dir} -lboost_system -lboost_filesystem -Wall -Wextra -Werror - g -O3 -flto -funroll-loops - std=c++11 compare_hashes/compare_hashes.cpp -o ${lichen_installation_dir} /bin/compare_hashes.out
6767if [ $? -ne 0 ]; then
6868 echo -e " ERROR: FAILED TO BUILD HASH COMPARISON TOOL\n"
6969 exit 1
You can’t perform that action at this time.
0 commit comments