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 ec86afa commit 76d8a5bCopy full SHA for 76d8a5b
arrayfire/library.py
@@ -551,7 +551,10 @@ class _clibrary(object):
551
def __libname(self, name, head='af', ver_major=AF_VER_MAJOR):
552
post = self.__post.replace(_VER_MAJOR_PLACEHOLDER, ver_major)
553
libname = self.__pre + head + name + post
554
- libname_full = self.AF_PATH + '/lib/' + libname
+ if os.path.isdir(self.AF_PATH + '/lib64'):
555
+ libname_full = self.AF_PATH + '/lib64/' + libname
556
+ else:
557
+ libname_full = self.AF_PATH + '/lib/' + libname
558
return (libname, libname_full)
559
560
def set_unsafe(self, name):
0 commit comments