Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit76d8a5b

Browse files
syurkeviumar456
authored andcommitted
update arrayfire library directory on 64 bit systems
1 parentec86afa commit76d8a5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎arrayfire/library.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,10 @@ class _clibrary(object):
551551
def__libname(self,name,head='af',ver_major=AF_VER_MAJOR):
552552
post=self.__post.replace(_VER_MAJOR_PLACEHOLDER,ver_major)
553553
libname=self.__pre+head+name+post
554-
libname_full=self.AF_PATH+'/lib/'+libname
554+
ifos.path.isdir(self.AF_PATH+'/lib64'):
555+
libname_full=self.AF_PATH+'/lib64/'+libname
556+
else:
557+
libname_full=self.AF_PATH+'/lib/'+libname
555558
return (libname,libname_full)
556559

557560
defset_unsafe(self,name):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp