We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make bench
1 parent 1baf1d3 commit d64cc36Copy full SHA for d64cc36
1 file changed
test/Makefile
@@ -3,6 +3,8 @@ include ../Make.inc
3
4
all: test-double test-float # test-double-system test-float-system
5
6
+bench: bench-syslibm bench-openlibm
7
+
8
test-double: test-double.c libm-test.c
9
$(CC) $(CFLAGS) -g $@.c -D__BSD_VISIBLE -I ../include -I../src ../libopenlibm.a -o $@
10
@@ -14,3 +16,12 @@ test-double-system: test-double.c libm-test.c
14
16
15
17
test-float-system: test-float.c libm-test.c
18
$(CC) $(CFLAGS) -g $< -DSYS_MATH_H -lm -o $@
19
20
+bench-openlibm: libm-bench.cpp
21
+ $(CC) $(CFLAGS) -O2 $< ../libopenlibm.a -o $@
22
23
+bench-syslibm: libm-bench.cpp
24
+ $(CC) $(CFLAGS) -O2 $< -lm -o $@
25
26
+clean:
27
+ rm -fr test-double test-float test-double-system test-float-system bench-openlibm bench-syslibm *.dSYM
0 commit comments