26 Commits

Author SHA1 Message Date
jeremyd2019
60dec83e33
msys2 ci (#243)
* add msys2 ci job

* run CI on any branch

* install base-devel on msys2

* remove soname and nodefaultlibs flags from mingw

* avoid soname on Windows

* add OLM_DLLEXPORT to signgam

it needs to be exported from the DLL also

* define IMPORT_EXPORTS on WINNT

While there are function export thunks in the import library that allow the linker to do the right thing for functions even if this is not set, it is required for the linker to do the right thing with variables being imported from a DLL (namely, signgam)

* add OLM_DLLEXPORT to openlibm_fenv_i387.h

seems this whole header was overlooked

* Update openlibm_fenv_i387.h

include openlibm_defs.h for OLM_DLLEXPORT
2021-09-09 18:49:37 -04:00
Iblis Lin
400407ea40 test: append $(CFLAGS_add), which includes fno-builtin 2017-10-15 14:29:59 +08:00
Alex Arslan
c3968ca11f Allow building on DragonFly BSD (#167) 2017-09-22 13:22:43 -07:00
Alex Arslan
b11e72b288 Set the RPATH for the test binaries on FreeBSD (#161) 2017-09-06 11:08:25 -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
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 f7a18b519dc6ba654fce73fdfb554d7781c18733.
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 87ce7ceddab2294d5e6f8d6c4c99837309757874
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