# This package is a bit weird by virtue of the way it's designed. It optimises # itself based on the machine it's running on -- which means by default it'll # build highly non-portable binaries, *and* it has to be built on a machine # that's otherwise quiet, else it'll complain that it can't get consistent # benchmark results. GARNAME = atlas GARVERSION = 3.8.3 CATEGORIES = math MASTER_SITES = $(MASTER_SOURCEFORGE) MASTER_SUBDIR = math-atlas/ DISTNAME = $(GARNAME)$(GARVERSION) DISTFILES = $(DISTNAME).tar.bz2 WORKSRC = $(WORKDIR)/ATLAS WORKOBJ = $(WORKDIR)/obj DESCRIPTION = A high-performance linear algebra library (including BLAS) HOME_URL = http://math-atlas.sourceforge.net/ CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = $(WORKOBJ)/Makefile INSTALL_SCRIPTS = $(WORKOBJ)/Makefile rename # We must explicitly specify the architecture, because the autodetection looks # at the CPU ID rather than the mode it's actually running in, and tries to # build 64-bit binaries when you're running in 32-bit mode. # As of 3.8.3, arch 8 is PPRO. CONFIGURE_ARGS = \ --prefix=$(prefix) \ -A 8 \ -b 32 INSTALL_ARGS = \ DESTDIR=$(packageprefix) include ../../gar.mk install-rename: @mv $(packageprefix)/lib/liblapack.a $(packageprefix)/lib/liblapack-atlas.a $(MAKECOOKIE)