File tree 1 file changed +2
-2
lines changed
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
52
52
# --------------------
53
53
# plaintext tool
54
54
pushd ${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
56
56
if [ $? -ne 0 ]; then
57
57
echo -e " ERROR: FAILED TO BUILD PLAINTEXT TOKENIZER\n"
58
58
exit 1
@@ -63,7 +63,7 @@ popd > /dev/null
63
63
# -------------------------------------------
64
64
# compile & install the hash comparison tool
65
65
pushd ${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
67
67
if [ $? -ne 0 ]; then
68
68
echo -e " ERROR: FAILED TO BUILD HASH COMPARISON TOOL\n"
69
69
exit 1
You can’t perform that action at this time.
0 commit comments