Skip to content

Commit d62d442

Browse files
committedNov 8, 2018
Add support for OpenCL in RPM
1 parent 80de0eb commit d62d442

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎rpm/qgis.spec.template

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ BuildRequires: postgresql-devel
7171
BuildRequires: sqlite-devel
7272
BuildRequires: fcgi-devel
7373

74+
# OpenCL
75+
BuildRequires: opencl-headers
76+
BuildRequires: ocl-icd-devel
77+
7478
# Python stuff
7579
BuildRequires: python3-future
7680
BuildRequires: python3-jinja2
@@ -210,6 +214,7 @@ gzip ChangeLog
210214
-D WITH_QSPATIALITE:BOOL=TRUE \
211215
-D WITH_SERVER:BOOL=TRUE \
212216
-D WITH_3D:BOOL=TRUE \
217+
-D USE_OPENCL:BOOL=TRUE \
213218
.
214219

215220
make %{?_smp_mflags}

0 commit comments

Comments
 (0)
Please sign in to comment.