Sha256: 0c3594f8517b8a621e50dc77e24d5b7bd481442baee12d6f212f4addab6b620c
Contents?: true
Size: 622 Bytes
Versions: 48
Compression:
Stored size: 622 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/rumale')
Version data entries
48 entries across 48 versions & 1 rubygems