Module: Main

Extended by:
Main
Included in:
Main
Defined in:
ext/lapack/extconf.rb

Instance Method Summary collapse

Instance Method Details

#configObject



278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
# File 'ext/lapack/extconf.rb', line 278

def config
   unless have_header("f2c.h") and
         have_library("blas") and
         have_library("lapack")
      puts "A full LAPACK installation was not found."
      exit(-1)
   end

   $distcleanfiles = [
      "rb_lapack_s.c",
      "rb_lapack_d.c",
      "rb_lapack_c.c",
      "rb_lapack_z.c",
      "rb_lapack_x.c",
   ]
end

#createObject



295
296
297
# File 'ext/lapack/extconf.rb', line 295

def create
   create_makefile("lapack")
end

#genheader(*args) ⇒ Object



265
266
267
# File 'ext/lapack/extconf.rb', line 265

def genheader(*args)
   GenerateHeader.write(*args)
end

#pull(*args) ⇒ Object



269
270
271
# File 'ext/lapack/extconf.rb', line 269

def pull(*args)
   PullCode.pull(*args)
end

#write_cObject



273
274
275
276
# File 'ext/lapack/extconf.rb', line 273

def write_c
   db = FunctionDB.read
   Lapack_c.write(db)
end