Delete lapack/atlas combined package.
This commit is contained in:
		@@ -1,40 +0,0 @@
 | 
			
		||||
from spack import *
 | 
			
		||||
from spack.util.executable import Executable
 | 
			
		||||
import os
 | 
			
		||||
import urllib
 | 
			
		||||
 | 
			
		||||
class LapackAtlas(Package):
 | 
			
		||||
    """
 | 
			
		||||
    Automatically Tuned Linear Algebra Software, generic shared
 | 
			
		||||
    ATLAS is an approach for the automatic generation and optimization of
 | 
			
		||||
    numerical software. Currently ATLAS supplies optimized versions for the
 | 
			
		||||
    complete set of linear algebra kernels known as the Basic Linear Algebra
 | 
			
		||||
    Subroutines (BLAS), and a subset of the linear algebra routines in the
 | 
			
		||||
    LAPACK library.
 | 
			
		||||
    """
 | 
			
		||||
    homepage = "http://math-atlas.sourceforge.net/"
 | 
			
		||||
    url      = "http://downloads.sourceforge.net/project/math-atlas/Stable/3.10.2/atlas3.10.2.tar.bz2"
 | 
			
		||||
 | 
			
		||||
    version('3.10.2', 'a4e21f343dec8f22e7415e339f09f6da')
 | 
			
		||||
 | 
			
		||||
    # FIXME: Add dependencies if this package requires them.
 | 
			
		||||
    # depends_on("foo")
 | 
			
		||||
 | 
			
		||||
    def install(self, spec, prefix):
 | 
			
		||||
        #os.mkdir('ATLAS-Build')
 | 
			
		||||
        #os.chdir('ATLAS-Build')
 | 
			
		||||
        with working_dir('ATLAS-Build', create=True):
 | 
			
		||||
            self.module.configure = Executable('../configure')
 | 
			
		||||
            lapack_file = 'lapack-3.5.0.tgz'
 | 
			
		||||
            lapack = urllib.URLopener()
 | 
			
		||||
            lapack.retrieve('http://www.netlib.org/lapack/' + lapack_file, lapack_file)
 | 
			
		||||
 | 
			
		||||
            configure("--prefix=%s" % prefix,
 | 
			
		||||
                      "--shared",
 | 
			
		||||
                      '--with-netlib-lapack-tarfile=%s' % os.getcwd() + '/' + lapack_file)
 | 
			
		||||
 | 
			
		||||
            make()
 | 
			
		||||
            make('check')
 | 
			
		||||
            make('ptcheck')
 | 
			
		||||
            make('time')
 | 
			
		||||
            make("install")
 | 
			
		||||
		Reference in New Issue
	
	Block a user