Commit graph

389 commits

Author SHA1 Message Date
Elliot Saba
39dd4feb7c Bump ulp limits higher for Travis tests 2016-07-20 22:43:05 -07:00
Elliot Saba
343a7199c0 Re-enabled OSX tests 2016-07-20 22:43:05 -07:00
Elliot Saba
48976950cd Remove floating-point exception checks when compiling with clang 2016-07-20 22:40:23 -07:00
Elliot Saba
232ba9db6e Modify Openlibm maximum ulp definitions for clang 2016-07-20 22:40:23 -07:00
Tony Kelman
b170b72c0e Merge pull request #140 from arjenroodselaar/split-install-target
Split install into subtargets
2016-07-19 15:30:31 -07:00
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.
2016-07-19 14:26:15 -07:00
Viral B. Shah
5dd13830bf Merge pull request #141 from arjenroodselaar/fix-arm-decls
Include missing decls for ARM
2016-07-19 15:46:33 -04:00
Arjen Roodselaar
212f8a1b4c Include missing decls for ARM 2016-07-18 17:05:09 -07:00
Elliot Saba
705cbaea30 Merge pull request #139 from petercolberg/travis
Test Linux amd64/i686/arm64
2016-06-24 14:49:28 -07:00
Peter Colberg
806c725ef6 Test Linux arm64 using qemu user emulation 2016-06-23 23:32:31 -04:00
Peter Colberg
aeaf9cefa7 Fix undefined reference to __fpgetprec on i386
Closes #137

This reverts commit ebcd40f1b0.

The tests were failing to load the library on i386 due to an undefined
reference to __fpgetprec, which resulted from __fpgetprec not being inlined
due to the missing definition of __GNUCLIKE_ASM and __CC_SUPPORTS___INLINE__.
2016-06-23 23:32:31 -04:00
Peter Colberg
29bf900ede Test Linux i686
This build fails due to #137, which is resolved by the next commit.
2016-06-23 23:32:31 -04:00
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
Peter Colberg
50c52d2b0f Use Travis build matrix to test different platforms
Create a clean, minimal, cross-platform Travis script with a build
matrix for testing different operating systems and architectures.
2016-06-23 23:32:31 -04:00
Elliot Saba
e2fc5dd2f8 Bump VERSION 2016-05-18 11:13:34 -07:00
Viral B. Shah
07f61f312b Merge pull request #135 from JuliaLang/sf/versioning
Version libopenlibm properly
2016-05-17 11:24:01 -05:00
Viral B. Shah
045dfd81d0 Merge pull request #134 from EdSchouten/build-fixes
Update remaining references to bsd_cdefs.h to cdefs-compat.h.
2016-05-17 11:23:48 -05:00
Elliot Saba
4d0bc52385 Version libopenlibm properly 2016-05-16 23:42:16 -07:00
Ed Schouten
ebcd40f1b0 Update remaining references to bsd_cdefs.h to cdefs-compat.h.
It looks like we didn't substitute the name of the bsd_cdefs.h header
file in two source files when renaming it.
2016-05-15 11:28:26 +02:00
Keno Fischer
5fd9dcbbdf Fix incorrect attribute as a result of blanket rename 2016-05-03 18:48:45 -04:00
Viral B. Shah
5501bf0576 Merge pull request #131 from ginggs/build-on-aarch64
WIP: Enable build on aarch64
2016-04-15 14:18:42 +05:30
Graham Inggs
019990ecb7 WIP: Enable build on aarch64 2016-04-08 19:37:13 +02:00
Viral B. Shah
960fdbf8bd Merge pull request #128 from JuliaLang/kf/clangwarnings
Fix Clang warnings on Windows
2016-03-14 16:02:56 +08:00
Keno Fischer
28fb939b0d Blanket rename DLLEXPORT->OLM_DLLEXPORT 2016-03-13 21:07:55 -04:00
Keno Fischer
459b557671 Also add DLLEXPORT in fenv.c 2016-03-13 22:52:18 +00:00
Keno Fischer
81053b7fcb Fix Clang warnings on Windows
- Align DLLEXPORT in definitions and declations. There is still a few
  cases left, where the declation in the compiler's complex.h disagrees
  with the implementation here. For now we can't do anything about that,
  but maybe should be revisited in the future.
- Fix the syntax on an .ascii directive that gcc accepted mistakingly, but
  clang does not.
