Skip to content

Commit 60972b7

Browse files
committed
Increase compiler padding to 11 to allow 'clang++-x.y'
1 parent b7bc5f0 commit 60972b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/bench/bench-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pad() {
6161

6262
show_compilers() {
6363
for CXX in $CXXS; do
64-
echo -n "$(pad 7 $CXX) is: "
64+
echo -n "$(pad 11 $CXX) is: "
6565
$CXX --version | head -n 1
6666
done
6767
}

tools/bench/class-common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ compile() {
1111
SRC="$1"
1212
for CXX in $CXXS; do
1313
SO="${SRC%.*}_${CXX}.so"
14-
echo -n "$(pad 7 $CXX), $(pad 4 $CLASSES) classes compilation: "
14+
echo -n "$(pad 11 $CXX), $(pad 4 $CLASSES) classes compilation: "
1515
if ! time_command $CXX $CXXFLAGS -shared -o $SO $SRC \
1616
2>&1 | perl -ne '/ user, / and print s/\n//r'; then
1717
echo -e "Compilation failed, aborting. Tried to compile using:\n\n$CXX $CXXFLAGS -shared -o $SO $SRC\n"

0 commit comments

Comments
 (0)