Yichao Yu
238a90959f
Fix compilation on AArch64
...
The 128bit double directory is missing and was never used....
5 years ago
Elliot Saba
c21453060d
Cleanup `ARCH` handling, reorganize `AArch64` and `Make.inc`.
...
* Previously, behavior differed if the same value of `ARCH` was defined
within `Make.inc` or defined on the command line. Don't do that.
* Provide saner defaults for `ARCH` and `MARCH`, and more importantly,
allow for the proper overriding of both.
* Split `AArch64` code further away from the other `arm` code.
6 years ago
Tracy Wadleigh
6708c96b06
Generate libopenlibm.dll.a for windows.
7 years ago
Arjen Roodselaar
4002a91a44
Split install into subtargets
...
When building a cross-compile toolchain for a freestanding platform one may not
want to build and install shared objects.
7 years ago
Elliot Saba
4d0bc52385
Version libopenlibm properly
7 years ago
Viral B. Shah
5840cef4ad
Install all the headers in includdir/openlibm
7 years ago
Viral B. Shah
28e2b87335
Install cdefs-compat.h as well in usr/include/openlibm
7 years ago
Viral B. Shah
7654216ccf
Merge pull request #110 from iblis17/master
...
FreeBSD has different pkg-config dir: /usr/local/libdata/
7 years ago
Simon Byrne
830dc991f3
Support powerpc
...
This fixes #113 , based on files from FreeBSD. Tested on machine hosted by [OSUOSL](http://osuosl.org/services/powerdev/ ).
7 years ago
Iblis Lin
37559aa18c
FreeBSD has different pkg-config dir: /usr/local/libdata/
7 years ago
Peter Colberg
b9658f49e6
Fail if library symlinks cannot be created
...
libopenlibm.$(SHLIB_EXT).$(SOMAJOR) is required for running tests.
7 years ago
Peter Colberg
0aef1f7009
Clean up and test make clean
7 years ago
Peter Colberg
bab41fc510
Test shared library
...
Add make check target that builds and runs the tests.
7 years ago
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
8 years ago
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.
8 years ago
Tony Kelman
619f810223
add -f flag to cp in install target
8 years ago
Thomas Leonard
3ac6130b34
Remove test binaries too on "make clean"
8 years ago
Milan Bouchet-Valat
1f77ae0208
Separate SOVERSION from release version
...
Needed to break API in 0.4 without calling it 1.0.
9 years ago
Elliot Saba
b038823eaa
Tweak SONAME handling
9 years ago
Thomas Leonard
f22d7db106
Fixed build on ARM
...
Removed all long double support, since ARM doesn't have long doubles.
9 years ago
Thomas Leonard
5b16546ddd
Added pkg-config support
9 years ago
Thomas Leonard
15fa3252fc
Merge noinc branch
9 years ago
Tony Kelman
716317b71e
Install libopenlibm.dll to bindir
...
skip dll versioning on Windows
9 years ago
Viral B. Shah
876c3384a1
Merge pull request #47 from JuliaLang/headers
...
Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/$(ARCH)
9 years ago
Elliot Saba
e1d3d9ff43
Change to use $(CC) instead of $(FC), as we no longer have fortran in this repo
9 years ago
Milan Bouchet-Valat
360d282729
Install bsd_asm.h and bsd_cdefs.h to $(includedir)/openlibm/
9 years ago
Isaiah Norton
e9c0ba7ad6
distclean: clean everything
9 years ago
Elliot Saba
ea52e04b6d
Revert "Install everything in the `include/` directory into `$(prefix)/include/openlibm`."
...
This reverts commit eb2f4d4b44
.
9 years ago
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
9 years ago
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
9 years ago
Milan Bouchet-Valat
b462578393
Use $(includedir) instead of hardcoding $(prefix)/include
9 years ago
Milan Bouchet-Valat
bb40f6c7a8
Change PREFIX and LIBDIR to lowercase
...
This is the standard name.
9 years ago
Milan Bouchet-Valat
251814ebb3
Set SONAME
...
Inspired from what openspecfun does.
9 years ago
Viral B. Shah
71d942f730
libdir, DESTDIR, and soname updates.
9 years ago
Viral B. Shah
d28fae9774
Remove amos and Faddeeva - they are now in openspecfun
9 years ago
Viral B. Shah
c5b47b3589
Build libopenlibm-extras separately
10 years ago
Viral B. Shah
c977aa998f
Add Makefile.extras to build libopenlibm-extras.
...
Replace amos with slatec
10 years ago
Jameson Nash
07085279a1
use $(AR) variable instead of ar
10 years ago
Steven G. Johnson
b892df1d9f
added Faddeeva package from http://ab-initio.mit.edu/Faddeeva for complex error functions
10 years ago
Sébastien Villemot
1bbda18695
Inject FFLAGS, CFLAGS, LDFLAGS where missing
10 years ago
Viral B. Shah
e8bf368573
Include AMOS in OpenLibm.
10 years ago
Viral B. Shah
1ac594e475
Quiet the clang build.
...
Rename cleanall target to distclean.
10 years ago
Viral B. Shah
56811b0809
Ability to use clang.
11 years ago
Keno Fischer
adb103acec
Build fixes for Windows
11 years ago
Keno Fischer
1b4a845c71
Merge branch 'master' of https://github.com/JuliaLang/openlibm
...
Conflicts:
Makefile
11 years ago
Keno Fischer
307d7361c5
automatic arch selection in Makefile
11 years ago
Viral B. Shah
4a9ac47ae8
Disable QUIET_CC and QUIET_LINK for now.
11 years ago
Keno Fischer
f0862df1db
Allow compilation of assembly files on OSX
11 years ago
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
11 years ago
Viral B. Shah
33f051a1db
Remove libraries in cleanall
11 years ago