Thank Dan Povey's patch. https://github.com/xianyi/OpenBLAS/issues/187
endif
cblas_noconst.h : cblas.h
endif
cblas_noconst.h : cblas.h
- sed -e "s/\bconst\b\s*//g" cblas.h > cblas_noconst.h
+ perl -ane ' s/\bconst\b\s*//g; print; ' < cblas.h > cblas_noconst.h
#ifdef USE64BITINT
printf("#define USE64BITINT\n");
#endif
#ifdef USE64BITINT
printf("#define USE64BITINT\n");
#endif
- printf("#define GEMM_MULTITHREAD_THRESHOLD\t%ld\n", GEMM_MULTITHREAD_THRESHOLD);
+ printf("#define GEMM_MULTITHREAD_THRESHOLD\t%ld\n", (long int)GEMM_MULTITHREAD_THRESHOLD);