Commit Graph

94 Commits

Author SHA1 Message Date
Lephenixnoir e67d553764
make: do not compile the static archive with -fPIC
No idea why it is enabled in the static version.
2021-05-21 14:22:02 +02:00
Lephenixnoir 668336366e
merge from upstream, updated to 0.7.5 2021-05-20 21:31:25 +02:00
JC Estibariz 9152b0d1b0 Fix compilation errors on wasm32 2020-12-01 13:17:32 -05:00
Lephenixnoir 44c1cbb8eb
sh3eb: add suport for the sh3eb softfp platform 2020-10-24 13:55:39 +02:00
Aisha Tammy eb21e8abd1
don't alter toolchain vars if already provided 2020-10-23 15:36:23 +00:00
Keno Fischer b34f107e24
Fix Apple Silicon build (#214)
My previous Apple Silicon build went through, so I thought it already
worked, but it turns out it accidentally built an armv7 build instead.
This actually fixes the Apple Silicon build. One thing to note in
particular is that on Apple Silicong `long double` is the same as
`double` while on Linux `long double` is a 128 bit double-double
format.

Co-authored-by: Elliot Saba <staticfloat@gmail.com>
2020-09-03 18:27:17 -04:00
Viral B. Shah 5efed306d5 Bump SONAME as discussed in #200 2019-12-09 21:43:44 -05:00
Daniel Mendler 72f33a3bf9 wasm32 support (#192) 2019-04-14 15:11:03 -07:00
Dan Horák 2a1e56858a s390(x) port 2018-11-07 12:11:15 +01:00
Viral B. Shah a96f0740e3
Merge pull request #130 from ginggs/enable-optimization-again
Enable optimization again for *int.c and *intf.c
2018-06-18 17:22:47 -04:00
Viral B. Shah 4971b56998
Update Make.inc 2018-06-18 16:06:34 -04:00
Viral B. Shah ca996acc2e
Merge pull request #180 from JuliaLang/ginggs-0.5.6
Bump version to 0.5.6
2018-06-18 16:01:46 -04:00
Viral B. Shah 73b3d88ef1
Merge pull request #181 from CDLuminate/mipsport
Updated MIPS port
2018-06-18 16:01:04 -04:00
Viral B. Shah 3aa5c3bc47
Merge pull request #174 from iniserve/master
Consider:  Add TOOLPREFIX
2018-06-18 15:58:43 -04:00
Radovan Birdic 4f5112ea59 Support for mips architectures
Changes needed for mips suport have been added.
Code for openlibm_fenv_mips.h, mips_fpmath.h and fenv.c
was taken from https://github.com/freebsd/freebsd
2018-06-04 09:38:27 +00:00
Graham Inggs a24a5ebb6e Enable optimization again for *int.c and *intf.c 2018-05-26 12:41:07 +02:00
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
warpcoil 8d91ecb38a Add TOOLPREFIX 2017-12-21 20:35:54 +00: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