Skip to content

Commit

Permalink
Check Oracle client supported platform on aarch64-linux
Browse files Browse the repository at this point in the history
  • Loading branch information
kubo committed Jan 2, 2024
1 parent 29290ee commit c91ba8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext/oci8/oraconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ def read_elf(f)
@cpu = :ia64
when 62
@cpu = :x86_64
when 183
@cpu = :aarch64
else
raise "Invalid ELF archtype: #{archtype}"
end
Expand Down Expand Up @@ -379,6 +381,8 @@ def self.guess_ic_dir
@@ld_envs = %w[PATH]
so_ext = 'dll'
check_proc = make_proc_to_check_cpu(is_32bit ? :i386 : :x86_64)
when /aarch64-linux/
check_proc = make_proc_to_check_cpu(:aarch64)
when /i.86-linux/
check_proc = make_proc_to_check_cpu(:i386)
when /ia64-linux/
Expand Down

0 comments on commit c91ba8c

Please sign in to comment.