Merge 214c299a2b
into ab87ee6b48
This commit is contained in:
commit
e04e489f15
|
@ -9,6 +9,9 @@ set(OpenBLAS_MINOR_VERSION 3)
|
||||||
set(OpenBLAS_PATCH_VERSION 0.dev)
|
set(OpenBLAS_PATCH_VERSION 0.dev)
|
||||||
set(OpenBLAS_VERSION "${OpenBLAS_MAJOR_VERSION}.${OpenBLAS_MINOR_VERSION}.${OpenBLAS_PATCH_VERSION}")
|
set(OpenBLAS_VERSION "${OpenBLAS_MAJOR_VERSION}.${OpenBLAS_MINOR_VERSION}.${OpenBLAS_PATCH_VERSION}")
|
||||||
|
|
||||||
|
link_directories("C:/Miniconda36-x64/Library")
|
||||||
|
link_directories("C:/Miniconda36-x64/Library/lib")
|
||||||
|
|
||||||
# Adhere to GNU filesystem layout conventions
|
# Adhere to GNU filesystem layout conventions
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
|
|
15
appveyor.yml
15
appveyor.yml
|
@ -25,22 +25,33 @@ skip_commits:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
|
- COMPILER: flang
|
||||||
|
- COMPILER: cl
|
||||||
|
- COMPILER: clang-cl
|
||||||
- COMPILER: clang-cl
|
- COMPILER: clang-cl
|
||||||
DYNAMIC_ARCH: ON
|
DYNAMIC_ARCH: ON
|
||||||
- COMPILER: clang-cl
|
|
||||||
- COMPILER: cl
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- if [%COMPILER%]==[clang-cl] call C:\Miniconda36-x64\Scripts\activate.bat
|
- if [%COMPILER%]==[clang-cl] call C:\Miniconda36-x64\Scripts\activate.bat
|
||||||
- if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force
|
- if [%COMPILER%]==[clang-cl] conda config --add channels conda-forge --force
|
||||||
- if [%COMPILER%]==[clang-cl] conda install --yes clangdev ninja cmake
|
- if [%COMPILER%]==[clang-cl] conda install --yes clangdev ninja cmake
|
||||||
- if [%COMPILER%]==[clang-cl] call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
- if [%COMPILER%]==[clang-cl] call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||||
|
|
||||||
|
- if [%COMPILER%]==[flang] call C:\Miniconda36-x64\Scripts\activate.bat
|
||||||
|
- if [%COMPILER%]==[flang] conda config --add channels conda-forge --force
|
||||||
|
- if [%COMPILER%]==[flang] conda config --add channels isuruf/label/flang
|
||||||
|
- if [%COMPILER%]==[flang] conda install --yes clangdev flangdev cmake
|
||||||
|
- if [%COMPILER%]==[flang] call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||||
|
|
||||||
|
- ps: cp C:\Miniconda36-x64\Library\lib\*.lib "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10586.0\um\x64"
|
||||||
|
- ps: cp C:\Miniconda36-x64\Library\lib\*.lib "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.14393.0\um\x64"
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
- echo Running cmake...
|
- echo Running cmake...
|
||||||
- cd c:\projects\OpenBLAS
|
- cd c:\projects\OpenBLAS
|
||||||
- if [%COMPILER%]==[cl] cmake -G "Visual Studio 12 Win64" .
|
- 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 [%COMPILER%]==[clang-cl] cmake -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl .
|
||||||
|
- if [%COMPILER%]==[flang] cmake -G "NMake Makefiles" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_WITHOUT_LAPACK=Off .
|
||||||
- if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON .
|
- if [%DYNAMIC_ARCH%]==[ON] cmake -DDYNAMIC_ARCH=ON .
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
# had to do this for MSVC, else CMake automatically assumes I have ifort... -hpa
|
# had to do this for MSVC, else CMake automatically assumes I have ifort... -hpa
|
||||||
include(CMakeForceCompiler)
|
# include(CMakeForceCompiler)
|
||||||
CMAKE_FORCE_Fortran_COMPILER(gfortran GNU)
|
# CMAKE_FORCE_Fortran_COMPILER(gfortran GNU)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (NOT NO_LAPACK)
|
if (NOT NO_LAPACK)
|
||||||
|
|
|
@ -1018,7 +1018,7 @@
|
||||||
lapack_make_complex_double,
|
lapack_make_complex_double,
|
||||||
|
|
||||||
# @(SRC_OBJ) from `lapack-3.5.0/lapacke/src/Makefile`
|
# @(SRC_OBJ) from `lapack-3.5.0/lapacke/src/Makefile`
|
||||||
LAPACKE_cbbcsd,
|
_LAPACKE_cbbcsd_,
|
||||||
LAPACKE_cbbcsd_work,
|
LAPACKE_cbbcsd_work,
|
||||||
LAPACKE_cbdsqr,
|
LAPACKE_cbdsqr,
|
||||||
LAPACKE_cbdsqr_work,
|
LAPACKE_cbdsqr_work,
|
||||||
|
|
Loading…
Reference in New Issue