Commit graph

77 commits

Author SHA1 Message Date
Graham Inggs
a40570be06
Bump version to 0.5.6 2018-05-26 11:36:57 +02:00
Alex Arslan
bf188aeb23
Build with Clang on OpenBSD
This is the default compiler starting with OpenBSD 6.2, and has been
installed by default on OpenBSD since 6.0.
2018-04-06 14:04:45 -07:00
Yichao Yu
238a90959f Fix compilation on AArch64
The 128bit double directory is missing and was never used....
2017-10-21 09:58:16 -04:00
Elliot Saba
3ff5216a2f Merge pull request #162 from JuliaLang/aa/0.5.5
Bump version to 0.5.5
2017-10-16 23:40:02 -07:00
Simon Byrne
ddf649beab enable -fno-strict-aliasing for clang (#156)
Type punning via unions in clang is not safe without -fno-strict-aliasing. See https://bugs.llvm.org//show_bug.cgi?id=31928.
2017-09-22 13:24:07 -07:00
Alex Arslan
7e726c3107
Bump version to 0.5.5 2017-09-06 11:11:47 -07:00
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.
2017-01-16 11:44:14 -08:00
Tracy Wadleigh
868231bc24 Version bump for Makefile change. 2016-08-28 07:55:19 -07:00
Simon Byrne
71e79eb6f7 Bump version for Makefile change. 2016-08-09 09:47:12 +01:00
Elliot Saba
75ec57d90f Set optimization level only if not already overridden 2016-08-08 17:27:20 -07:00
Viral B. Shah
0fa599cce8 BUMP VERSION 2016-08-06 20:30:31 +05:30
Viral B. Shah
f8d64df596 Restore the optimization level to -O3 by default. 2016-08-06 20:19:14 +05:30
Peter Colberg
57ed355361 Fix broken compilation with ARCH=i686
`override CFLAGS_add` caused make to discard any further assignments.

This regression stems from commit ebe1db3ce4.
2016-06-23 23:32:31 -04:00
Elliot Saba
e2fc5dd2f8 Bump VERSION 2016-05-18 11:13:34 -07:00
Graham Inggs
019990ecb7 WIP: Enable build on aarch64 2016-04-08 19:37:13 +02:00
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