Commit graph

22 commits

Author SHA1 Message Date
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
Elliot Saba
9c45e36809 Use __clang__ as identifying mark of clang insted of USECLANG 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
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
Peter Colberg
ebed203c04 Remove superfluous compiler flags for tests
-O2 is the default, and -g should be set in CFLAGS if needed.
2015-11-13 13:19:51 -05:00
Viral B. Shah
4c8740ad58 Import these fixes from upstream.
0563b7a42b/lib/msun/src/e_j0f.c

Fix test build on OS X.
2015-11-13 09:16:51 +05:30
Peter Colberg
bab41fc510 Test shared library
Add make check target that builds and runs the tests.
2015-11-12 14:56:08 -05: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
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
d64cc364e0 Add make bench for building the benchmarks 2014-12-04 21:27:19 +05:30
Erik Schnetter
f5b2148a22 Use CFLAGS to build self-tests 2014-09-22 23:26:22 -04:00
Viral B. Shah
1ac594e475 Quiet the clang build.
Rename cleanall target to distclean.
2012-10-27 10:17:38 +05:30
Viral B. Shah
abc6c5e76f Revert to commit 87ce7cedda
and disable the building of test-double-system and test-float-system
by default
2012-08-19 17:03:16 +05:30
Viral B. Shah
9355874e4c Make tests build on mac.
Disable test-float-system for now.
2012-08-19 16:43:40 +05:30
Keno Fischer
87ce7cedda Fix build on amd64 linux 2012-08-19 04:15:47 -04:00
Viral B. Shah
5656ce4296 Use the c99 standard rather than gnu99. 2012-07-02 20:25:10 +05:30
Viral B. Shah
954416926f Update clean target 2012-07-02 08:09:50 +05:30
Viral B. Shah
6bb87679fb Compile tests in debug mode. 2012-07-02 08:09:04 +05:30
Viral B. Shah
419c14934d Update deps 2012-07-02 08:02:24 +05:30
Viral B. Shah
440055a3b6 Make tests build. 2012-07-02 07:49:00 +05:30