1 |
commit: 8e60fd5146783f1e3949121a11ffaa4dbacfe277 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 06:23:49 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 06:23:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e60fd51 |
7 |
|
8 |
sci-chemistry/gromacs: fix configure with -custom-cflags |
9 |
|
10 |
Need to default to AUTO and let it be overridden |
11 |
as appropriate later. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/818055 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
sci-chemistry/gromacs/gromacs-2021.3.ebuild | 3 ++- |
17 |
sci-chemistry/gromacs/gromacs-2021.9999.ebuild | 3 ++- |
18 |
sci-chemistry/gromacs/gromacs-9999.ebuild | 3 ++- |
19 |
3 files changed, 6 insertions(+), 3 deletions(-) |
20 |
|
21 |
diff --git a/sci-chemistry/gromacs/gromacs-2021.3.ebuild b/sci-chemistry/gromacs/gromacs-2021.3.ebuild |
22 |
index e77091aa53d..2298195203d 100644 |
23 |
--- a/sci-chemistry/gromacs/gromacs-2021.3.ebuild |
24 |
+++ b/sci-chemistry/gromacs/gromacs-2021.3.ebuild |
25 |
@@ -161,10 +161,11 @@ src_prepare() { |
26 |
|
27 |
src_configure() { |
28 |
local mycmakeargs_pre=( ) extra fft_opts=( ) |
29 |
+ local acce="AUTO" |
30 |
|
31 |
if use custom-cflags; then |
32 |
#go from slowest to fastest acceleration |
33 |
- local acce="None" |
34 |
+ acce="None" |
35 |
if (use amd64 || use x86); then |
36 |
use cpu_flags_x86_sse2 && acce="SSE2" |
37 |
use cpu_flags_x86_sse4_1 && acce="SSE4.1" |
38 |
|
39 |
diff --git a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild |
40 |
index ebd3a798340..ee0586bbca7 100644 |
41 |
--- a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild |
42 |
+++ b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild |
43 |
@@ -161,10 +161,11 @@ src_prepare() { |
44 |
|
45 |
src_configure() { |
46 |
local mycmakeargs_pre=( ) extra fft_opts=( ) |
47 |
+ local acce="AUTO" |
48 |
|
49 |
if use custom-cflags; then |
50 |
#go from slowest to fastest acceleration |
51 |
- local acce="None" |
52 |
+ acce="None" |
53 |
if (use amd64 || use x86); then |
54 |
use cpu_flags_x86_sse2 && acce="SSE2" |
55 |
use cpu_flags_x86_sse4_1 && acce="SSE4.1" |
56 |
|
57 |
diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild |
58 |
index ebd3a798340..ee0586bbca7 100644 |
59 |
--- a/sci-chemistry/gromacs/gromacs-9999.ebuild |
60 |
+++ b/sci-chemistry/gromacs/gromacs-9999.ebuild |
61 |
@@ -161,10 +161,11 @@ src_prepare() { |
62 |
|
63 |
src_configure() { |
64 |
local mycmakeargs_pre=( ) extra fft_opts=( ) |
65 |
+ local acce="AUTO" |
66 |
|
67 |
if use custom-cflags; then |
68 |
#go from slowest to fastest acceleration |
69 |
- local acce="None" |
70 |
+ acce="None" |
71 |
if (use amd64 || use x86); then |
72 |
use cpu_flags_x86_sse2 && acce="SSE2" |
73 |
use cpu_flags_x86_sse4_1 && acce="SSE4.1" |