Viral B. Shah
4a1b310f91
Add -fno-builtin for gcc too.
2016-02-28 00:02:49 +05:30
Simon Byrne
b87b1631cb
ARCH ppc => powerpc
2016-02-26 16:46:17 +00:00
Simon Byrne
10bae6608d
fix ARCH variable for powerpc, and rearrange fenv.h union for endianness
2016-02-26 16:35:26 +00:00
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
dcc0d8da74
work around optimisation bugs for rint
2016-02-23 15:40:46 +00:00
Simon Byrne
ac6fb73cba
Set optimisation on ARM to -O0, which stops tests from hanging.
2016-02-23 13:58:20 +00: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
f4daa7e8bb
Set default optimization flag to -O2
...
Allow overriding optimization flag with the environment variable CFLAGS.
2015-11-13 13:14:55 -05:00
Peter Colberg
3095eef623
Add make variable NOOPT to disable optimization flags
...
This is used by Debian to build an unoptimized variant for debugging.
2015-11-12 22:37:28 -05:00
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