Permalink
Browse files

test/perf/micro: remove dependency on Rmath (cut-n-paste edition)

[ci skip]
  • Loading branch information...
1 parent 65636ab commit 155cde054e995916e78eb08374808ff1a85f7a7c @StefanKarpinski StefanKarpinski committed Jul 11, 2016
Showing with 827 additions and 1 deletion.
  1. +0 −1 test/perf/micro/Makefile
  2. +1 −0 test/perf/micro/perf.c
  3. +826 −0 test/perf/micro/randmtzig.c
@@ -50,7 +50,6 @@ export OPENBLAS_NUM_THREADS=1
perf.h: $(JULIAHOME)/deps/Versions.make
echo '#include "$(BLASDIR)cblas.h"' > $@
echo '#include "$(DSFMTDIR)/dSFMT.c"' >> $@
- echo '#include "$(RMATHDIR)/src/randmtzig.c"' >> $@
bin/perf%: perf.c perf.h
$(CC) -std=c99 -O$* $< -o $@ -I$(DSFMTDIR) $(LIBBLAS) -L$(LIBMDIR) $(LIBM) $(CFLAGS) -lpthread
@@ -5,6 +5,7 @@
// include header file generated by make:
#define DSFMT_MEXP 19937
#include "perf.h"
+#include "randmtzig.c"
double *myrand(int n) {
double *d = (double *)malloc(n*sizeof(double));
Oops, something went wrong.

0 comments on commit 155cde0

Please sign in to comment.