Viral B. Shah
28e2b87335
Install cdefs-compat.h as well in usr/include/openlibm
2016-02-24 10:10:35 +05:30
Viral B. Shah
7654216ccf
Merge pull request #110 from iblis17/master
...
FreeBSD has different pkg-config dir: /usr/local/libdata/
2016-02-23 11:21:12 -08:00
Simon Byrne
830dc991f3
Support powerpc
...
This fixes #113 , based on files from FreeBSD. Tested on machine hosted by [OSUOSL](http://osuosl.org/services/powerdev/ ).
2016-02-23 11:08:14 +00:00
Iblis Lin
37559aa18c
FreeBSD has different pkg-config dir: /usr/local/libdata/
2016-01-19 23:08:57 +08:00
Peter Colberg
b9658f49e6
Fail if library symlinks cannot be created
...
libopenlibm.$(SHLIB_EXT).$(SOMAJOR) is required for running tests.
2015-11-13 13:45:37 -05:00
Peter Colberg
0aef1f7009
Clean up and test make clean
2015-11-13 13:43:44 -05:00
Peter Colberg
bab41fc510
Test shared library
...
Add make check target that builds and runs the tests.
2015-11-12 14:56:08 -05:00
Alexander Light
f70240ded5
Add support for cross compiling with ARCH=name
...
This is rather basic. A clean is needed to get rid of artifacts from
previous runs with other architectures.
Note this requires PR #88 to work because without it x86 is broken.
Closes #89
2015-03-01 15:09:22 -05:00
Ed Schouten
bc3f903bc2
Move public headers into include/ and private headers into src/.
...
While there, also modify the install target. We should make sure to
install all openlibm*.h headers. There is still some work to be done:
openlibm_fenv_*.h still depends on some additional bits. I'd propose
that we eventually create an include/openlibm_cdefs.h that contains all
of the macros we need.
2015-01-11 16:35:32 +01:00
Tony Kelman
619f810223
add -f flag to cp in install target
2015-01-06 21:26:48 -08:00
Thomas Leonard
3ac6130b34
Remove test binaries too on "make clean"
2015-01-05 10:35:11 +00:00
Milan Bouchet-Valat
1f77ae0208
Separate SOVERSION from release version
...
Needed to break API in 0.4 without calling it 1.0.
2014-07-27 12:54:54 +02:00
Elliot Saba
b038823eaa
Tweak SONAME handling
2014-06-12 14:35:26 -07:00
Thomas Leonard
f22d7db106
Fixed build on ARM
...
Removed all long double support, since ARM doesn't have long doubles.
2014-05-26 10:55:49 +01:00
Thomas Leonard
5b16546ddd
Added pkg-config support
2014-05-19 15:30:10 +01:00
Thomas Leonard
15fa3252fc
Merge noinc branch
2014-05-19 15:29:33 +01:00
Tony Kelman
716317b71e
Install libopenlibm.dll to bindir
...
skip dll versioning on Windows
2014-04-08 09:39:50 -07:00
Viral B. Shah
876c3384a1
Merge pull request #47 from JuliaLang/headers
...
Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/$(ARCH)
2014-04-06 14:09:16 +05:30
Elliot Saba
e1d3d9ff43
Change to use $(CC) instead of $(FC), as we no longer have fortran in this repo
2014-04-05 11:51:26 -07:00
Milan Bouchet-Valat
360d282729
Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/
2014-03-31 09:51:10 +02:00
Isaiah Norton
e9c0ba7ad6
distclean: clean everything
2014-03-06 00:25:33 -05:00
Elliot Saba
ea52e04b6d
Revert "Install everything in the include/
directory into $(prefix)/include/openlibm
."
...
This reverts commit eb2f4d4b44
.
2014-02-08 21:36:49 -08:00
Elliot Saba
eb2f4d4b44
Install everything in the include/
directory into $(prefix)/include/openlibm
.
...
Note that software wishing to compile against `openlibm` should add `-I$(prefix)/include/openlibm` to their `CFLAGS`.
Closes #41
2014-02-08 18:37:33 -08:00
Kevin Squire
e76564b1d1
Force library symbolic links to overwrite, and ignore errors.
...
Fixes issue noted here:
https://groups.google.com/forum/#!searchin/julia-users/libopenlibm%7Csort:relevance%7Cspell:false/julia-users/6O4szE23D94/-YElnTwo63YJ
2014-01-13 10:56:35 -08:00
Milan Bouchet-Valat
b462578393
Use $(includedir) instead of hardcoding $(prefix)/include
2014-01-07 21:57:50 +01:00
Milan Bouchet-Valat
bb40f6c7a8
Change PREFIX and LIBDIR to lowercase
...
This is the standard name.
2014-01-07 21:54:15 +01:00
Milan Bouchet-Valat
251814ebb3
Set SONAME
...
Inspired from what openspecfun does.
2014-01-07 21:38:10 +01:00
Viral B. Shah
71d942f730
libdir, DESTDIR, and soname updates.
2014-01-05 02:07:17 +05:30
Viral B. Shah
d28fae9774
Remove amos and Faddeeva - they are now in openspecfun
2013-12-23 23:00:42 +05:30
Viral B. Shah
c5b47b3589
Build libopenlibm-extras separately
2012-12-31 17:01:08 -05:00
Viral B. Shah
c977aa998f
Add Makefile.extras to build libopenlibm-extras.
...
Replace amos with slatec
2012-12-31 16:37:05 -05:00
Jameson Nash
07085279a1
use $(AR) variable instead of ar
2012-12-29 02:58:14 -05:00
Steven G. Johnson
b892df1d9f
added Faddeeva package from http://ab-initio.mit.edu/Faddeeva for complex error functions
2012-12-20 14:35:14 -05:00
Sébastien Villemot
1bbda18695
Inject FFLAGS, CFLAGS, LDFLAGS where missing
2012-12-18 17:50:02 +01:00
Viral B. Shah
e8bf368573
Include AMOS in OpenLibm.
2012-10-29 15:00:54 +05:30
Viral B. Shah
1ac594e475
Quiet the clang build.
...
Rename cleanall target to distclean.
2012-10-27 10:17:38 +05:30
Viral B. Shah
56811b0809
Ability to use clang.
2012-07-03 16:49:19 +05:30
Keno Fischer
adb103acec
Build fixes for Windows
2012-05-25 21:25:13 -04:00
Keno Fischer
1b4a845c71
Merge branch 'master' of https://github.com/JuliaLang/openlibm
...
Conflicts:
Makefile
2012-05-25 16:25:37 -04:00
Keno Fischer
307d7361c5
automatic arch selection in Makefile
2012-05-25 16:24:37 -04:00
Viral B. Shah
4a9ac47ae8
Disable QUIET_CC and QUIET_LINK for now.
2012-05-25 10:14:29 +05:30
Keno Fischer
f0862df1db
Allow compilation of assembly files on OSX
2012-05-24 23:14:58 -04:00
Viral B. Shah
cd520e4350
Get everything except a couple of files in ld128 to build with gcc.
...
A couple of small issues still remain with linking:
LINK all
/usr/bin/ranlib: file: libopenlibm.a(e_rem_pio2.o) has no symbols
/usr/bin/ranlib: file: libopenlibm.a(e_rem_pio2f.o) has no symbols
/usr/bin/ranlib: file: libopenlibm.a(k_cosf.o) has no symbols
/usr/bin/ranlib: file: libopenlibm.a(k_sinf.o) has no symbols
/usr/bin/ranlib: file: libopenlibm.a(k_tanf.o) has no symbols
LINK all
ld: duplicate symbol ___ieee754_rem_pio2 in src/s_sin.o and src/s_cos.o for architecture x86_64
collect2: ld returned 1 exit status
2011-12-31 19:43:04 +05:30
Viral B. Shah
33f051a1db
Remove libraries in cleanall
2011-12-31 12:52:24 +05:30
Viral B. Shah
ccd319c03c
Almost building the full thing.
2011-12-31 12:48:43 +05:30
Viral B. Shah
189b043947
Start work on top-level Makefile
2011-12-31 01:12:12 +05:30
Viral B. Shah
16b9264f9d
Import entire msun from FreeBSD.
2011-12-15 11:29:35 +05:30