diff --git a/Athos/CompileTF.sh b/Athos/CompileTF.sh
old mode 100644
new mode 100755
index 404461d18df7f08f4e342fefeeb6454cb5d3efae..ccbab3b570f0edcd89ec110b113d550e27be2cf9
--- a/Athos/CompileTF.sh
+++ b/Athos/CompileTF.sh
@@ -181,4 +181,9 @@ elif [ "$compilationTargetLower" == "porthos" ]; then
 	# cd "$porthosFullDirPath"
 	# make -j
 	echo -e "All compilation done."
+	if hash clang-format 2> /dev/null; then
+		clang-format -style=LLVM $fullDirPath/$finalCodeOutputFileName > tmp_clang
+		mv tmp_clang $fullDirPath/$finalCodeOutputFileName
+	fi
 fi
+