mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-24 01:09:38 +01:00
21 lines
826 B
Diff
21 lines
826 B
Diff
Index: cpyrit_opencl/setup.py
|
|
===================================================================
|
|
--- cpyrit_opencl/setup.py (revision 225)
|
|
+++ cpyrit_opencl/setup.py (working copy)
|
|
@@ -32,7 +32,7 @@
|
|
OPENCL_INC_DIRS = []
|
|
for path in ('/usr/local/opencl/OpenCL/common/inc', \
|
|
'/opt/opencl/OpenCL/common/inc', \
|
|
- '/usr/local/opencl/include'):
|
|
+ '/opt/ati-stream-sdk/include'):
|
|
if os.path.exists(path):
|
|
OPENCL_INC_DIRS.append(path)
|
|
break
|
|
@@ -91,6 +91,7 @@
|
|
libraries = ['ssl', 'OpenCL', 'z'],
|
|
sources = ['_cpyrit_opencl.c'],
|
|
include_dirs = OPENCL_INC_DIRS,
|
|
+ library_dirs = ['/opt/ati-stream-sdk/lib'],
|
|
extra_compile_args = EXTRA_COMPILE_ARGS)
|
|
|
|
setup_args = dict(
|