commit:     ade65a5307e693745065ae30af5eb4b90c4dbf06
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 21:15:19 2022 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 21:16:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade65a53

sci-chemistry/gromacs: Refuse to build with double + opencl enabled

Closes: https://bugs.gentoo.org/873166

Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2020.7.ebuild    | 1 +
 sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2021.5.ebuild    | 1 +
 sci-chemistry/gromacs/gromacs-2021.6.ebuild    | 1 +
 sci-chemistry/gromacs/gromacs-2021.9999.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2022.3.ebuild    | 1 +
 sci-chemistry/gromacs/gromacs-2022.4.ebuild    | 1 +
 sci-chemistry/gromacs/gromacs-2022.9999.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2023.9999.ebuild | 1 +
 sci-chemistry/gromacs/gromacs-2023_rc1.ebuild  | 1 +
 sci-chemistry/gromacs/gromacs-9999.ebuild      | 1 +
 15 files changed, 15 insertions(+)

diff --git a/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild 
b/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild
index 8933f1086eac..255810902b42 100644
--- a/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2018.8-r1.ebuild
@@ -48,6 +48,7 @@ RDEPEND="${CDEPEND}"
 REQUIRED_USE="
        || ( single-precision double-precision )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )"
 

diff --git a/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild 
b/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild
index 7999d7a192fd..bf9f493d1163 100644
--- a/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2019.6-r1.ebuild
@@ -50,6 +50,7 @@ RDEPEND="${CDEPEND}"
 REQUIRED_USE="
        || ( single-precision double-precision )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild 
b/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild
index 991c92890086..ea9f998593a4 100644
--- a/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2019.6-r2.ebuild
@@ -50,6 +50,7 @@ RDEPEND="${CDEPEND}"
 REQUIRED_USE="
        || ( single-precision double-precision )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild 
b/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild
index 78df12fce7b2..a1a975ee8107 100644
--- a/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2020.4-r1.ebuild
@@ -76,6 +76,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2020.7.ebuild 
b/sci-chemistry/gromacs/gromacs-2020.7.ebuild
index 30ae2a339b00..afbf991e279f 100644
--- a/sci-chemistry/gromacs/gromacs-2020.7.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2020.7.ebuild
@@ -76,6 +76,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild 
b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild
index af9a28c8f506..f55212f3bdc7 100644
--- a/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild
@@ -76,6 +76,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2021.5.ebuild 
b/sci-chemistry/gromacs/gromacs-2021.5.ebuild
index 81c13a98d102..0a8e8fdc1642 100644
--- a/sci-chemistry/gromacs/gromacs-2021.5.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2021.5.ebuild
@@ -76,6 +76,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2021.6.ebuild 
b/sci-chemistry/gromacs/gromacs-2021.6.ebuild
index 81c13a98d102..0a8e8fdc1642 100644
--- a/sci-chemistry/gromacs/gromacs-2021.6.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2021.6.ebuild
@@ -76,6 +76,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
index 359c6291595c..31f880174588 100644
--- a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
@@ -76,6 +76,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        mkl? ( !blas !fftw !lapack )
        ${PYTHON_REQUIRED_USE}"

diff --git a/sci-chemistry/gromacs/gromacs-2022.3.ebuild 
b/sci-chemistry/gromacs/gromacs-2022.3.ebuild
index 45c3e54bce9c..d0f55aca4bc1 100644
--- a/sci-chemistry/gromacs/gromacs-2022.3.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2022.3.ebuild
@@ -75,6 +75,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        clang-cuda? ( clang cuda )
        mkl? ( !blas !fftw !lapack )

diff --git a/sci-chemistry/gromacs/gromacs-2022.4.ebuild 
b/sci-chemistry/gromacs/gromacs-2022.4.ebuild
index 45c3e54bce9c..d0f55aca4bc1 100644
--- a/sci-chemistry/gromacs/gromacs-2022.4.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2022.4.ebuild
@@ -75,6 +75,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        clang-cuda? ( clang cuda )
        mkl? ( !blas !fftw !lapack )

diff --git a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
index 45c3e54bce9c..d0f55aca4bc1 100644
--- a/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2022.9999.ebuild
@@ -75,6 +75,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        clang-cuda? ( clang cuda )
        mkl? ( !blas !fftw !lapack )

diff --git a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
index b20d89c5266a..c69ff70b99d3 100644
--- a/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2023.9999.ebuild
@@ -74,6 +74,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        clang-cuda? ( clang cuda )
        mkl? ( !blas !fftw !lapack )

diff --git a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild 
b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
index b20d89c5266a..c69ff70b99d3 100644
--- a/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2023_rc1.ebuild
@@ -74,6 +74,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        clang-cuda? ( clang cuda )
        mkl? ( !blas !fftw !lapack )

diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild 
b/sci-chemistry/gromacs/gromacs-9999.ebuild
index b20d89c5266a..c69ff70b99d3 100644
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild
@@ -74,6 +74,7 @@ REQUIRED_USE="
        || ( single-precision double-precision )
        doc? ( !build-manual )
        cuda? ( single-precision )
+       opencl? ( single-precision )
        cuda? ( !opencl )
        clang-cuda? ( clang cuda )
        mkl? ( !blas !fftw !lapack )

Reply via email to