[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend



[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend



[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend



[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend



[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend



[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend



[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend



[gentoo-commits] repo/proj/guru:dev commit in: profiles/desc/, dev-cpp/vexcl/

2022-05-27 Thread Alessandro Barbieri
commit: a434bd558f408b2b3b7c5a0345a82dd884e433fd
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Thu May 26 22:58:24 2022 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Fri May 27 11:28:07 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a434bd55

dev-cpp/vexcl: move backend use expand to profiles/desc

Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-cpp/vexcl/metadata.xml  |  4 
 dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild | 20 ++--
 profiles/desc/backend.desc  |  9 +
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/dev-cpp/vexcl/metadata.xml b/dev-cpp/vexcl/metadata.xml
index 7f8e3b02b..ef42cd3ea 100644
--- a/dev-cpp/vexcl/metadata.xml
+++ b/dev-cpp/vexcl/metadata.xml
@@ -17,9 +17,5 @@

Implement workaround for AMD SI GPUs

-   Use Boost.Compute algorithms
-   
-   Use the JIT backend
-   Use OpenCL as backend

 

diff --git a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild 
b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
index 3a30be60e..4d03273cb 100644
--- a/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
+++ b/dev-cpp/vexcl/vexcl-1.4.3-r1.ebuild
@@ -21,18 +21,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 IUSE_BACKEND="
-   backend-compute
-   backend-jit
-   +backend-opencl
+   backend_compute
+   backend_jit
+   +backend_opencl
 "
-#  backend-cuda
+#  backend_cuda
 IUSE="${IUSE_BACKEND} amdsi examples test" #clogs
 
 RDEPEND="
dev-libs/boost:=
dev-libs/clhpp
-   backend-jit? ( virtual/opencl )
-   backend-opencl? ( virtual/opencl )
+   backend_jit? ( virtual/opencl )
+   backend_opencl? ( virtual/opencl )
 "
 DEPEND="${RDEPEND}"
 
@@ -47,10 +47,10 @@ src_prepare() {
 src_configure() {
local backend
 #  use  && backend="All"
-   use backend-compute && backend="Compute"
-#  use backend-cuda && backend="CUDA"
-   use backend-jit && backend="JIT"
-   use backend-opencl && backend="OpenCL"
+   use backend_compute && backend="Compute"
+#  use backend_cuda && backend="CUDA"
+   use backend_jit && backend="JIT"
+   use backend_opencl && backend="OpenCL"
 
local mycmakeargs=(
-DBoost_USE_STATIC_LIBS=OFF

diff --git a/profiles/desc/backend.desc b/profiles/desc/backend.desc
new file mode 100644
index 0..8a708023b
--- /dev/null
+++ b/profiles/desc/backend.desc
@@ -0,0 +1,9 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# This file contains descriptions of BACKEND USE_EXPAND flags.
+
+compute - Use Boost.Compute algorithms
+cuda - Use CUDA as backend
+jit - Use the JIT backend
+opencl - Use OpenCL as backend