Commit Graph

162 Commits

Author SHA1 Message Date
Martin Kroeker 26f658c9d2
Update version to 0.3.12 for release 2020-10-24 12:14:45 +02:00
Martin Kroeker 26a701f4ad
Update version string to 0.3.11.dev 2020-10-17 22:40:06 +02:00
Martin Kroeker fe9015b619
Update version for 0.3.11 release 2020-10-17 22:10:50 +02:00
Martin Kroeker 2c552f1074
Change "HALF" and "sh" to "BFLOAT16" and "sb" 2020-10-12 00:11:31 +02:00
Martin Kroeker e396ec8b56
Allow building support for only a subset of variable types 2020-10-11 15:11:15 +02:00
Martin Kroeker 8c5c991bd7
Add cpp_thread_test options 2020-09-17 13:45:40 +02:00
Albert Ziegenhagel 6b731d917f Do not require pkg-config to generate the *.pc file
Generating the pkg-config file does not actually depend on pkg-config being available.
2020-08-18 08:48:48 +02:00
Martin Kroeker 6794ac3415
Add SYMBOLPREFIX and/or -SUFFIX to cblas.h if needed 2020-08-02 11:20:08 +02:00
Martin Kroeker d4a0299e16
Do not build lapack-test on MSVC for now (same as with BLAS test) 2020-07-09 13:57:27 +02:00
Martin Kroeker 1d63631afe
Add lapack-test 2020-07-09 11:42:02 +02:00
Martin Kroeker 1c53e1366d
Increment version to 0.3.10.dev 2020-06-14 22:04:37 +02:00
Martin Kroeker 95dbeff66d
Merge branch 'release-0.3.0' into develop 2020-06-14 22:02:45 +02:00
Martin Kroeker 1eb1979050
Increment version to 0.3.10.dev 2020-06-14 21:57:15 +02:00
Martin Kroeker 909897f13b
Document option USE_LOCKING 2020-05-31 12:37:57 +02:00
Martin Kroeker 5dd14e3d48
Make building the bfloat16 functions conditional on option BUILD_HALF (#2590)
* make building the bfloat16 BLAS functions conditional on BUILD_HALF

* pass the BUILD_HALF option to gensymbol

* Pass BUILD_HALF as a compiler define for dynamic_arch builds
2020-05-01 09:58:30 +02:00
Martin Kroeker 239282d5e2
Use CMAKE_SHARED_LINKER_FLAGS to pass MSVC linker option
target_link_libraries does not work here according to issue 2472
2020-04-20 22:30:51 +02:00
Rajalakshmi Srinivasaraghavan 22bb50fb81 cmake fixes 2020-04-17 13:35:17 -05:00
Martin Kroeker 960dec234f
Version 0.3.9 2020-03-02 00:09:49 +01:00
Martin Kroeker f03dd23e90 Increment version to 0.3.9.dev 2020-02-09 23:18:07 +01:00
Martin Kroeker fa93d63365 Merge branch 'release-0.3.0' into develop 2020-02-09 23:16:06 +01:00
Martin Kroeker 7b6808b69c
Increment version to 0.3.8.dev 2019-08-11 23:28:13 +02:00
Martin Kroeker ebe2f47a0f
Set version to 0.3.7 2019-08-11 23:16:11 +02:00
Martin Kroeker 9086543f50
Utest needs CBLAS but not necessarily FORTRAN 2019-07-06 14:29:47 +02:00
Martin Kroeker a3d4c65d62
Add NO_AFFINITY to available options on Linux, and set it to ON
to match the gmake default. Fixes second part of #2114
2019-05-09 11:52:02 +02:00
Martin Kroeker e4864a8933
Fix module definition conflicts between LAPACK and ReLAPACK
for #2043
2019-03-04 21:17:08 +01:00
Martin Kroeker 3d155cff83
Merge pull request #1981 from edisongustavo/develop
Fix include directory of exported targets
2019-01-28 15:44:42 +01:00
Edison Gustavo Muenz e908ac2a51 Fix include directory of exported targets 2019-01-23 15:09:13 +01:00
Martin Kroeker f0d834b824
Use VERSION_LESS for comparisons involving software version numbers 2019-01-22 12:32:24 +01:00
Daniel Cohen Gindi 63bbd7b0d7 Better support for MSVC/Windows in CMake 2019-01-21 17:47:47 +02:00
Martin Kroeker 2940798ea7
Increment version to 0.3.6.dev 2018-12-31 23:10:59 +01:00
Martin Kroeker 93fa6b7b76
Increment version to 0.3.5.dev 2018-12-02 23:42:33 +01:00
Martin Kroeker b028960aba
Merge branch 'release-0.3.0' into develop 2018-12-02 23:38:49 +01:00
Martin Kroeker 474f7e9583
Add SYMBOLPREFIX and -SUFFIX options and improve help output 2018-10-06 14:28:04 +02:00
Martin Kroeker 2982ce505d
Update version to 0.3.4.dev 2018-08-31 00:18:37 +02:00
Martin Kroeker 3197f86762
Version 0.3.3 2018-08-30 23:43:14 +02:00
Scott Thornton 2a9a9389ef Added target_include_directories() 2018-08-02 14:58:52 -05:00
Scott Thornton 8ebf541e97 Set EXPORT_NAME to match OpenBLASConfig.cmake 2018-07-30 15:18:29 -05:00
Martin Kroeker 2cc8fb0ad2
Set version to 0.3.3.dev 2018-07-30 08:22:38 +02:00
Martin Kroeker 64826a0d7d
Merge branch 'release-0.3.0' into develop 2018-07-29 22:37:09 +02:00
Martin Kroeker 1392eba488
set version number to 0.3.2.dev 2018-07-01 12:01:16 +02:00
Martin Kroeker e6d7711199
remove dev suffix from version number 2018-07-01 11:59:47 +02:00
Martin Kroeker e65f451409
include CMakePackageConfigHelpers 2018-06-10 15:09:43 +02:00
Martin Kroeker 0bea6bb9e7
Create OpenBLASConfig.cmake from cmake as well 2018-06-10 09:24:37 +02:00
Martin Kroeker 5fae96fb70
Update version to 0.3.1.dev 2018-05-31 12:43:45 +02:00
xoviat b3f24c9664
CMake: Use the correct library name on windows
FindBLAS and FindLAPACK don't correctly detect the OpenBLAS library
name on windows. I am unsure why this was originally set this way, but
it has caused me some trouble.
2018-01-11 11:34:53 -06:00
Martin Kroeker 9381ac2748
Explicitly link against libm on Android with cmake as well
Patch from #1384
2017-12-05 13:02:48 +01:00
Ian Henriksen 72956e8950 Build MATGEN LAPACK routines by default when building with CMake. 2017-11-06 14:47:27 -06:00
Martin Kroeker 78cec6209c Add ReLAPACK option 2017-10-12 16:58:37 +02:00
Sacha ef64991506 Clean up config file writing. 2017-08-23 12:47:38 +10:00
Sacha 7a867082d8 Fix open_blas.config which was never working out-of-source. Remove need for gen_config_h.exe. If OpenMP is requested, do not silently ignore when it isn't available. 2017-08-23 11:16:24 +10:00
Sacha Refshauge a1b87eac6b Do not require Perl for MSVC if CMake >= 3.4 2017-08-23 07:19:02 +10:00
Sacha Refshauge 47ebce4d1a Clean up, fix old typos. Simplify arch usages. Move system arch check to earlier position. 2017-08-21 00:37:29 +10:00
Sacha Refshauge b9ec72546c Only run utest without NOFORTRAN, same as Makefile. Linux now compiles. 2017-08-20 00:13:24 +10:00
Sacha Refshauge 6aac06587d Fix typos and use CMake OpenMP support. 2017-08-17 17:27:01 +10:00
7c1acc07f0 Fix bug that required fortran. Fix bug that needed CXX var. Remove redundant set vars. Fix threading detection. Do not attempt to run code if cross compiling. 2017-08-17 03:32:04 +10:00
38d273ea03 Drop some redundant vars and improve arch detection in CMake. 2017-08-17 02:04:36 +10:00
7242cdc4ec Allow CMake to determine if it is building static or shared. 2017-08-17 00:51:04 +10:00
90a4dab501 Let CMake deal with build type. 2017-08-17 00:35:54 +10:00
Isuru Fernando 6f83004252 Test DYNAMIC_ARCH on appveyor 2017-08-06 19:17:31 +05:30
Isuru Fernando d798487213 Fixes for dynamic_arch. almost there 2017-08-02 17:25:49 +05:30
Isuru Fernando 4260215adf Support DYNAMIC_ARCH with cmake 2017-08-01 22:25:52 +05:30
Isuru Fernando 8381591f56 No need of a temp file for f77blas.h 2017-08-01 15:27:19 +05:30
Isuru Fernando c9c13a8a0c Fix installing cblas.h and fix tabs 2017-08-01 14:58:49 +05:30
Isuru Fernando 7a96499b29 Don't change timestamps 2017-08-01 13:43:59 +05:30
Zhang Xianyi a797666fbe Bump develop version for 0.3.0. 2017-07-24 12:06:29 +08:00
Zhang Xianyi 27a9df6477 Update doc for 0.2.20 version. 2017-07-24 11:55:10 +08:00
Neil Shipp 34513be726 Add Microsoft Windows 10 UWP build support 2017-06-23 13:07:34 -07:00
Neil Shipp 5de7727cc7 Reorder dependencies to allow in-place build to succeed the first time. 2017-06-22 18:05:19 -07:00
Neil Shipp 96df4b9b17 Avoid truncating cblas.h when compiling gencblas target 2017-06-22 17:08:09 -07:00
Neil Shipp 29dc8e0c61 Revert changes to sed and awk 2017-06-21 17:49:57 -07:00
Neil Shipp 65e56cb29d Add 64bit support for Microsoft Visual Studio 2017-06-21 13:38:22 -07:00
Martin Kroeker 8f0d6c06a9 Fix installation of header files with cmake (#1186)
* Fix installation of header files with cmake 

Install only the required header files, with openblas_config.h preprocessed like in Makefile.install
Fixes #1184

* Update CMakeLists.txt

Escape remaining semicolons in awk argument list (to get it working on Windows as well)

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Add files via upload

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

see if it is the single quotes that cause the problem on windows

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Use C utility instead of awk for header generation in cmake builds

* Update CMakeLists.txt

* Fix generation and installation of header files

Generate openblas_config.h and f77blas.h with same contents as in plain Makefile builds and install only the public header files
2017-06-01 16:36:26 +02:00
David Seifert ed79a29d87 Use GNUInstallDirs to allow changing target directories
* Multi-lib distributions need to change the libdir
  which is only portably possible with `GNUInstallDirs`.
* Multi-arch distributions such as Debian and Exherbo
  need to be able to change the bindir.
2017-04-16 00:43:47 +02:00
Martin Kroeker cd8f80634f Create and install openblas.pc in cmake builds 2017-02-12 14:37:33 +01:00
Martin Kroeker bdd51cdabc Add cmake install target
Add CMAKE install target (based on patch provided by PrimarchOfTheSpaceWolves in #957)
This was originally merged as 988 but accidentally reverted by my subsequent PR the following day
2017-02-11 16:43:46 +01:00
Zhang Xianyi 842d842751 Update develop for 0.2.20.dev. 2016-09-01 00:01:23 -04:00
Zhang Xianyi 821affb9a0 Update doc for 0.2.19. 2016-08-31 23:58:29 -04:00
John Biddiscombe 053044ae4d Replace CMAKE_SOURCE_DIR/CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR
If OpenBLAS is built using add_subdirectory(OpenBlas) as part of another project
then the paths set by CMAKE_XXX_DIR are relative to the parent project
and not the OpenBLAS project.
2016-05-25 09:13:28 +02:00
Zhang Xianyi 9253dadaa7 Bump to 0.2.19.dev. 2016-04-12 15:32:10 -04:00
Zhang Xianyi 1e03a62b67 Update doc for 0.2.18 version. 2016-04-12 15:28:31 -04:00
Zhang Xianyi 9b987badb0 Merge branch 'master' into develop
Bump to 0.2.18.dev

Conflicts:
	CMakeLists.txt
	Makefile.rule
2016-03-20 20:48:21 -04:00
Zhang Xianyi 4f3153395a Update doc for 0.2.17. 2016-03-20 20:43:42 -04:00
Zhang Xianyi ec4390a967 Bump devlop version to 0.2.17.dev. 2016-03-15 14:52:01 -04:00
Zhang Xianyi 8c0fb1258d Update 0.2.16 doc 2016-03-15 14:48:41 -04:00
Zhang Xianyi 937493bfeb Release 0.2.16 rc1 2016-02-23 18:29:21 -05:00
Zhang Xianyi 5cc0301fc3 Enable utest for appveyor. 2016-02-12 01:50:20 -05:00
Zhang Xianyi 19a6dedfd6 Add utest for CMake. 2016-02-12 05:38:13 +08:00
Zhang Xianyi 4e4a3e783f Update develop version. 2015-11-11 04:14:58 +08:00
Zhang Xianyi b809f99cee Add CBLAS test for CMAKE. 2015-10-26 23:42:21 +08:00
Zhang Xianyi f8eba3d548 Fixed cmake build bugs on Linux. 2015-08-11 16:25:16 -05:00
Zhang Xianyi f874465bb8 Use cmake to build OpenBLAS GENERIC Target on MSVC x86 64-bit.
Disable CBLAS and LAPACK.
2015-08-10 14:10:44 -05:00
Zhang Xianyi 7ac7e147d4 Fixed cmake building bugs on Linux. Disable LAPACK by default. 2015-08-04 04:37:05 +08:00
Hank Anderson 1d183dcda8 Added lapacke sources. 2015-02-25 16:51:08 -06:00
Hank Anderson 00e373aea6 Added LAPACK sources directly to add_library call instead of OBJECT. 2015-02-25 10:18:18 -06:00
Hank Anderson 504cdb10ed Added check for MSVC before enabling fortran.
Currently forcing gfortran, instead of assuming ifort.
2015-02-24 14:31:45 -06:00
Hank Anderson 0d8e227ea7 Changed strategy for setting preprocessor definitions.
Instead of generating separate object files for each permutation of
defines for a source file, GenerateNamedObjects now writes an entirely
new source file and inserts the defines as #define c statements.

This solves a problem I ran into with ar.exe where it was refusing to
link objects that had the same filename despite having different paths.
2015-02-24 12:26:33 -06:00
Hank Anderson 9eb1499095 Added another param to GenerateNamedObjects to mangle complex source names.
There are a lot of sources for complex float types that are the same
names as the real sources, except with z prepended.
2015-02-17 10:30:28 -06:00
Hank Anderson 4662a0b13a Changed generate functions to iterate through a list of float types.
This will generate obj files for SINGLE/DOUBLE/COMPLEX/DOUBLE COMPLEX.
2015-02-15 17:44:37 -06:00
Hank Anderson 64b5a0ef84 Added AUX files from lapack-netlib. 2015-02-10 14:29:05 -06:00
Hank Anderson 8743093bd7 Added aux files from lapack-netlib. 2015-02-10 11:47:46 -06:00