Makefile 612 Bytes
OBNAME=OpenBLAS-0.2.15
LIBSUFFIX=lxsd

forme:
		( rm -rf $(OBNAME) && tar xzf $(OBNAME).tar.gz )
		( cd $(OBNAME) && make USE_THREAD=1 USE_OPENMP=1 LIBNAMESUFFIX=$(LIBSUFFIX) )

formeserial:
		( rm -rf $(OBNAME) && tar xzf $(OBNAME).tar.gz )
		( cd $(OBNAME) && make USE_THREAD=0 USE_OPENMP=0 LIBNAMESUFFIX=$(LIBSUFFIX) )
		
forall:
		( rm -rf $(OBNAME) && tar xzf $(OBNAME).tar.gz )
		( cd $(OBNAME) && make DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 LIBNAMESUFFIX=$(LIBSUFFIX) NUM_THREADS=64 )

clean:
		( rm -rf $(OBNAME) )

install:
		( cd $(OBNAME) && make PREFIX=$(BTREE) LIBNAMESUFFIX=$(LIBSUFFIX) install)