Commit graph

52 commits

Author SHA1 Message Date
Graham Inggs
ebe1db3ce4 Build on GNU/kfreeBSD and GNU/Hurd
Use __GLIBC__ instead of __linux
Simplify Make.inc as per JuliaLang/openspecfun@e91925a
2015-11-10 21:38:51 +02:00
Graham Inggs
395d998567 Fix missing buildflags
Debian's blhc (build log hardening check) reports dpkg-buildflags-missing CPPFLAGS 48 (of 223), CFLAGS 2 (of 177), LDFLAGS 2 (of 3) missing
2015-10-26 07:15:39 +02:00
Maurizio Tomasi
2870ed32b3 Update Make.inc to detect OpenBSD
With this patch I have been able to successfully compile Openlibm on OpenBSD 5.7 (x86_64) using the following command:

gmake GCC=egcc GXX=eg++ USEGCC=1 ARCH=x86_64

(I had to install gcc 4.9 from ports, as Openlibm does not compile with the default compiler shipped with OpenBSD 5.7, which is gcc 4.2.1).
2015-08-13 12:14:57 +02: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
Viral B. Shah
763da44606 Bump SO major number as we have introduced API breakage.
Use version number as 0.5-dev, instead of 0.5.
2015-02-12 20:00:17 +05:30
Ed Schouten
34d44ffadd Set USECLANG=1 by default on FreeBSD.
FreeBSD 10+ no longer ships with GCC by default. Clang is the default
system compiler.
2015-01-11 23:50:17 +01:00
Viral B. Shah
168467f09a As discussed in #69, this only requires a minor version number bump. 2014-12-05 10:35:30 +05:30
Viral B. Shah
9ecf223fc1 Get the ld80 routines from OpenBSD to build on mac and linux.
Bump version number and SO major version, since we have
introduced new long double APIs.
2014-12-04 23:56:11 +05:30
Milan Bouchet-Valat
c41813f64b Fix comment about SOVERSION 2014-07-29 15:46:20 +02: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
Viral B. Shah
da6c9c1805 Bump version. rem_pio2 is no longer exported from openlibm
https://github.com/JuliaLang/julia/issues/5365
2014-07-09 20:25:46 -04:00
vagrant
c40d079361 Remove FC and FFLAGS. Fortran compiler is not required in the build. 2014-06-20 14:20:47 +00:00
Viral B. Shah
0905558734 Add i586 build rule. 2014-06-20 19:00:10 +05:30
Elliot Saba
b038823eaa Tweak SONAME handling 2014-06-12 14:35:26 -07:00
Milan Bouchet-Valat
b5f5d7dc3b Bump version to 0.3 2014-04-19 12:48:47 +02:00
Tony Kelman
1cc9ad07f4 whoops, forgot the dollar sign 2014-04-08 15:16:57 -07:00
Tony Kelman
716317b71e Install libopenlibm.dll to bindir
skip dll versioning on Windows
2014-04-08 09:39:50 -07:00
Dan Weatherill
99c712d65e Update Make.inc
update version number
2014-03-12 09:48:49 +00: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
29af332f36 Add cpow from OpenBSD
Use clang by default on Darwin
Enable cpow tests

Fix #22
2013-07-14 18:33:56 +05:30
Jameson Nash
bb082aca5d add i486 processor ARCH detection 2013-06-17 20:38:51 -04:00
Jameson Nash
f948e55cbe unsupport the mingw32 compiler 2013-05-29 21:08:06 -04:00
Jameson Nash
bcefcc3d58 do ARCH autodetection based upon compiler instead of host 2013-05-28 09:30:36 -04:00
Jameson Nash
13cc579520 fix WINNT autodetection 2013-05-28 08:59:02 -04:00
Jameson Nash
3fda504f47 support environment CFLAGS (and SFLAGS) without clobbering the essential build flags 2013-03-02 19:40:38 -05:00
Jameson Nash
07085279a1 use $(AR) variable instead of ar 2012-12-29 02:58:14 -05:00
Sébastien Villemot
1bbda18695 Inject FFLAGS, CFLAGS, LDFLAGS where missing 2012-12-18 17:50:02 +01:00
Mike Nolta
75ba4267f9 fix build failure due to gcc44 inline bug (see julia issue #1480) 2012-10-31 17:33:04 -04: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
850280a862 Version 0.1
Update README.md
2012-08-19 11:52:43 +05:30
Viral B. Shah
56811b0809 Ability to use clang. 2012-07-03 16:49:19 +05:30
Viral B. Shah
5656ce4296 Use the c99 standard rather than gnu99. 2012-07-02 20:25:10 +05:30
Keno Fischer
11a4ec0e43 i686 -> i387 2012-05-29 15:11:49 -07:00
Keno Fischer
adb103acec Build fixes for Windows 2012-05-25 21:25:13 -04:00
Keno Fischer
229949d965 Reenable QUIET_CC 2012-05-25 16:26:07 -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
Jameson Nash
4e3b2de1a2 build cleanup 2012-05-24 23:38:33 -04:00
Keno Fischer
f0862df1db Allow compilation of assembly files on OSX 2012-05-24 23:14:58 -04:00
Jameson Nash
ac201ff1ac fpclassify definition 2012-05-22 19:02:48 -04:00
Jameson Nash
0df00dd0f7 initial attempt getting everything to build on windows 2012-04-08 20:03:36 -04:00
Viral B. Shah
7129663350 OpenLIBM builds on linux.
Disable -std=c99 on linux for now, as gcc does freaks out in math_private.h
on the definition of IEEE_WORD_ORDER, and defines ieee_double_shape_type twice.

Disable building s_cbrtl.c for the time being as it requires ieeefp.h
2012-01-05 23:24:14 -05:00
Viral B. Shah
bbb5d6a574 Get the whole thing to compile. Disabled the inline stuff for now. 2012-01-01 15:24:23 +05:30
Viral B. Shah
d24a3296fa Revert the changes for inline. With both gcc 4.2 and 4.6, the link
fails with:

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
2012-01-01 10:14:06 +05:30