Skip to content

Commit b8ea0c3

Browse files
StefanKarpinskimfasi
authored andcommitted
test/perf/micro: remove dependency on Rmath (cut-n-paste edition)
[ci skip]
1 parent 9eba105 commit b8ea0c3

File tree

3 files changed

+827
-1
lines changed

3 files changed

+827
-1
lines changed

Diff for: test/perf/micro/Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export OPENBLAS_NUM_THREADS=1
5050
perf.h: $(JULIAHOME)/deps/Versions.make
5151
echo '#include "$(BLASDIR)cblas.h"' > $@
5252
echo '#include "$(DSFMTDIR)/dSFMT.c"' >> $@
53-
echo '#include "$(RMATHDIR)/src/randmtzig.c"' >> $@
5453

5554
bin/perf%: perf.c perf.h
5655
$(CC) -std=c99 -O$* $< -o $@ -I$(DSFMTDIR) $(LIBBLAS) -L$(LIBMDIR) $(LIBM) $(CFLAGS) -lpthread

Diff for: test/perf/micro/perf.c

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// include header file generated by make:
66
#define DSFMT_MEXP 19937
77
#include "perf.h"
8+
#include "randmtzig.c"
89

910
double *myrand(int n) {
1011
double *d = (double *)malloc(n*sizeof(double));

0 commit comments

Comments
 (0)