From 751d127d7c25b7756c009397c19e3dc6e1165b8d Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 19 Apr 2021 22:26:34 +0200 Subject: [PATCH 1/2] Include cblas_test.h to achieve int/long size change with INTERFACE64 --- ctest/constant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ctest/constant.c b/ctest/constant.c index 861d70bcc..5a26a4dde 100644 --- a/ctest/constant.c +++ b/ctest/constant.c @@ -1,3 +1,4 @@ +#include "cblas_test.h" int CBLAS_CallFromC; int RowMajorStrg; From 94a5a1f0f1571d377137cbcf7b6249d559541559 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 19 Apr 2021 22:27:08 +0200 Subject: [PATCH 2/2] Add OSX build variations to Azure CI --- azure-pipelines.yml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fdf184b22..68e48437f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -74,7 +74,27 @@ jobs: steps: - script: | brew update - make TARGET=CORE2 DYNAMIC_ARCH=1 USE_OPENMP=1 CC=gcc-10 FC=gfortran-10 - - - + make TARGET=CORE2 DYNAMIC_ARCH=1 USE_OPENMP=1 INTERFACE64=1 CC=gcc-10 FC=gfortran-10 + +- job: OSX_GCC_Nothreads + pool: + vmImage: 'macOS-10.15' + steps: + - script: | + brew update + make USE_THREADS=0 CC=gcc-10 FC=gfortran-10 + +- job: OSX_OpenMP_Clang + pool: + vmImage: 'macOS-10.15' + variables: + LD_LIBRARY_PATH: /usr/local/opt/llvm/lib + LIBRARY_PATH: /usr/local/opt/llvm/lib + steps: + - script: | + brew update + brew install llvm libomp + brew tap LouisBrunner/valgrind + brew install --HEAD LouisBrunner/valgrind/valgrind + make TARGET=SANDYBRIDGE NO_AVX512=1 USE_OPENMP=1 INTERFACE64=1 DYNAMIC_ARCH=1 DYNAMIC_LIST=SANDYBRIDGE DEBUG=1 NO_PARALLEL_MAKE=1 CC=/usr/local/opt/llvm/bin/clang FC=gfortran-10 + cd ctest; OMP_NUM_THREADS=1 valgrind ./xscblat2