Sha256: 475ad0debebbb07097e88f2fe61d9fd9cef6b95afe0293b5771ee33ec416c3d3
Contents?: true
Size: 755 Bytes
Versions: 2
Compression:
Stored size: 755 Bytes
Contents
require 'mkmf' require_relative '../mkmf_linalg' srcs = %w( blas blas_s blas_d blas_c blas_z ) $objs = srcs.collect{|i| i+".o"} dir_config("narray") find_narray_h if !have_header("numo/narray.h") puts " Header numo/narray.h was not found. Give pathname as follows: % ruby extconf.rb --with-narray-include=narray_h_dir" exit(1) end if RUBY_PLATFORM =~ /mswin|cygwin|mingw/ find_libnarray_a unless have_library("narray","nary_new") puts "libnarray.a not found" exit(1) end end if have_header("dlfcn.h") exit(1) unless have_library("dl") exit(1) unless have_func("dlopen") elsif have_header("windows.h") exit(1) unless have_func("LoadLibrary") end create_site_conf create_depend(__dir__) create_makefile('numo/linalg/blas')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
numo-linalg-0.1.7 | ext/numo/linalg/blas/extconf.rb |
numo-linalg-0.1.6 | ext/numo/linalg/blas/extconf.rb |