From 6f830042529ff16003a95dbe257834e608b4aa18 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 6 Aug 2017 19:17:31 +0530 Subject: [PATCH] Test DYNAMIC_ARCH on appveyor --- CMakeLists.txt | 1 + appveyor.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ed4cc4a8..a91ea5ff7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ option(BUILD_WITHOUT_LAPACK "Without LAPACK and LAPACKE (Only BLAS or CBLAS)" ON endif() option(BUILD_WITHOUT_CBLAS "Without CBLAS" OFF) option(BUILD_DEBUG "Build Debug Version" OFF) +option(DYNAMIC_ARCH "Build with DYNAMIC_ARCH" OFF) ####### if(BUILD_WITHOUT_LAPACK) set(NO_LAPACK 1) diff --git a/appveyor.yml b/appveyor.yml index 087b22665..1c0474d2d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,6 +25,8 @@ skip_commits: environment: matrix: + - COMPILER: clang-cl + DYNAMIC_ARCH: ON - COMPILER: clang-cl - COMPILER: cl @@ -39,6 +41,7 @@ before_build: - cd c:\projects\OpenBLAS - if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" . - if [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl . + - if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON . build_script: - cmake --build .