Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add support for OpenCL in RPM
  • Loading branch information
daniviga committed Nov 8, 2018
1 parent 80de0eb commit d62d442
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rpm/qgis.spec.template
Expand Up @@ -71,6 +71,10 @@ BuildRequires: postgresql-devel
BuildRequires: sqlite-devel BuildRequires: sqlite-devel
BuildRequires: fcgi-devel BuildRequires: fcgi-devel


# OpenCL
BuildRequires: opencl-headers
BuildRequires: ocl-icd-devel

# Python stuff # Python stuff
BuildRequires: python3-future BuildRequires: python3-future
BuildRequires: python3-jinja2 BuildRequires: python3-jinja2
Expand Down Expand Up @@ -210,6 +214,7 @@ gzip ChangeLog
-D WITH_QSPATIALITE:BOOL=TRUE \ -D WITH_QSPATIALITE:BOOL=TRUE \
-D WITH_SERVER:BOOL=TRUE \ -D WITH_SERVER:BOOL=TRUE \
-D WITH_3D:BOOL=TRUE \ -D WITH_3D:BOOL=TRUE \
-D USE_OPENCL:BOOL=TRUE \
. .


make %{?_smp_mflags} make %{?_smp_mflags}
Expand Down

0 comments on commit d62d442

Please sign in to comment.