From ede5f94aca6907f4d49c1b2c8d09d31d71b22749 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Tue, 5 Sep 2023 05:23:45 +0200 Subject: test --- build_and_test.sh | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'build_and_test.sh') diff --git a/build_and_test.sh b/build_and_test.sh index c80c6e8..b2002c9 100644 --- a/build_and_test.sh +++ b/build_and_test.sh @@ -7,22 +7,26 @@ COMPILEPP=g++ OBJ_POSTFIX=.o EXE_POSTFIX= -if command -v cl.exe >/dev/null 2>&1; then - echo "C compiler found - MSVC" +UNAME=$(command -v uname) + +echo "UNAME: ${UNAME}" + +#if command -v cl.exe >/dev/null 2>&1; then +# echo "C compiler found - MSVC" COMPILE=cl.exe COMPILEPP=cl.exe OBJ_POSTFIX=.obj EXE_POSTFIX=.exe -elif command -v gcc >/dev/null 2>&1; then - echo "C compiler found - GCC" -elif command -v clang >/dev/null 2>&1; then - echo "C compiler found - Clang" - COMPILE=clang - COMPILEPP=clang -else - echo "C compiler not found" - exit 1 -fi +#elif command -v gcc >/dev/null 2>&1; then +# echo "C compiler found - GCC" +#elif command -v clang >/dev/null 2>&1; then +# echo "C compiler found - Clang" +# COMPILE=clang +# COMPILEPP=clang +#else +# echo "C compiler not found" +# exit 1 +#fi echo "" -- cgit v1.2.3