2016-03-13 06:21:15 +00:00
Viral B. Shah
4fcad1584a Merge pull request #126 from JuliaLang/nl/includes2
More header fixes
2016-03-08 02:28:02 -08:00
Milan Bouchet-Valat
e836b30cc7 Avoid defining __pure2 if already defined
This gets rid of a warning on Mac OS X due to the fact that
sys/cdefs.h defines it already.
2016-03-08 10:34:20 +01:00
Milan Bouchet-Valat
0df58e7ae3 Use quotes instead of <> with #include for private headers 2016-03-03 17:28:06 +01:00
Milan Bouchet-Valat
226faf4e11 Avoid redefining __pure2 in types-compat 2016-03-03 17:05:12 +01:00
Viral B. Shah
f3d5009367 Fix #57 2016-03-03 14:53:33 +05:30
Viral B. Shah
385103602c Merge pull request #125 from JuliaLang/nl/includes
Fix various warnings
2016-03-03 01:16:02 -08:00
Milan Bouchet-Valat
2c3f3b5a99 Cleanup bsd_cdefs.h, merge i387 and amd64 duplicate files
Most macros were not actually used. This gets rid of warnings when
building on Linux.
2016-03-02 21:21:25 +01:00
Milan Bouchet-Valat
b5ca785d4c Avoid redefining endianness macros with some gcc versions
_LITTLE_ENDIAN and _BIG_ENDIAN are built-in on some platforms/versions.
Better use __ORDER_LITTLE_ENDIAN__, __ORDER_BIG_ENDIAN__ and __BYTE_ORDER__,
which are standard for gcc and clang, and define them when they are missing.
Also remove the special-case for FreeBSD, which is apprently not needed.
2016-03-02 21:21:25 +01:00
Milan Bouchet-Valat
949c530994 Fix misleading indentation (spotted by GCC 6) 2016-03-02 21:21:25 +01:00
Viral B. Shah
02e0bbc7c5 Revert "Add -fno-builtin to the tests as well."
This reverts commit f7a18b519d.
2016-03-02 23:34:32 +05:30
Viral B. Shah
f7a18b519d Add -fno-builtin to the tests as well. 2016-02-28 00:05:21 +05:30
Viral B. Shah
4a1b310f91 Add -fno-builtin for gcc too. 2016-02-28 00:02:49 +05:30
Viral B. Shah
1bba495716 Merge pull request #124 from NuxiNL/cloudabi-fixes
Upstream local modifications to openlibm.
2016-02-27 10:29:48 -08:00
Ed Schouten
62c7361aab Suppress a compiler warning generated by Clang.
Clang doesn't like it if you bitshift negative numbers, as the behaviour
of it is undefined. Solve this by first shifting, followed by negating.
This was fixed similarly in FreeBSD.
2016-02-27 19:23:08 +01:00
Ed Schouten
78c0afb2a7 Rename _scan_nan() to __scan_nan().
The current tradition of openlibm is to hide all of its internal symbols
into the reserved system namespace. CloudABI has a check in place to
ensure that its C library (which contains openlibm) to not place any
unwanted symbols into the public namespace. openlibm seems to leak
_scan_nan() in there, so we'd better add an additional underscore.
2016-02-27 17:26:15 +01:00
Viral B. Shah
4ef4170e64 Change some #ifdefs to be different than the system ones. 2016-02-27 19:52:44 +05:30
Viral B. Shah
31335a9de6 Merge pull request #123 from JuliaLang/tk/dllexport
Revert "Fix #35"
2016-02-27 03:16:53 -08:00
Tony Kelman
c3b18b1096 Revert "Fix #35"
This reverts commit 8b3b520675.
This was causing dllexport-related errors on win64
2016-02-27 02:32:03 -08:00
Viral B. Shah
0001d589a4 Acknowledge IBM sponsorship of powerpc port. 2016-02-27 12:54:11 +05:30
Viral B. Shah
780d8f63e3 Merge pull request #122 from JuliaLang/vs/i686
Fix fpgetprec and fpsetprec.
2016-02-26 21:59:02 -08:00
Viral B. Shah
2a0d3868ad Fix fpgetprec and fpsetprec. 2016-02-27 04:59:42 +00:00
Viral B. Shah
c7b7f6c764 Merge pull request #119 from JuliaLang/vs/i686
Use i386 ieeefp.h from msun
2016-02-26 20:41:46 -08:00
Viral B. Shah
9d7a76cca8 Merge pull request #121 from JuliaLang/sb/ppcarch
fix ARCH variable for powerpc, and rearrange fenv.h union for endianness
2016-02-26 18:46:17 -08:00
Simon Byrne
b87b1631cb ARCH ppc => powerpc 2016-02-26 16:46:17 +00:00