Skip to content

Commit d73faad

Browse files
committed
add tests for ARM Linux
1 parent 833a2bd commit d73faad

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/ci.yml

+24
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,18 @@ jobs:
477477
- name: linux_312_python
478478
python_ver: "3.12"
479479
image: ubuntu-latest
480+
- name: linuxarm_39_python
481+
python_ver: "3.9"
482+
image: ubuntu-22.04-arm
483+
- name: linuxarm_310_python
484+
python_ver: "3.10"
485+
image: ubuntu-22.04-arm
486+
- name: linuxarm_311_python
487+
python_ver: "3.11"
488+
image: ubuntu-22.04-arm
489+
- name: linuxarm_312_python
490+
python_ver: "3.12"
491+
image: ubuntu-22.04-arm
480492
- name: mac_39_python
481493
python_ver: "3.9"
482494
image: macos-latest
@@ -566,6 +578,18 @@ jobs:
566578
- name: linux_312_python
567579
python_ver: "3.12"
568580
image: ubuntu-latest
581+
- name: linuxarm_39_python
582+
python_ver: "3.9"
583+
image: ubuntu-24.04-arm
584+
- name: linuxarm_310_python
585+
python_ver: "3.10"
586+
image: ubuntu-24.04-arm
587+
- name: linuxarm_311_python
588+
python_ver: "3.11"
589+
image: ubuntu-24.04-arm
590+
- name: linuxarm_312_python
591+
python_ver: "3.12"
592+
image: ubuntu-24.04-arm
569593
- name: mac_39_python
570594
python_ver: "3.9"
571595
image: macos-latest

python/interpret-core/interpret/utils/_native.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ def _get_ebm_lib_path(debug=False):
929929
lib_file = None
930930
if plat == "Linux" and machine == "x86_64" and is_64_bit:
931931
lib_file = "libebm_linux_x64"
932-
elif plat == "Linux" and machine == "arm64":
932+
elif plat == "Linux" and machine == "aarch64":
933933
lib_file = "libebm_linux_arm"
934934
elif plat == "Windows" and machine == "AMD64" and is_64_bit:
935935
lib_file = "libebm_win_x64"
@@ -963,7 +963,7 @@ def _get_ebm_lib_path(debug=False):
963963
lib_file = None
964964
if plat == "Linux" and machine == "x86_64" and is_64_bit:
965965
lib_file = "libebm_linux_x64"
966-
elif plat == "Linux" and machine == "arm64":
966+
elif plat == "Linux" and machine == "aarch64":
967967
lib_file = "libebm_linux_arm"
968968
elif plat == "Windows" and machine == "AMD64" and is_64_bit:
969969
lib_file = "libebm_win_x64"

0 commit comments

Comments
 (0)