Commit Graph

3243 Commits

Author SHA1 Message Date
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
Martin Kroeker 53aee36076 Merge pull request #1255 from jirutka/travis
Travis: Rewrite config, build and test also on Alpine Linux (musl libc)
2017-08-02 11:59:17 +02:00
Martin Kroeker c4e5ba1bfe Make sure that range_n of last thread never exceeds the actual data size when splitting the workload 2017-08-02 00:37:58 +02:00
Jakub Jirutka 486a485bb7 Travis: Allow job LINUX64_MUSL USE_OPENMP=1 to fail
See: https://github.com/xianyi/OpenBLAS/pull/1255#issuecomment-318692183
2017-08-01 21:58:36 +02:00
Jakub Jirutka 08c7d1ddf8 Travis: Disable some gcc warnings to avoid exceeding Travis limit
See: https://github.com/xianyi/OpenBLAS/pull/1255#issuecomment-318628666
2017-08-01 21:58:15 +02:00
Jakub Jirutka e0bd5b5c0e Travis: Build and test also on Alpine Linux (musl libc)
Alpine jobs needs sudo (for chroot), so they run on VMs infrastructure.
That's why they are much slower than other jobs.
2017-08-01 21:58:03 +02:00
Jakub Jirutka ae65f75572 Travis: Simplify configuration using Build Stages and APT addon
Using APT addon has nice side-effect - you don't need sudo anymore, so
it can run on Travis containers-based infrastructure that is much faster
than their VMs infrastructure (used when sudo is needed).

You've been still running on Ubuntu Presty builders, but new default is
Trusty. Thus I've explicitly set `dist: presty` to let it stay on
Presty, to not change build environment by this commit.
2017-08-01 21:52:03 +02:00
Martin Kroeker 1e9247c276 Merge pull request #1260 from xianyi/revert-1254-xbmv_range
Revert "Fix calculated range limit exceeding actual data size for last thread"
2017-08-01 20:07:32 +02:00
Isuru Fernando 251715d9ef configure kernel_core.h 2017-08-01 23:23:55 +05:30
Martin Kroeker a6f533b248 Revert "Fix calculated range limit exceeding actual data size for last thread" 2017-08-01 19:28:08 +02:00