Commit Graph

7452 Commits

Author SHA1 Message Date
Martin Kroeker 254db9bd7c Use in-place transform shortcut only if matrix is square 2017-09-03 09:52:55 +02:00
Martin Kroeker f2074f9ac1 Merge pull request #1286 from martin-frbg/baytrail
Fix coretype detection for Bay Trail Atom
2017-08-27 13:23:57 +02:00
Martin Kroeker aece65ea29 Fix coretype detection for Bay Trail Atom
My earlier PR #982 appears to have been incomplete in this regard - fixes #1285
2017-08-27 13:06:54 +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 69b560751c Improvements to previous commit (cross-compile).
Fix typos and bad if statements discovered in 0.2.20.
2017-08-20 22:50:31 +10:00
Sacha Refshauge 0a7a527a92 Add support for cross compiling.
Add support for not having host compiler as CMake cannot detect such a compiler.
Add support for not using getarch.
Successfully builds Android ARMV8. Any target can be added by supplying the TARGET_CORE config in prebuild.cmake.
2017-08-20 20:08:53 +10:00
Martin Kroeker 50715e8945 Merge pull request #1281 from sharkcz/armv8
fix detection of generic ARMv8 CPUs
2017-08-19 20:37:19 +02:00
Sacha Refshauge 11911fd941 Add kernel/Makefile.LA to CMake 2017-08-20 00:59:14 +10:00
Sacha Refshauge 408b4fe83f Add a CMake GCC and Clang target to Travis CI 2017-08-20 00:59:00 +10:00
Sacha Refshauge 4474465438 Remove _static usages for tests 2017-08-20 00:13:46 +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 37858d1146 Fix threading usage in CMake: s/SMP/USE_THREAD/ 2017-08-19 15:07:42 +10:00
Dan Horák 1763e01567 fix detection of generic ARMv8 CPUs 2017-08-18 14:53:29 +02: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
Martin Kroeker a8a342ccc4 Merge pull request #1277 from cconrads-scicomp/fix-installation-instructions
Make: fix installation instructions
2017-08-10 23:42:23 +02:00
Martin Kroeker 9e9a9553db Merge pull request #1276 from cconrads-scicomp/android_-lm_fix
ARM: do not add linker flag `-lm` unconditionally
2017-08-10 21:35:32 +02:00
Martin Kroeker be7c1b6324 Merge pull request #1275 from cconrads-scicomp/recognize-gfortran-on-arm
ARM: recognize gfortran pre-releases
2017-08-10 21:32:09 +02:00
Christoph Conrads be8e8228ae Make: show installation instructions after build 2017-08-10 14:22:26 -04:00
Christoph Conrads 77b197bc93 Make: fix installation instructions
The installation instructions as shown after successfully compiling
OpenBLAS are wrong because this arguments used during compilation have
to be provided to Make again.
2017-08-10 12:47:18 -04:00
Christoph Conrads 9cc6599056 ARM: do not add linker flag `-lm` unconditionally
On ARM the required math library depends on whether the soft floating
point ABI is used or not but this is already handled in
`Makefile.system`, lines 499-505.
2017-08-10 11:58:25 -04:00
Christoph Conrads da611dd81a ARM: recognize gfortran pre-releases
Without proper recognition of gfortran versions such as
> GNU Fortran (GCC) 4.9.x 20150123 (prerelease)
OpenBLAS assumes the presence of the G77 compiler. Consequently,
`-lgfortran` is missing from the pkg-config file.

The aforementioned compiler is the gfortran compiler in the Android repo
in a commit tagged as `ndk-r14`, cf. Paul Mustière's gfortran build
instructions for Android at https://github.com/buffer51/android-gfortran
2017-08-10 11:48:29 -04:00
Martin Kroeker e6b9b660c3 Merge pull request #1264 from isuruf/dyn
Support DYNAMIC_ARCH with CMake
2017-08-08 23:47:47 +02:00
Martin Kroeker 62635b1fb5 Merge pull request #1268 from jirutka/travis-2
Travis: Add jobs building with clang and disable job `LINUX64_MUSL USE_OPENMP=1`
2017-08-08 21:54:35 +02:00
Martin Kroeker 75ddfbd687 Change travis back to sudo true
,,,to see if this has any influence on the recent ld SIGKILLS
2017-08-08 16:39:13 +02:00
Isuru Fernando 2f12ea017b No strncasecmp with MSVC 2017-08-08 00:07:25 +05:30
Isuru Fernando d3b677fe87 Add commonobjs 2017-08-07 23:12:40 +05:30
Isuru Fernando 6f83004252 Test DYNAMIC_ARCH on appveyor 2017-08-06 19:17:31 +05:30
Isuru Fernando 505b218829 Merge remote-tracking branch 'upstream/develop' into dyn 2017-08-06 19:07:00 +05:30
Martin Kroeker 719fcc56b0 Merge pull request #1262 from martin-frbg/xmv_thread-splitting
Make sure that range limit of last thread never exceeds data size
2017-08-06 14:11:44 +02:00
Martin Kroeker 1296c89688 Merge pull request #1256 from isuruf/develop
Support compiling with clang on windows
2017-08-06 14:10:18 +02:00
Jakub Jirutka dfb91f2a31 Travis: Add jobs building with clang 2017-08-06 12:40:59 +02:00
Jakub Jirutka 2ec76011f9 Travis: Disable job "LINUX64_MUSL USE_OPENMP=1"
https://github.com/xianyi/OpenBLAS/pull/1255#issuecomment-320494610
2017-08-06 11:06:03 +02:00
Isuru Fernando 7abbe40980 Build all branches so that appveyor works in forks 2017-08-04 08:04:16 +05:30
Isuru Fernando ca32b66a1c New utest for clang 2017-08-04 07:58:04 +05:30
Isuru Fernando d9346930dd Merge remote-tracking branch 'upstream/develop' into develop 2017-08-04 07:57:55 +05:30
Martin Kroeker 0bfe5c6822 Merge pull request #1266 from ashwinyes/develop_thunderx2t99_fix_clang_compilation
THUDNERX2T99: Fix clang compilation
2017-08-03 15:33:28 +02:00
Ashwin Sekhar T K 4899d67f7d THUDNERX2T99: Fix clang compilation 2017-08-02 11:28:45 -07:00
Isuru Fernando 1d1854032b Add missing EXCAVATOR 2017-08-02 19:03:04 +05:30
Martin Kroeker ebb04e3265 Merge pull request #1259 from isuruf/cmake
CMake Improvements
2017-08-02 15:31:05 +02:00
Isuru Fernando 2c51a990ac Fix extra whitespaces. CMake parser macro fails with it
TODO: Fix the parser macro to strip trailing whitespaces
2017-08-02 18:26:57 +05:30
Isuru Fernando 7892434572 Add hemm3m and symm3m objects 2017-08-02 18:24:54 +05:30
Isuru Fernando d798487213 Fixes for dynamic_arch. almost there 2017-08-02 17:25:49 +05:30
Martin Kroeker 0ba64cee60 Update trmv_thread.c 2017-08-02 12:03:54 +02:00