commit: 8e60fd5146783f1e3949121a11ffaa4dbacfe277 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Oct 14 06:23:49 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Oct 14 06:23:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e60fd51
sci-chemistry/gromacs: fix configure with -custom-cflags Need to default to AUTO and let it be overridden as appropriate later. Bug: https://bugs.gentoo.org/818055 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-chemistry/gromacs/gromacs-2021.3.ebuild | 3 ++- sci-chemistry/gromacs/gromacs-2021.9999.ebuild | 3 ++- sci-chemistry/gromacs/gromacs-9999.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sci-chemistry/gromacs/gromacs-2021.3.ebuild b/sci-chemistry/gromacs/gromacs-2021.3.ebuild index e77091aa53d..2298195203d 100644 --- a/sci-chemistry/gromacs/gromacs-2021.3.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.3.ebuild @@ -161,10 +161,11 @@ src_prepare() { src_configure() { local mycmakeargs_pre=( ) extra fft_opts=( ) + local acce="AUTO" if use custom-cflags; then #go from slowest to fastest acceleration - local acce="None" + acce="None" if (use amd64 || use x86); then use cpu_flags_x86_sse2 && acce="SSE2" use cpu_flags_x86_sse4_1 && acce="SSE4.1" diff --git a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild index ebd3a798340..ee0586bbca7 100644 --- a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild @@ -161,10 +161,11 @@ src_prepare() { src_configure() { local mycmakeargs_pre=( ) extra fft_opts=( ) + local acce="AUTO" if use custom-cflags; then #go from slowest to fastest acceleration - local acce="None" + acce="None" if (use amd64 || use x86); then use cpu_flags_x86_sse2 && acce="SSE2" use cpu_flags_x86_sse4_1 && acce="SSE4.1" diff --git a/sci-chemistry/gromacs/gromacs-9999.ebuild b/sci-chemistry/gromacs/gromacs-9999.ebuild index ebd3a798340..ee0586bbca7 100644 --- a/sci-chemistry/gromacs/gromacs-9999.ebuild +++ b/sci-chemistry/gromacs/gromacs-9999.ebuild @@ -161,10 +161,11 @@ src_prepare() { src_configure() { local mycmakeargs_pre=( ) extra fft_opts=( ) + local acce="AUTO" if use custom-cflags; then #go from slowest to fastest acceleration - local acce="None" + acce="None" if (use amd64 || use x86); then use cpu_flags_x86_sse2 && acce="SSE2" use cpu_flags_x86_sse4_1 && acce="SSE4.1"