lib/xgboost.rb in xgb-0.7.0 vs lib/xgboost.rb in xgb-0.7.1
- old
+ new
@@ -19,13 +19,13 @@
class << self
attr_accessor :ffi_lib
end
lib_path =
if Gem.win_platform?
- "x86_64-windows/xgboost.dll"
+ "x64-mingw/xgboost.dll"
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
- "aarch64-darwin/libxgboost.dylib"
+ "arm64-darwin/libxgboost.dylib"
else
"x86_64-darwin/libxgboost.dylib"
end
else
if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i