We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4ac6b commit 61daad1Copy full SHA for 61daad1
setup.py
@@ -66,8 +66,15 @@ def build_extension(self, ext):
66
elif Path(prefix, "Library", "include", "isa-l").exists():
67
ext.include_dirs = [os.path.join(prefix, "Library",
68
"include")]
69
+ ext.library_dirs = [os.path.join(prefix, "Library", "lib")]
70
break
- ext.libraries = ["isal"]
71
+ if SYSTEM_IS_UNIX:
72
+ ext.libraries = ["isal"] # libisal.so*
73
+ elif SYSTEM_IS_WINDOWS:
74
+ ext.libraries = ["isa-l"] # isa-l.dll
75
+ else:
76
+ raise NotImplementedError(
77
+ f"Unsupported platform: {sys.platform}")
78
else:
79
isa_l_prefix_dir = build_isa_l()
80
if SYSTEM_IS_UNIX:
0 commit comments