frjohnst
bdaa6705ca
fix conlict between PR 4515 and AIX shared obj support
2024-02-23 10:20:48 -05:00
Martin Kroeker
2e86faa657
Merge branch 'develop' into issue4468
2024-02-23 11:39:49 +01:00
Ayappan Perumal
892f8ff3e5
Shared library support for AIX
2024-02-22 07:05:37 -06:00
Martin Kroeker
10ea3fb742
fix duplication of name parts
2024-02-09 17:09:55 +01:00
Martin Kroeker
25b300bbee
improve internal names
2024-02-06 23:40:01 +01:00
Martin Kroeker
440edfd997
Add option to suppress versioning of the internal name
2024-02-05 21:44:50 +01:00
Martin Kroeker
2390e0bfbc
Quote the BU (underscore) option as it may not be set
2023-09-21 23:04:25 +02:00
Martin Kroeker
f5a379bf77
Add USE_PERL fallback option for gensymbol script
2022-05-22 18:35:23 +02:00
Owen Rafferty
42c7a27e6b
rewrite perl scripts in universal shell
2022-05-18 19:00:15 -05:00
Martin Kroeker
db7a03dd4c
keep flang-classic on MacOS from trying to create an executable instead of a library
2022-02-10 23:04:45 +01:00
Martin Kroeker
0b8a436af9
Add mixed clang/ifort build on OSX to Azure CI ( #3185 )
...
* Add mixed clang/ifort build on OSX to the Azure CI config based on https://github.com/oneapi-src/oneapi-ci
(and remove debugging tools from the clang+gfortran job)
* Remove extraneous libgfortran dependency of ifort builds
* remove FEXTRALIB from link line of shared library as ifort keeps track of dependencies (and they are different for a .dylib than what f_check got for an executable)
2021-04-22 02:11:20 +02:00
Isuru Fernando
a5c667b55c
Need a space when redirecting to file
...
Following two commands have two completely different meanings
perl ./gensymbol objcopy x86_64 _ 0 0 0 0 0 0 "" "64_" 1 0 1 1 1 1 > objcopy.def
perl ./gensymbol objcopy x86_64 _ 0 0 0 0 0 0 "" "64_" 1 0 1 1 1 1> objcopy.def
2020-10-18 09:40:31 -05:00
Martin Kroeker
ae1ab5bfdf
Change "HALF" and "sh" to "BFLOAT16" and "sb"
2020-10-12 00:03:21 +02:00
Martin Kroeker
6a83c591d6
Adapt for having only a subset of variable types
2020-10-11 14:34:12 +02:00
Wileam Phan
9ae154ba89
Patch for building on Summit
2020-07-20 23:30:28 -04:00
Martin Kroeker
ba2c5b404d
When building with flang, use it also for the final link step to get dependencies right
2020-06-09 16:09:34 +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
Baptiste Daroussin
41e802443a
libname: treat FreeBSD and DragonFly like linux and sunos
...
There is no difference in the way libnames are handle between FreeBSD
and linux or sunos. FreeBSD and DragonFly prefers having sonames as well
2020-04-03 06:20:42 +02:00
Isuru Fernando
b89d9762a2
Change install_name on osx to match linux
2019-07-08 17:14:35 -05:00
Martin Kroeker
adb419ed67
With the Intel compiler on Linux, prefer ifort for the final link step
...
icc has known problems with mixed-language builds that ifort can handle just fine. Fixes #1956
2019-02-14 22:57:30 +01:00
Elliot Saba
6f77af2eef
Add `$(LDFLAGS)` to `$(CC)` and `$(FC)` invocations within `exports/Makefile`
2018-09-21 09:19:51 +00:00
Zoltán Mizsei
6463bffd59
Haiku supporting patches
2018-08-02 20:49:14 +02:00
Zhang Xianyi
43e592ceb3
Add -lm for Android.
...
Conflicts:
exports/Makefile
2018-05-24 21:02:42 +08:00
Alex Arslan
24f8d5b624
Add DragonFly to exports/Makefile
...
Its exclusion was an oversight on my part.
2018-04-06 17:30:10 -07:00
Alex Arslan
8da6b6ae52
Allow building on OpenBSD
...
With this change, OpenBLAS builds and all tests pass on OpenBSD 6.2
using Clang. Tested on x86-64 only, with and without DYNAMIC_ARCH=1.
2018-04-02 10:48:22 -07:00
Martin Kroeker
00c42dc815
Merge pull request #1314 from martin-frbg/nofortran-fix-2
...
Rewrite NOFORTRAN conditionals
2017-09-26 10:34:18 +02:00
Martin Kroeker
79e754e548
Rewrite NOFORTRAN conditionals
...
... so that they do not trigger accidentally when NOFORTRAN is empty/unset
2017-09-25 23:45:14 +02:00
Martin Kroeker
2922c15f36
Merge pull request #1302 from martin-frbg/nofortran-fix
...
Remove default FEXTRALIBS in NOFORTRAN case
2017-09-14 11:54:20 +02:00
Martin Kroeker
3a245a376f
Remove default FEXTRALIBS in NOFORTRAN case
2017-09-14 09:21:04 +02:00
Erik M. Bray
dddedbab5d
More canonical installation on Cygwin:
...
* The DLL is named cygopenblas.dll, not libopenblas.dll
* The import lib (still called libopenblas.dll.a) is installed
2017-09-07 14:18:56 +02:00
Martin Kroeker
3b0624d50f
Build shared library on Android without SONAME versioning
...
Android does not support versioned SONAME entries, ref. #1173
2017-05-10 13:08:13 +02:00
Zhang Xianyi
90dd190a6d
Build shared library for Android.
2017-04-11 12:01:18 +08:00
Ivan Ukhov
efaf30d536
Wrap CURDIR and DESTDIR in quotes
2016-05-03 21:31:32 +02:00
Zhang Xianyi
fb8968fb83
Refs #707 . Bugfix for previous commit.
2016-02-11 05:14:53 +08:00
Zhang Xianyi
dae6b82a71
Refs #707 . Add BUILD_LAPACK_DEPRECATED flag in Makefile.rule.
...
If you want to build LAPACK deprecated functions since LAPACK 3.6.0
make BUILD_LAPACK_DEPRECATED=1
2016-02-11 04:22:53 +08:00
Zhang Xianyi
aaa8551c57
Merge pull request #749 from lotheac/illumos_fixes
...
illumos fixes
2016-01-26 08:42:20 -06:00
Lauri Tirkkonen
7ba1d9b9ca
actually build the shared lib on illumos
2016-01-22 18:55:59 +02:00
Tony Kelman
d22917a58a
fix makefile warning when renaming symbols
...
use different names for `openblas*.renamed` between osx and other unices, fixes
```
Makefile:121: warning: overriding commands for target `../libopenblas64_p-r0.2.15.a.renamed'
Makefile💯 warning: ignoring old commands for target `../libopenblas64_p-r0.2.15.a.renamed'
```
also clean `*.renamed`
2015-11-30 20:16:33 -08:00
j-bo
1e0bbea868
Refs #676 . Fixed ONLY_CBLAS=1 compiling bug on windows.
2015-10-28 15:10:42 +01:00
Zhang Xianyi
e127fb8fd8
1) Refs #575 . Remove g77 from compiler list.
...
2) If OpenBLAS cannot find Fortran compiler, it will only build BLAS
(without LAPACK).
2015-05-19 00:01:04 -05:00
Zhang Xianyi
75c40bcc48
Refs #520 . Fixed ONLY_CBLAS=1 compiling bug on OSX.
2015-03-19 11:52:09 -05:00
Tony Kelman
0b4602b753
add SYMBOLPREFIX and SYMBOLSUFFIX makefile options
...
for adding a prefix or suffix to all exported symbol names in the shared library
Useful to avoid conflicts with other BLAS libraries, especially when using
64 bit integer interfaces in OpenBLAS
Note that since OSX does not have the objcopy utility, setting these options
to non-empty values on Mac requires the objconv tool, available (GPL license)
from http://www.agner.org/optimize/#objconv
2014-10-24 22:27:09 -07:00
Zhang Xianyi
7a8949e0ce
Merge branch 'develop' of https://github.com/TimothyGu/OpenBLAS into TimothyGu-develop
...
Conflicts:
driver/others/memory.c
2014-06-28 20:51:31 +08:00
Timothy Gu
8615d6ec87
Build import libs as .dll.a instead of .lib
...
This is MinGW convention.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-06-27 13:34:09 -07:00
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-06-27 12:05:18 -07:00
David Anthoff
c6361d63c2
Add -lgfortran flag to gcc call in a makefile
...
Adding $(EXTRALIB) adds this flag when things are built with
msys2 on windows. Without this the build fails.
2014-06-13 21:10:27 -07:00
Zhang Xianyi
a40116de25
Fixed generating DLL bug.
2014-06-06 16:13:08 +08:00
Timothy Gu
a8d4d1c4d3
Build import library for mingw
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-05-22 18:06:26 -07:00
Timothy Gu
9ed981c5dc
Remove unused dll2 target
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-05-18 18:54:38 -07:00
Timothy Gu
b6d904838e
Remove routines for generating exports/symbol.S
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-05-17 16:02:36 -07:00