[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 7c47d71b 03/13: Perform speed test for all to
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 7c47d71b 03/13: Perform speed test for all toolchains |
Date: |
Mon, 21 Nov 2022 17:29:18 -0500 (EST) |
branch: master
commit 7c47d71bfbd4dc949f70d578d2d7c4298c2b1d46
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Perform speed test for all toolchains
Updated the loop logic from 'nychthemeral_test.sh'.
---
gwc/speed_test.sh | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/gwc/speed_test.sh b/gwc/speed_test.sh
index 50cc828f..fd40e75f 100755
--- a/gwc/speed_test.sh
+++ b/gwc/speed_test.sh
@@ -1,12 +1,30 @@
#!/bin/sh
- triplets="x86_64-pc-linux-gnu x86_64-w64-mingw32"
-export LMI_COMPILER=gcc
+ lmi_toolchains="clang_gnu64 gcc_gnu64 gcc_msw64"
+export LMI_COMPILER
export LMI_TRIPLET
-for LMI_TRIPLET in ${triplets} ;
+for toolchain in ${lmi_toolchains} ;
do
+case "$toolchain" in
+ (clang_gnu64)
+ LMI_COMPILER="clang"
+ LMI_TRIPLET="x86_64-pc-linux-gnu"
+ ;;
+ (gcc_gnu64)
+ LMI_COMPILER="gcc"
+ LMI_TRIPLET="x86_64-pc-linux-gnu"
+ ;;
+ (gcc_msw64)
+ LMI_COMPILER="gcc"
+ LMI_TRIPLET="x86_64-w64-mingw32"
+ ;;
+ (*)
+ printf 'Unknown toolchain "%s".\n' "$toolchain"
+ return 1;
+ ;;
+esac
{
-printf 'LMI_TRIPLET = "%s"\n' "$LMI_TRIPLET" > /dev/tty
+printf 'toolchain = "%s"\n' "$toolchain" > /dev/tty
# shellcheck disable=SC2154
make "$coefficiency" cli_timing > /dev/null
}
- [lmi-commits] [lmi] master updated (b8fcdb21 -> d3d0a775), Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 7c47d71b 03/13: Perform speed test for all toolchains,
Greg Chicares <=
- [lmi-commits] [lmi] master 55f92d87 02/13: Record gcc version twelve pc-linux-gnu speed for commit 5a4fcaed7, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master c6528973 06/13: Specify all '*FLAGS' in one place, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 93e400db 10/13: Avoid literal '***' in a 'set -vx' script, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 8cb31fd7 01/13: Record gcc version eleven pc-linux-gnu speed for commit 5a4fcaed7, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 1a7a1e59 12/13: Use libc++ rather than libstdc++ with clang, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master b830f9a0 04/13: Record speed measurements, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 4b6b2b5c 05/13: Split long lines that will soon become longer, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master d6c7ec7a 08/13: Build and install libraries for all toolchains, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master 1e6d03ee 09/13: Print log messages before and after building, Greg Chicares, 2022/11/21
- [lmi-commits] [lmi] master d3d0a775 13/13: Record speed measurements, Greg Chicares, 2022/11/21