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 76d8a5b commit a1d5a1fCopy full SHA for a1d5a1f
arrayfire/library.py
@@ -517,7 +517,10 @@ def _setup():
517
post = '.' + _VER_MAJOR_PLACEHOLDER + '.dylib'
518
519
if AF_SEARCH_PATH is None:
520
- AF_SEARCH_PATH='/usr/local/'
+ if os.path.exists('/opt/arrayfire'):
521
+ AF_SEARCH_PATH = '/opt/arrayfire/'
522
+ else:
523
+ AF_SEARCH_PATH = '/usr/local/'
524
525
if CUDA_PATH is None:
526
CUDA_PATH='/usr/local/cuda/'
0 commit comments