Sha256: 4b298295ff76d2a9a85486c42cd270e85422280a3246ec588e868cec048d0c7e

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

require "mkmf"

CONFIG['CC'] = "mpicc"
gem_path = nil
begin
  require "rubygems"
  if (spec = Gem.source_index.find_name("narray")).any?
    gem_path = spec.last.full_gem_path
  end
rescue LoadError
  dir_config("narray", Config::CONFIG["sitearchdir"])
end
find_header("narray.h", gem_path)

create_makefile("mpi")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-mpi-0.2.0 ext/mpi/extconf.rb
ruby-mpi-0.1.0 ext/mpi/extconf.rb