Sha256: 0766f220f3234201109df3c121d604dcd7d8384dc32854e4278291c9bb3b43fc
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 Bytes
Contents
# frozen_string_literal: true require 'mkmf' require 'numo/narray' $LOAD_PATH.each do |lp| if File.exist?(File.join(lp, 'numo/numo/narray.h')) $INCFLAGS = "-I#{lp}/numo #{$INCFLAGS}" break end end unless have_header('numo/narray.h') puts 'numo/narray.h not found.' exit(1) end if RUBY_PLATFORM =~ /mswin|cygwin|mingw/ $LOAD_PATH.each do |lp| if File.exist?(File.join(lp, 'numo/libnarray.a')) $LDFLAGS = "-L#{lp}/numo #{$LDFLAGS}" break end end unless have_library('narray', 'nary_new') puts 'libnarray.a not found.' exit(1) end end create_makefile('rumale/rumaleext')
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rumale-0.23.2 | ext/rumale/extconf.rb |
rumale-0.23.1 | ext/rumale/extconf.rb |