X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=azure-pipelines.yml;h=1102bf0f5f15d6feb2c5f0af70a7ddeb5e142bdc;hb=refs%2Fheads%2Faccepted%2Ftizen_unified;hp=1545d56db0173d0c355f85d37743d62b88878651;hpb=8002048217dd45ec02a08ad45c1caf3d8f056013;p=platform%2Fupstream%2Fopenblas.git diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1545d56..1102bf0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -81,7 +81,7 @@ jobs: vmImage: 'windows-latest' steps: - script: | - mingw32-make CC=gcc FC=gfortran DYNAMIC_ARCH=1 DYNAMIC_LIST="NEHALEM SANDYBRIDGE HASWELL" + mingw32-make CC=gcc FC=gfortran DYNAMIC_ARCH=1 DYNAMIC_LIST="SANDYBRIDGE" - job: Windows_clang_cmake pool: @@ -119,6 +119,26 @@ jobs: cmake --build . --config Release ctest +- job: Windows_cl_flang + pool: + vmImage: 'windows-2022' + steps: + - script: | + set "PATH=C:\Miniconda\Scripts;C:\Miniconda\Library\bin;C:\Miniconda\Library\usr\bin;C:\Miniconda\condabin;%PATH%" + set "LIB=C:\Miniconda\Library\lib;%LIB%" + set "CPATH=C:\Miniconda\Library\include;%CPATH%" + conda config --add channels conda-forge --force + conda config --set auto_update_conda false + conda install --yes --quiet ninja flang + mkdir build + cd build + call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" + cmake -G "Ninja" -DCMAKE_C_COMPILER=cl -DCMAKE_Fortran_COMPILER=flang -DC_LAPACK=1 -DCMAKE_MT=mt -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON .. + cmake --build . --config Release + ctest + + + - job: OSX_OpenMP pool: vmImage: 'macOS-10.15' @@ -143,11 +163,12 @@ jobs: variables: LD_LIBRARY_PATH: /usr/local/opt/llvm/lib LIBRARY_PATH: /usr/local/opt/llvm/lib + MACOSX_DEPLOYMENT_TARGET: 11.0 steps: - script: | brew update brew install llvm libomp - make TARGET=CORE2 USE_OPENMP=1 INTERFACE64=1 DYNAMIC_ARCH=1 CC=/usr/local/opt/llvm/bin/clang FC=gfortran-10 + make TARGET=CORE2 USE_OPENMP=1 DYNAMIC_ARCH=1 CC=/usr/local/opt/llvm/bin/clang NOFORTRAN=1 - job: OSX_OpenMP_Clang_cmake pool: